package stderr const AiGenningDelForbiddenMessage = "不可删除未完成的ai订单" var codeAndMsg = map[Code]string{ Success: "success", Failure: "Failed", FunctionNotEnabled: "功能未开启,敬请期待!", FunctionUpgrade: "功能维护升级中,敬请期待最新版本!", ErrUnrecognized: "unknown error", UserIsNotExists: "user is not exist", UserIsException: "user is exception", SignFailedToVerify: "sign verify failed", ErrDownloadError: "file download fail", ErrUploadError: "file upload fail", UpLoadingFile: "uploading file", ErrFsBucketNotExist: "fs bucket not exist", ErrFsOptionWrong: "fs option wrong", UpLoadFileComplete: "upload file complete", ErrExportFileFail: "export file fail", FileMerging: "file is merging", FileConverting: "file is converting", UploadLoadingToFs: "file is uploading fs", ErrConnectToFs: "connect to fs server is fail", ErrFsServerFile: "fs server error", ErrMergeFile: "file merge error", ErrConvertFile: "file convert error", ErrPlayTimeTooShort: "video play time is too short", ErrUploadExistVideo: "upload exist video", CodeEmptyData: "empty data", ErrMimeType: "mime type error", ErrAccessForbid: "no access", ErrNamePwdIncorrect: "userName or password error", ErrUserNameTooLong: "user name too long, length must be less than or equal to 12 characters length", ErrAuthExpired: "certificate expired", ErrAuthInvalid: "invalid signature", ErrLoginExpired: "login expired", ErrUserBeBanned: "User has been banned", ErrVersionUpdate: "new app version need update", ErrVersionRange: "set version update range error", ErrVersionTooLow: "specify upgrade version is too low", ErrParamError: "parameters error", ErrReqForbidden: "request rejected", ErrPathNotFount: "request path does not exist", ErrMethodIncorrect: "request method error", ErrTimeout: "service timeout", ErrLoginTooFrequently: "login too frequently", ErrSmsSendFail: "send sms code fail", ErrNetWorkBusy: "network bad", ErrInvalidRequest: "invalid request", ErrServerUnavailable: "service is not available", ErrDbQueryError: "database query error", ErrDbInsertError: "database insert error", ErrDbUpdateError: "database update error", ErrDbDeleteError: "database delete error", ErrDbInputExist: "current input has already exists", ErrDeviceIdAndMobileNil: "devId and mobile nil", ErrNoToken: "no token", InvalidToken: "invalid token", ErrCaptcha: "captcha err", ErrCaptchaInvalid: "invalid", ErrWithDrawAccountHasBind: "current withDraw account has bind", PayBusy: "business too busy now,please try again later", ErrCaptchaExists: "captcha code exist", InsufficientBalance: "Insufficient balance", RechargeFaile: "Other toPay error", InvalidBankCard: "Invalid BankCard", ErrMobileHasBind: "you have already bind this phone number", ErrMobileInvalid: "invalid phone number", ErrTokenIsNotExist: "token is not exist", UnkonwErr: "Unkonw Err 订单异常,请与第三方核对该订单信息", RepeatSubmitOrder: "订单在处理中,请勿重复提交", CanNotTransfer: "划转功能已关闭,请在游戏钱包充值", DifferentBankActName: "The name of the new card must be the same as your previous cash card name (Zhang San). Please fill in the bank card with the same name before cashing out. If you need to change your name, please contact customer service.", ErrLoginMobileNotExist: "current phone is not bind", InvalidProduct: "invalid product", RepeatPurchase: "repeat purchase", AdminIsNotExist: "admin is not exist, the account or password is incorrect.", ErrEmailHasBinded: "邮箱已被绑定,请直接登录", ErrEmailBindedByOther: "该邮箱已被其他用户使用,请换一个", ErrAccountHasBinded: "账号已被绑定,请直接登录", ErrAccountBindedByOther: "改账号已被其他用户使用,请换一个", ErrAccountHasIllegalContent: "您的账号有非法内容,请换一个", ErrInvalidAccount: "系统不存在此账号,请确认输入的账号已经注册", ErrInterServerError: "系统内部错误,请联系客服", ErrInvalidEmail: "邮箱格式有误,请重试", ErrDbTooMuchRecords: "查询数据量太大,请缩小查询范围", AdvanceOrderStatusIsErr: "预售订单异常", AdvanceOrderPayTimeIsErr: "预售订单支付时间异常", BuyFailed: "but failed,please try again later", AdminIsExisted: "the account is existed", AuthInUsing: "auth in using", AuthIsNotExist: "auth is not exist", GoogleAuthFail: "google 2 factor faild", CommentErrSendFail: "Comment publish failed", CommentErrGetDataFail: "Get data failed", CommentErrIncCountFailed: "Increase comment count failed", CommentErrDecCountFailed: "Decrease comment count failed", CommentErrVideoIsInvalid: "Video is not verified", CommentUserHasBanned: "您已被禁言!", CommentUserNotBind: "您暂未绑定手机,无法发表评论", ErrMobileHasBindByOther: "current phone has already bind by other", CommentPublishTooFrequent: "Comment Publish Too Frequently", CommentUserInfoErr: "User information is error", CommentVideoInfoErr: "Video information is error", CommentNotVip: "User is not vip", CommentCountOverLimit: "非vip用户每24小时只能发送限量评论", LikeHasAlreadyThumbs: "Has already liked, can't like it again", LikeHasNotThumbs: "Has not liked, can't cancel", LikeErrGetDataFailed: "Get like data error", LikeErrThumbsFailed: "Like it failed", LikeErrCancelFailed: "Cancel like failed", LikeErrIncCountFailed: "Increase like count failed", LikeErrDecCountFailed: "Decrease like count failed", LikeErrVideoIsInvalid: "Video is not verified", CollectHasCollected: "Has already collected, can't collect it again", CollectHasNotCollected: "Has not collected, can't cancel", CollectErrGetDataFailed: "Get collect data failed", CollectErrCollectFailed: "Do collect failed", CollectErrCancelFailed: "Cancel collect failed", ErrGetTagDataFailed: "Get tag data failed", Timeout: "timeout", SelfPromotionCode: "The inviter cannot be himself", InvalidPromotionCode: "invalid promotion code", PromoteLoop: "Already a subordinate agent, not a superior agent", NotInvitedUsers: "Not Invited Users", PromoteHasBind: "current promote has bind", TagAddTagNameInvalidErr: "Tag name is invalid", TagAddTagNameEmptyErr: "Tag name is empty", TagAddTagNameExistedErr: "Current Tag name is existed", //daichong ErrTakeChatCode: "take daichong chat failed", ErrGetOrderInfoCode: "get daichong order info failed", ErrAppIDNotExist: "daichong appid is not exist", ErrMerchantIsNotExist: "current merchant not exist", ErrMerchantBalanceIsNotEnough: "商人余额不足", ErrMerchantBalanceHasLock: "商人被禁止登陆", VisitLimit: "操作太频繁,请稍后再试!", ActClose: "activity has closed", ActUserDataTypeError: "act userData type error", ChannelAgentExisted: "该账号已经存在", // 兑换码 ExchangeCodeProduceCodeFailed: "Produce code failed", ExchangeCodeExchangeFailed: "Exchange failed", ExchangeCodeInvalidCode: "Invalid code", ExchangeCodeIsNotEffective: "Code is inactive", ExchangeCodeIsExpired: "Code is expired", ExchangeCodeIsUsed: "Code has used", ExchangeCodeInvalidApp: "Invalid app type", ExchangeCodeInvalidAuthority: "Invalid authority type", ExchangeCodeNullChannelForbidden: "Null channel is forbidden", ExchangeCodeOperateDenied: "Operate denied", ExchangeCodeInvalidBatchNumber: "Batch number invalid", ExchangeCodeForbidUpdate: "The code is expired or used, can't update", ExchangeCodeRepeatExchange: "Has exchanged", RobotTypeInvalid: "Invalid robot type", RobotTypeExisted: "Existed robot type", RobotContentDelParamIsNull: "Param delete content is null", RobotContentIsNull: "Content is null", RobotContentDelFailed: "Content is empty", DistrictActErr: "错误的商区账号", RepeatUpload: "Repeat Upload", GetLockTimeout: "获取抽奖状态锁超时", OverTargetCoin: "活动当前金额已经达目标金额,无法再投注", RepeatFeedback: "Repeat Feedback", LouFengNotExists: "invalid loufeng", AdminIsHasLockedErr: "管理员被封禁", LiaoBaTopOverLimit: "撩吧置顶超出10条,请先删除多余置顶帖子", ExchangeCodeInvalid: "PayType Error", PrizeIsExistError: "奖品名称重复", SignConfigIsExistError: "同类型配置;达成条件已存在", ActivityDateError: "活动开始时间或者结束时间配置不正确", PhoneNotBoundOrNotRecharge: "绑定手机号或充值才可签到", UserIsNotMerchant: "用户不是商家", UserActiveNotEnough: "活跃度不足", NudeChatRepeatFeedbackErr: "本条信息已举报,请耐心等待平台处理!", NotBuyBanFeedbackErr: "未购买不能举报!", ResolutionNotEnough: "分辨率不足", WithdrawBusy: "提现操作过于频繁,请稍后再试", WithDrawIllegalAmount: "提现金额不满足要求,请阅读提现说明", ModuleConfLimitExceed: "模块下专题数量超过限制", GetLikesBusy: "操作太过频繁,请稍后再试", GetBuyVidBusy: "操作太过频繁,请稍后再试", CommentNotRchg: "非充值用户不可评论", CommentOnlyMerchant: "该商家已开启禁止评论权限", AddTaskRepeatedError: "已有相同类型任务. 请在该任务上编辑即可, 不需要新增", UserHasDoTask: "用户重复领取任务", UserHasReceivedIntegral: "用户重复领取积分", InsufficientIntegral: "用户积分不足", CommentOneMinuteOverLimit: "非VIP一分钟只能评论一次,升级会员,可无限评论", DownloadCountIsNotEnough: "下载次数不足,请您充值VIP获取次数", AiGenningDelForbidden: AiGenningDelForbiddenMessage, ChangeFaceSuccessWithoutUrl: "通过ai换脸订单时生成的视频链接不可为空", ChangeFaceNoModule: "ai换脸模版不存在,请检查模版", NoSelfAddMsg: "不能给自己发消息", AiUnDressStatusIsErr: "AI脱衣订单状态异常", AiChangeFaceImgStatusIsErr: "AI图片换脸订单状态异常", PrizeRecordNoExists: "抽奖信息不存在", VideoInDiscountArea: "视频已经在其他折扣区", NotAVideo: "不是视频", ContentSensitiveHit: "内容敏感词命中,不予上架", ErrDataInvalid: "数据不合法", AiMateIsNotExists: "AI伴侣服务用户未开通!", FunctionUpgradeToLatest: "功能已升级,请重新下载最新版本安装使用", VideoTypeDissatisfy: "帖子类型不符合", InsufficientGold: "金币不足", InsufficientPoint: "积分不足", InsufficientLotteryFreeTimes: "免费次数不足", }