对消息增加默认状态码

This commit is contained in:
Chopper 2021-07-20 19:38:21 +08:00
parent ecfe856fa7
commit 8f351fdb8b

View File

@ -24,7 +24,7 @@ public class ServiceException extends RuntimeException {
private ResultCode resultCode;
public ServiceException(String msg) {
super(msg);
this.resultCode = ResultCode.ERROR;
this.msg = msg;
}