mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-11-01 18:58:42 +08:00
短信提交 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