Commit 47459dc7 by 徐高华

错误提示

parent 37baa2f5
......@@ -42,7 +42,11 @@ public class WebBaseController {
}
public HaobanResponse fail(String message) {
return resultResponse(HaoBanErrCode.ERR_OTHER, null, message);
HaobanResponse response = new HaobanResponse();
response.setMessage(message);
response.setErrorCode(HaoBanErrCode.ERR_OTHER.getCode());
response.setDetailError(message);
return response;
}
}
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