From cca9807a4e262196b3586ab6eb0daedf1bd9ee8f Mon Sep 17 00:00:00 2001 From: gaibu <1016771049@qq.com> Date: Fri, 10 Feb 2023 10:47:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=A3=E7=A0=81=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/api/social/SocialUserApi.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/social/SocialUserApi.java b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/social/SocialUserApi.java index c49131ad7..00432635f 100644 --- a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/social/SocialUserApi.java +++ b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/social/SocialUserApi.java @@ -19,7 +19,7 @@ public interface SocialUserApi { String PREFIX = ApiConstants.PREFIX + "/social-user"; - @GetMapping("/get-authorize-url") + @GetMapping("PREFIX + /get-authorize-url") @Operation(summary = "获得社交平台的授权 URL") @Parameters({ @Parameter(name = "type", description = "社交平台的类型", example = "1", required = true), @@ -28,15 +28,15 @@ public interface SocialUserApi { CommonResult getAuthorizeUrl(@RequestParam("type") Integer type, @RequestParam("redirectUri") String redirectUri); - @PostMapping("/bind") + @PostMapping("PREFIX + /bind") @Operation(summary = "绑定社交用户") CommonResult bindSocialUser(@Valid @RequestBody SocialUserBindReqDTO reqDTO); - @DeleteMapping("/unbind") + @DeleteMapping("PREFIX + /unbind") @Operation(summary = "取消绑定社交用户") CommonResult unbindSocialUser(@Valid @RequestBody SocialUserUnbindReqDTO reqDTO); - @GetMapping("/get-bind-user-id") + @GetMapping("PREFIX + /get-bind-user-id") @Operation(summary = "获得社交用户的绑定用户编号") @Parameters({ @Parameter(name = "userType", description = "用户类型", example = "2", required = true),