You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package define
const TimeFormat = "2006-01-01 15:04:05"
const ( MODULE_SIGNIN = "签到" MODULE_TUGWAR = "拔河" MODULE_SHAKRB = "摇红包" MODULE_SHAKETK = "摇奖券" MODULE_ORDER = "订单" MODULE_UPPERW = "上墙" MODULE_BULLYS = "霸屏" MODULE_LOTTERY = "抽奖" MODULE_VOTE = "投票" MODULE_AUCTION = "竞拍" MODULE_REWARD = "打赏" MODULE_SEMINAR = "会务" MODULE_MOREAREA = "多地区" MODULE_BARRAGE = "弹幕" MODULE_INVITATION = "邀请函" MODULE_ORDERLY = "订单抽奖" MODULE_MSGWALL = "消息墙" MODULE_CALORIE = "卡路里" )
const ( StatusNotBegin = "未开始" StatusReady = "准备中" StatusRunning = "进行中" StatusEnding = "已结束" StatusOpen = "开启" StatusClose = "关闭" )
const ( INCR_AUCTION = "加价竞拍" DECR_AUCTION = "减价竞拍" )
const ( TUGWAR_MODEL_RANDOM = "随机分配模式" TUGWAR_MODEL_SELECT = "大屏幕二维码模式" TUGWAR_TEAM_BULE = "blue" TUGWAR_TEAM_RED = "red" )
const ( SHAKERB_RULE_RANDOM = "拼手气红包" SHAKERB_RULE_COMMON = "普通红包" SHAKERB_RULE_LADDER = "阶梯红包" )
// 模块去除 BesideRepeat
const MODULE_BESIDE_REPEAT = "去除"
const ( TOKEN = "token" ) const ( TYPE_USER = "h5user" TYPE_CUSTOMER = "customer" TYPE_GUEST = "guest" TYPE_AREAADMIN = "area_admin" TYPE_ENTRYPEOPLE = "entry_people" TYPE_LIVEUSER = "live_user" // 直播
)
const ( CODE_SUCCESS = "SUCCESS" // 成功
CODE_FAIL = "FAIL" // 失败
CODE_NOTPAY = "NOTPAY" // 未支付
CODE_CHANGE = "CHANGE" // 退款异常
CODE_REFUNDCLOSE = "REFUNDCLOSE" // 退款关闭
CODE_ERROR = "ERROR" // 业务错误
CODE_INVALID_REQUEST = "INVALID_REQUEST" // 无效请求
CODE_NOAUTH = "NOAUTH" // 异常IP请求不予受理
CODE_NOTENOUGH = "NOTENOUGH" // 余额不足
CODE_ORDERPAID = "ORDERPAID" // 订单已支付
CODE_ORDERCLOSED = "ORDERCLOSED" // 订单已关闭
CODE_SYSTEMERROR = "SYSTEMERROR" // 系统错误
CODE_APPID_NOT_EXIST = "APPID_NOT_EXIST" // APPID不存在
CODE_MCHID_NOT_EXIST = "MCHID_NOT_EXIST" // MCHID不存在
CODE_APPID_MCHID_NOT_MATCH = "APPID_MCHID_NOT_MATCH" // APPID MCHID 不匹配
CODE_LACK_PARAMS = "LACK_PARAMS" // 缺少参数
CODE_OUT_TRADE_NO_USED = "OUT_TRADE_NO_USED" // 商户订单号重复
CODE_SIGNERROR = "SIGNERROR" // 签名错误
CODE_XML_FORMAT_ERROR = "XML_FORMAT_ERROR" // xml格式错误
CODE_REQUIRE_POST_METHOD = "REQUIRE_POST_METHOD" // 请使用post请求方法
CODE_POST_DATA_EMPTY = "POST_DATA_EMPTY" // post数据为空
CODE_NOT_UTF8 = "NOT_UTF8" // 编码错误
CODE_ORDERNOTEXIST = "ORDERNOTEXIST" // 交易订单号不存在
CODE_BIZERR_NEED_RETRY = "BIZERR_NEED_RETRY" // 退款业务流程错误,需要商户触发重试来解决
CODE_TRADE_OVERDUE = "TRADE_OVERDUE" // 订单已经超过退款期限
CODE_USER_ACCOUNT_ABNORMAL = "USER_ACCOUNT_ABNORMAL" // 退款请求失败用户帐号注销
CODE_INVALID_REQ_TOO_MUCH = "INVALID_REQ_TOO_MUCH" // 无效请求过多
CODE_INVALID_TRANSACTIONID = "INVALID_TRANSACTIONID" // 无效transaction_id
CODE_PARAM_ERROR = "PARAM_ERROR" // 参数错误
CODE_FREQUENCY_LIMITED = "FREQUENCY_LIMITED" // 请求频率限制
CODE_TRADE_SUCCESS = "SUCCESS" // 交易成功
CODE_TRADE_REFUND = "REFUND" // 转入退款
CODE_TRADE_NOTPAY = "NOTPAY" // 尚未支付
CODE_TRADE_CLOSED = "CLOSED" // 已关闭
CODE_TRADE_REVOKED = "REVOKED" // 已撤销
CODE_TRADE_USERPAYING = "USERPAYING" // 用户支付中
CODE_TRADE_PAYERROR = "PAYERROR" // 支付失败
CODE_TRANSFER_PROCESSING = "PROCESSING" // 转账处理中
CODE_TRANSFER_NOT_FOUND = "NOT_FOUND" // 账单不见了
)
|