Browse Source

ref:接口地址调整

liusw 6 years ago
parent
commit
7c60cbfa8a

+ 2 - 2
sso-server/src/main/java/com/uas/sso/sync/controller/SyncUserController.java

@@ -33,7 +33,7 @@ public class SyncUserController extends BaseController {
      * @param signature
      * @return
      */
-    @GetMapping("/sync/user/page/info/get")
+    @GetMapping("/api/user/sync/page/info/get")
     public ModelMap getSyncUserSpacePageInfo(int pageSize, int pageNumber, Long timestamp, String signature) throws NoSuchAlgorithmException, InvalidKeyException, IOException {
         if (!OpenApiSignUtil.verifySignForHttpGet(request, OpenApiSignConfig.SECRET_KEY)) {
             throw new RuntimeException("签名错误");
@@ -47,7 +47,7 @@ public class SyncUserController extends BaseController {
      * @param signature
      * @return
      */
-    @GetMapping("/sync/user/info/get")
+    @GetMapping("/api/user/sync/info/get")
     public ModelMap getSyncUserByUserUU(Long userUU, String signature) throws NoSuchAlgorithmException, InvalidKeyException, IOException {
         if (!OpenApiSignUtil.verifySignForHttpGet(request, OpenApiSignConfig.SECRET_KEY)) {
             throw new RuntimeException("签名错误");

+ 2 - 2
sso-server/src/main/java/com/uas/sso/sync/controller/SyncUserspaceController.java

@@ -32,7 +32,7 @@ public class SyncUserspaceController extends BaseController {
      * @param signature
      * @return
      */
-    @GetMapping("/sync/userspace/page/info/get")
+    @GetMapping("/api/userspace/sync/page/info/get")
     public ModelMap getSyncUserSpacePageInfo(int pageSize, int pageNumber, Long timestamp, String signature) throws NoSuchAlgorithmException, InvalidKeyException, IOException {
         if (!OpenApiSignUtil.verifySignForHttpGet(request, OpenApiSignConfig.SECRET_KEY)) {
             throw new RuntimeException("签名错误");
@@ -46,7 +46,7 @@ public class SyncUserspaceController extends BaseController {
      * @param signature
      * @return
      */
-    @GetMapping("/sync/userspace/info/get")
+    @GetMapping("/api/userspace/sync/info/get")
     public ModelMap getSyncUserspaceBySpaceUU(Long spaceUU, String signature) throws NoSuchAlgorithmException, InvalidKeyException, IOException {
         if (!OpenApiSignUtil.verifySignForHttpGet(request, OpenApiSignConfig.SECRET_KEY)) {
             throw new RuntimeException("签名错误");