fix: add regionCode for GetUserByPhone API
This commit is contained in:
parent
ff51e81b6d
commit
117cbd7865
|
|
@ -62,7 +62,7 @@ public class UserService : IUserService
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(user.Phone))
|
||||
{
|
||||
record = db.GetUserByPhone(user.Phone);
|
||||
record = db.GetUserByPhone(user.Phone, regionCode: (string.IsNullOrWhiteSpace(user.RegionCode) ? "CN" : user.RegionCode));
|
||||
}
|
||||
|
||||
if (record == null && !string.IsNullOrWhiteSpace(user.Email))
|
||||
|
|
|
|||
Loading…
Reference in a new issue