Merge branch 'develop' of git.ailuowan.com:zzw/lone-services into develop
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 0s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 29s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 1s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
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:
2026-10-22 11:29:02 +08:00
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func (l *InfoLogic) Info(in *store.IdRequest) (*store.Response, error) {
mobile, dErr := utils.DecryptPhone(info.UserMobile)
info.AesMobile = info.UserMobile
if dErr == nil {
info.UserMobile = mobile
info.UserMobile = utils.DecryptPhoneReplace(mobile)
}
return l.ok(info)
}
@@ -46,11 +46,9 @@ func (l *WebInfoLogic) WebInfo(in *store.EmptyRequest) (*store.Response, error)
if info.Id < utils.NumberOne {
return l.fail(utils.ErrorNotFund)
}
if info.Id > utils.NumberZero {
mobile, dErr := utils.DecryptPhone(info.UserMobile)
if dErr == nil {
info.UserMobile = utils.DecryptPhoneReplace(mobile)
}
mobile, dErr := utils.DecryptPhone(info.UserMobile)
if dErr == nil {
info.UserMobile = mobile
}
return l.ok(info)
}