mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
update restful api
This commit is contained in:
9
api/e/codes.go
Normal file
9
api/e/codes.go
Normal file
@ -0,0 +1,9 @@
|
||||
package e
|
||||
|
||||
var Codes = map[string]int{
|
||||
"NOT_AUTH": 20001,
|
||||
|
||||
"REQUEST_BODY_ERROR": 40001,
|
||||
|
||||
"DATABASE_ERROR": 50001,
|
||||
}
|
Reference in New Issue
Block a user