Browse Source

身份证提示

master
wxd 4 months ago
parent
commit
e233bdd729
  1. 2
      src/Shentun.WebPeis.Application/Persons/PersonAppService.cs

2
src/Shentun.WebPeis.Application/Persons/PersonAppService.cs

@ -233,7 +233,7 @@ namespace Shentun.WebPeis.Persons
} }
if (!string.IsNullOrWhiteSpace(person.WechatOpenId)) if (!string.IsNullOrWhiteSpace(person.WechatOpenId))
{ {
throw new UserFriendlyException("该微信号注册");
throw new UserFriendlyException("该身份证跟手机号已被其他微信号注册");
} }
person.WechatOpenId = input.WechatOpenId; person.WechatOpenId = input.WechatOpenId;
await _repository.UpdateAsync(person); await _repository.UpdateAsync(person);

Loading…
Cancel
Save