Commit cd985cf2 by guojx

看数据会员接口拆分

parent 59b4644f
......@@ -145,6 +145,11 @@ public class GlobalExceptionHandler extends WebBaseController {
@ExceptionHandler(DataApiException.class)
public HaobanResponse dataApiException(HttpServletResponse response, DataApiException ex) {
logger.info("DataApiException异常信息", ex);
return resultResponse(HaoBanErrCode.ERR_3);
HaobanResponse res = new HaobanResponse();
res.setMessage(ex.getMessage());
res.setErrorCode(666);
res.setResult(null);
res.setDetailError(ex.getMessage());
return res;
}
}
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