Commit 5ea6742b authored by yangyang's avatar yangyang

fixed bug 后端不抛出特殊异常,由前端处理

parent 15e11b8a
......@@ -298,9 +298,6 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
String phoneNo ;
try{
phoneNo = this.parsePhoneNo(wxDTO);
} catch (BadRequest badRequest) {
// 抛出微信授权失败, 请重新授权, 需要前端拦截后重新从微信获取session_key
throw badRequest;
} catch (Exception e){
throw new RuntimeException("解析手机号失败");
}
......
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