memos/api/e/codes.go
STEVEN aa40793a68
Add resources api (#9)
* feat: add resource api

* update delete model return variables
2021-12-14 20:08:12 +08:00

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,
}