feat: diff wecom
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 28s
CI / admin (push) Successful in 21s
CI / bff (push) Successful in 20s
CI / chore (push) Successful in 29s
CI / equipment (push) Failing after 9s
CI / express (push) Successful in 20s
CI / factory (push) Successful in 21s
CI / payment (push) Successful in 22s
CI / product (push) Successful in 27s
CI / record (push) Successful in 26s
CI / sale (push) Successful in 32s
CI / task (push) Successful in 25s
CI / user (push) Successful in 31s
CI / wecom (push) Successful in 33s

This commit is contained in:
zzw
2026-09-18 17:44:26 +08:00
74 changed files with 5811 additions and 337 deletions
+1
View File
@@ -9,6 +9,7 @@ import (
)
const Nil = goredis.Nil
const RedisNil = "redis: nil"
var Client *goredis.Client
+17 -3
View File
@@ -73,6 +73,20 @@ const (
StatusWaitPass = 9 //待审核
RpcTimeOut = 5000 //服务连接超时时间 毫秒
StoreApplyReview = 1 // 提交审核(按钮消息)
StoreNeedReview = 2 // 通知申请人
StoreSubmitReview = 3 // 通知一审人员
StoreFirstReview = 4 // 一审审核结果
StoreSecondReview = 5 // 二审审核结果
SaleType = 1
AdminType = 2
EditLogTypeProduct = 1 // 产品
EditLogTypeStore = 2 // 门店
EditLogTypeAddress = 3 // 地址
EditLogTypeSales = 4 // 销售
)
const (
@@ -108,7 +122,9 @@ var (
ErrorVerifyReview = Status{Code: 10011, Msg: "不能重复审核"}
ErrorOrderOver = Status{Code: 11012, Msg: "订单已完结"}
// 数据类
ErrorDataIsExist = Status{Code: 11004, Msg: "数据已存在"}
ErrorDataIsExist = Status{Code: 11004, Msg: "数据已存在"}
ErrorBindError = Status{Code: 11016, Msg: "设备已绑定,请不要重复绑定"}
ErrorBindOtherError = Status{Code: 110167, Msg: "该设备已绑定其它用户,请不要重复绑定"}
// 参数类
ErrorReasonParams = Status{Code: 10012, Msg: "原因不能为空"}
@@ -145,8 +161,6 @@ var (
ErrorFirstTryErr = NewError(11008, "已购买过首次试用品")
ErrorTryError = NewError(11009, "不满足购买条件")
ErrorDataNotExist = NewError(11011, "数据不存在")
ErrorBindError = NewError(11012, "设备已绑定,请不要重复绑定")
ErrorBindOtherError = NewError(11013, "该设备已绑定其它用户,请不要重复绑定")
)
func SetError(error Status, msg string) Status {