You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
551 B
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package nerr
// 成功返回
const OK uint32 = 200
/** 前3位标识业务后3位标识具体功能 **/
// 全局错误
const (
ServerCommonError uint32 = 100001
RequestParamError uint32 = 100002
TokenExpireError uint32 = 100003
TokenGenerateError uint32 = 100004
DBError uint32 = 100005
DBUpdateAffectedZeroError uint32 = 100006
CopyError uint32 = 100007
)
// 用户积分相关 UserIntegral
const (
UserIntegralNotEnoughError uint32 = 200100 // 用户积分不足
)