From d0fc3a5aec7ddc19eafeb7087c94e4865fc50b25 Mon Sep 17 00:00:00 2001 From: ujued Date: Mon, 14 Jan 2019 18:25:38 +0800 Subject: [PATCH] tx:upgrade for 5.0.0.rc1 --- .../support/restapi/AdminController.java | 20 +++++++++---------- .../auth/sauth/SAuthConfiguration.java | 2 +- .../auth/sauth/SAuthHandleException.java | 2 +- .../restapi/auth/sauth/SAuthLogic.java | 2 +- .../auth/sauth/token/TokenInterceptor.java | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/AdminController.java b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/AdminController.java index c970ef8b7..108be3e03 100644 --- a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/AdminController.java +++ b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/AdminController.java @@ -55,9 +55,9 @@ public Token login(@RequestParam("password") String password) throws TxManagerEx /** * 获取补偿信息 * - * @param page - * @param limit - * @return + * @param page 页码 + * @param limit 记录数 + * @return ExceptionList */ @GetMapping({"/exceptions/{page}", "/exceptions", "/exceptions/{page}/{limit}"}) public ExceptionList exceptionList( @@ -69,9 +69,9 @@ public ExceptionList exceptionList( /** * 获取某个事务组某个节点具体补偿信息 * - * @param groupId - * @param unitId - * @return + * @param groupId groupId + * @param unitId unitId + * @return transaction info */ @GetMapping("/log/transaction-info") public JSONObject transactionInfo( @@ -87,9 +87,9 @@ public JSONObject transactionInfo( /** * 日志信息 * - * @param page - * @param limit - * @return + * @param page 页码 + * @param limit 记录数 + * @return TxLogList */ @GetMapping({"/logs/{page}", "/logs/{page}/{limit}", "/logs"}) public TxLogList txLogList( @@ -104,7 +104,7 @@ public TxLogList txLogList( /** * 获取TxManager信息 * - * @return + * @return TxManagerInfo */ @GetMapping("/tx-manager") public TxManagerInfo getTxManagerInfo() { diff --git a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthConfiguration.java b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthConfiguration.java index 862ae409f..57cd024d8 100644 --- a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthConfiguration.java +++ b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthConfiguration.java @@ -24,7 +24,7 @@ * Description: * Date: 2018/11/23 * - * @auther ujued + * @author ujued */ @Configuration @ComponentScan diff --git a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthHandleException.java b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthHandleException.java index 23de76400..eaa96b894 100644 --- a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthHandleException.java +++ b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthHandleException.java @@ -19,7 +19,7 @@ * Description: * Date: 2018/11/23 * - * @auther ujued + * @author ujued */ public class SAuthHandleException extends Exception { diff --git a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthLogic.java b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthLogic.java index c83033066..01b74095e 100644 --- a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthLogic.java +++ b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/SAuthLogic.java @@ -24,7 +24,7 @@ * Description: * Date: 2018/11/23 * - * @auther ujued + * @author ujued */ public interface SAuthLogic { diff --git a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/token/TokenInterceptor.java b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/token/TokenInterceptor.java index 15c3596ae..aafe66628 100644 --- a/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/token/TokenInterceptor.java +++ b/tx-manager/src/main/java/com/codingapi/txlcn/manager/support/restapi/auth/sauth/token/TokenInterceptor.java @@ -36,7 +36,7 @@ * Description: * Date: 2018/11/23 * - * @auther ujued + * @author ujued */ @Component public class TokenInterceptor implements HandlerInterceptor {