修改增加日志

parent 8dcae794
......@@ -130,11 +130,17 @@ public class InnerController implements IBaseController {
@RequestMapping("/user/search/phoneNo")
@LogHttpCaller
public JsonResult findByPhoneNo(String phoneNo) {
UserRet userRet=null;
try {
User user = userService.findByPhoneInDb(phoneNo);
if (user == null) {
return JsonResult.buildErrorStateResult("", null);
}
UserRet userRet = UserRet.getUserRet(user);
userRet = UserRet.getUserRet(user);
}catch (Exception e){
LOGGER.error("调用出错",e);
}
return JsonResult.buildSuccessResult("", userRet);
}
......
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