Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = 200 ERROR = 500 PARAMERROR = 501 //code = 1000... 用户模块错误 ERROR_USERNAME_USED = 1001 ERROR_PASSWORD_WRONG = 1002 ERROR_USER_NOT_EXIST = 1003 ERROR_TOKEN_NOT_EXIST = 1004 ERROR_TOKEN_RUNTIME_OUT = 1005 ERROR_TOKEN_WRONG = 1006 ERROR_TOKEN_FORMAT_WRONG = 1007 ERROR_USER_NO_RIGHT = 1008 //code = 2000... 文章模块错误 ERROR_ART_NOT_EXIST = 2001 //code = 3000... 分类模块错误 ERROR_CATEGORY_USED = 3001 ERROR_CATEGORY_NOT_EXIST = 3002 )
Variables ¶
This section is empty.
Functions ¶
func SendBinJsonError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.