mirror of
https://github.com/usememos/memos.git
synced 2025-01-23 13:40:21 +08:00
aa40793a68
* feat: add resource api * update delete model return variables
10 lines
149 B
Go
10 lines
149 B
Go
package e
|
|
|
|
var Codes = map[string]int{
|
|
"NOT_AUTH": 20001,
|
|
|
|
"REQUEST_BODY_ERROR": 40001,
|
|
"UPLOAD_FILE_ERROR": 40002,
|
|
|
|
"DATABASE_ERROR": 50001,
|
|
}
|