feat: sale manager

This commit is contained in:
zzw
2026-08-28 10:49:09 +08:00
parent 97eba7ad48
commit 6f567319be
82 changed files with 4491 additions and 182 deletions
@@ -83,7 +83,7 @@ func (l *RegisterByUserLogic) RegisterByUser(in *user.RegisterByUserReq) (*user.
}
if v.Type == utils.NumberOne {
encryptMobile, cErr := utils.Crypto{}.AESEncryptECB(v.Account)
encryptMobile, cErr := utils.EncryptPhone(v.Account)
if cErr != nil {
l.Errorf("registerByUser encrypt mobile: %v", cErr)
return failResponse(utils.ErrorEncryptAesError), nil