From e24d9dec01104fe67ac45e840a6c67c4191722f5 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 8 Feb 2023 21:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20SocialUserApi=20=E6=9C=AA?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=20RPC=20=E6=94=AF=E6=8C=81=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=B8=A6=20token=20=E8=AE=BF=E9=97=AE=E6=97=B6?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=9C=80=E7=99=BB=E5=BD=95?= 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 c096ed51c..f5e0b5ef2 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") @ApiOperation("获得社交平台的授权 URL") @ApiImplicitParams({ @ApiImplicitParam(name = "type", value = "社交平台的类型", example = "1", required = true, dataTypeClass = Integer.class), @@ -28,15 +28,15 @@ public interface SocialUserApi { CommonResult getAuthorizeUrl(@RequestParam("type") Integer type, @RequestParam("redirectUri") String redirectUri); - @PostMapping("/bind") + @PostMapping(PREFIX + "/bind") @ApiOperation("绑定社交用户") CommonResult bindSocialUser(@Valid @RequestBody SocialUserBindReqDTO reqDTO); - @DeleteMapping("/unbind") + @DeleteMapping(PREFIX + "/unbind") @ApiOperation("取消绑定社交用户") CommonResult unbindSocialUser(@Valid @RequestBody SocialUserUnbindReqDTO reqDTO); - @GetMapping("/get-bind-user-id") + @GetMapping(PREFIX + "/get-bind-user-id") @ApiOperation("获得社交用户的绑定用户编号") @ApiImplicitParams({ @ApiImplicitParam(name = "userType", value = "用户类型", example = "2", required = true, dataTypeClass = Integer.class),