Merge pull request 'by Robin at 20240422' (#310) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/310
This commit is contained in:
commit
0178df0ff0
|
@ -189,11 +189,14 @@ var ErrCodeMsgMap = map[ErrCode]string{
|
|||
ErrCodeZoneSessionSrvFail: "空间对话表服务错误",
|
||||
ErrCodeZoneSessionNotExist: "空间对话表不存在",
|
||||
|
||||
ErrCodeZoneThirdPartnerSrvFail: "空间代运营表服务错误",
|
||||
ErrCodeZoneThirdPartnerNotExist: "空间代运营表不存在",
|
||||
ErrCodeZoneThirdPartnerSrvFail: "空间代运营表服务错误",
|
||||
ErrCodeZoneThirdPartnerNotExist: "空间代运营表不存在",
|
||||
ErrCodeZoneThirdPartnerWrongThirdPartner: "空间代运营不能设置成自己",
|
||||
|
||||
ErrCodeZoneCollaboratorSrvFail: "空间协作者表服务错误",
|
||||
ErrCodeZoneCollaboratorNotExist: "空间协作者表不存在",
|
||||
ErrCodeZoneCollaboratorSrvFail: "空间协作者表服务错误",
|
||||
ErrCodeZoneCollaboratorNotExist: "空间协作者表不存在",
|
||||
ErrCodeZoneCollaboratorCreateIsZTPOnlyOperation: "空间协作者表创建操作只有空间代运营可操作",
|
||||
ErrCodeZoneCollaboratorWrongCollaborator: "空间协作者不能设置成自己或者主播",
|
||||
|
||||
ErrCodeZoneMomentCreateTimesSrvFail: "空间动态创建频次表服务错误",
|
||||
ErrCodeZoneMomentCreateTimesNotExist: "空间动态创建频次表不存在",
|
||||
|
@ -201,21 +204,22 @@ var ErrCodeMsgMap = map[ErrCode]string{
|
|||
}
|
||||
|
||||
const (
|
||||
ErrCodeOk ErrCode = 1
|
||||
ErrCodeEncryptionInterceptFail ErrCode = -2 // 加密失败
|
||||
ErrCodeDecryptionInterceptFail ErrCode = -3 // 解密失败
|
||||
ErrCodeSuspend ErrCode = -4 // 软件关停中
|
||||
ErrCodeCheckSignatureFail ErrCode = -10 // 签名检查失败
|
||||
ErrCodeApolloReadFail ErrCode = -11 // Apollo配置读取失败
|
||||
ErrCodeAssertionFail ErrCode = -12 // 类型断言异常
|
||||
ErrCodeApolloVersionFormatError ErrCode = -13 // Apollo版本号配置格式错误
|
||||
ErrCodeUserVersionFormatError ErrCode = -14 // 用户上送版本号格式错误
|
||||
ErrCodeSelfOnlyOperation ErrCode = -20 // 权限不足:该操作仅可对当前登录用户执行
|
||||
ErrCodeRolePrivilegesNotEnough ErrCode = -21 // 权限不足: 当前用户角色禁止执行该操作
|
||||
ErrCodeOpRoleOnlyOperation ErrCode = -22 // 权限不足: 后台系统仅允许超级管理员和运营操作
|
||||
ErrCodeBadParam ErrCode = -30 // 参数错误
|
||||
ErrCodeFunctionBlocked ErrCode = -40 // 功能封禁中
|
||||
ErrCodeFunctionBlockedPermanently ErrCode = -41 // 功能永久封禁
|
||||
ErrCodeOk ErrCode = 1
|
||||
ErrCodeEncryptionInterceptFail ErrCode = -2 // 加密失败
|
||||
ErrCodeDecryptionInterceptFail ErrCode = -3 // 解密失败
|
||||
ErrCodeSuspend ErrCode = -4 // 软件关停中
|
||||
ErrCodeCheckSignatureFail ErrCode = -10 // 签名检查失败
|
||||
ErrCodeApolloReadFail ErrCode = -11 // Apollo配置读取失败
|
||||
ErrCodeAssertionFail ErrCode = -12 // 类型断言异常
|
||||
ErrCodeApolloVersionFormatError ErrCode = -13 // Apollo版本号配置格式错误
|
||||
ErrCodeUserVersionFormatError ErrCode = -14 // 用户上送版本号格式错误
|
||||
ErrCodeSelfOnlyOperation ErrCode = -20 // 权限不足:该操作仅可对当前登录用户执行
|
||||
ErrCodeRolePrivilegesNotEnough ErrCode = -21 // 权限不足: 当前用户角色禁止执行该操作
|
||||
ErrCodeOpRoleOnlyOperation ErrCode = -22 // 权限不足: 后台系统仅允许超级管理员和运营操作
|
||||
ErrCodeOperationToSelfIsNotPermitted ErrCode = -23 // 权限不足:该操作不可对自己执行
|
||||
ErrCodeBadParam ErrCode = -30 // 参数错误
|
||||
ErrCodeFunctionBlocked ErrCode = -40 // 功能封禁中
|
||||
ErrCodeFunctionBlockedPermanently ErrCode = -41 // 功能永久封禁
|
||||
|
||||
// Product: 1xxx
|
||||
ErrCodeProductSrvOk ErrCode = ErrCodeOk
|
||||
|
@ -460,14 +464,17 @@ const (
|
|||
ErrCodeZoneSessionNotExist ErrCode = -36002 // 空间对话表不存在
|
||||
|
||||
// ZoneThirdPartner: 37xxx
|
||||
ErrCodeZoneThirdPartnerSrvOk ErrCode = ErrCodeOk
|
||||
ErrCodeZoneThirdPartnerSrvFail ErrCode = -37001 // 空间代运营表服务错误
|
||||
ErrCodeZoneThirdPartnerNotExist ErrCode = -37002 // 空间代运营表不存在
|
||||
ErrCodeZoneThirdPartnerSrvOk ErrCode = ErrCodeOk
|
||||
ErrCodeZoneThirdPartnerSrvFail ErrCode = -37001 // 空间代运营表服务错误
|
||||
ErrCodeZoneThirdPartnerNotExist ErrCode = -37002 // 空间代运营表不存在
|
||||
ErrCodeZoneThirdPartnerWrongThirdPartner ErrCode = -37003 // 空间代运营不能设置成自己
|
||||
|
||||
// ZoneCollaborator: 38xxx
|
||||
ErrCodeZoneCollaboratorSrvOk ErrCode = ErrCodeOk
|
||||
ErrCodeZoneCollaboratorSrvFail ErrCode = -38001 // 空间协作者表服务错误
|
||||
ErrCodeZoneCollaboratorNotExist ErrCode = -38002 // 空间协作者表不存在
|
||||
ErrCodeZoneCollaboratorSrvOk ErrCode = ErrCodeOk
|
||||
ErrCodeZoneCollaboratorSrvFail ErrCode = -38001 // 空间协作者表服务错误
|
||||
ErrCodeZoneCollaboratorNotExist ErrCode = -38002 // 空间协作者表不存在
|
||||
ErrCodeZoneCollaboratorCreateIsZTPOnlyOperation ErrCode = -38003 // 空间协作者表创建操作只有空间代运营可操作
|
||||
ErrCodeZoneCollaboratorWrongCollaborator ErrCode = -38004 // 空间协作者不能设置成自己或者主播
|
||||
|
||||
// MomentCreateTimes: 39xxx
|
||||
ErrCodeZoneMomentCreateTimesSrvOk ErrCode = ErrCodeOk
|
||||
|
|
Loading…
Reference in New Issue