对消息增加默认状态码
This commit is contained in:
parent
ecfe856fa7
commit
8f351fdb8b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user