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
@@ -51,7 +51,7 @@ func (l *RegisterLogic) Register(in *user.RegisterReq) (*user.Response, error) {
return failResponse(utils.ErrorExist), nil
}
encryptMobile, cErr := utils.Crypto{}.AESEncryptECB(v.Mobile)
encryptMobile, cErr := utils.EncryptPhone(v.Mobile)
if cErr != nil {
l.Errorf("register encrypt mobile: %v", cErr)
return failResponse(utils.ErrorEncryptAesError), nil