Merge branch 'develop' of git.ailuowan.com:zzw/lone-services into develop
CI / changes (push) Successful in 1m53s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 0s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / order (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 1s
CI / store (push) Successful in 32s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s

This commit is contained in:
zzw
2026-10-22 11:25:47 +08:00
@@ -35,7 +35,7 @@ func (l *AuthorizationCodeLogic) AuthorizationCode(in *equipment.EmptyRequest) (
return l.fail(utils.ErrorNoLoginInfo) return l.fail(utils.ErrorNoLoginInfo)
} }
key := dao.CodeName + strconv.FormatInt(adminInfo.ID, utils.NumberTen) key := dao.CodeName + strconv.FormatInt(adminInfo.StoreId, utils.NumberTen)
code := utils.RandNumber(utils.NumberSix) code := utils.RandNumber(utils.NumberSix)
out := utils.GetConfigInt("code.out-time") out := utils.GetConfigInt("code.out-time")