From 457930dd68f5854ae81cff6f5a1f98142b07cae3 Mon Sep 17 00:00:00 2001 From: "zhiyong.ning" <354350178@qq.com> Date: Sun, 27 Sep 2020 10:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/msdw/tms/api/UserControllerApi.java | 3 +++ .../java/com/msdw/tms/common/exception/ExceptionCatch.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/msdw/tms/api/UserControllerApi.java b/src/main/java/com/msdw/tms/api/UserControllerApi.java index 56c016a..da2b123 100644 --- a/src/main/java/com/msdw/tms/api/UserControllerApi.java +++ b/src/main/java/com/msdw/tms/api/UserControllerApi.java @@ -18,4 +18,7 @@ public interface UserControllerApi { @ApiOperation(value = "更新密码",notes = "更新密码") R examinePassword(UserEntityVo entity); + @ApiOperation(value = "注册",notes = "注册") + R save(UserEntity entity); + } diff --git a/src/main/java/com/msdw/tms/common/exception/ExceptionCatch.java b/src/main/java/com/msdw/tms/common/exception/ExceptionCatch.java index 0c4314c..fdbea6f 100644 --- a/src/main/java/com/msdw/tms/common/exception/ExceptionCatch.java +++ b/src/main/java/com/msdw/tms/common/exception/ExceptionCatch.java @@ -41,7 +41,7 @@ public class ExceptionCatch { return new ResponseResult(resultCode); } //返回99999异常 - return new ResponseResult(CommonCode.SERVER_ERROR); + return new ResponseResult(CommonCode. SERVER_ERROR); } static {