短信提交 2021-04-01,重构返回的结果
This commit is contained in:
@@ -30,7 +30,7 @@ public final class ServiceException extends RuntimeException {
|
||||
|
||||
public ServiceException(ErrorCode errorCode) {
|
||||
this.code = errorCode.getCode();
|
||||
this.message = errorCode.getMessage();
|
||||
this.message = errorCode.getMsg();
|
||||
}
|
||||
|
||||
public ServiceException(Integer code, String message) {
|
||||
|
||||
Reference in New Issue
Block a user