Commit bba2959b authored by yangyang's avatar yangyang

fixed bug 20723 【小程序端-农户登录】农户登录,高频频频出现识别不了手机号,需要排查

parent b479cb73
......@@ -298,7 +298,10 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
String phoneNo ;
try{
phoneNo = this.parsePhoneNo(wxDTO);
}catch (Exception e){
} catch (BadRequest badRequest) {
// 抛出微信授权失败, 请重新授权, 需要前端拦截后重新从微信获取session_key
throw badRequest;
} catch (Exception e){
throw new RuntimeException("解析手机号失败");
}
if (phoneNo == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment