Преглед на файлове

官网二维码登录接口修改

liweifan преди 3 години
родител
ревизия
5a27fe013c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      cooleshow-auth/auth-server/src/main/java/com/yonge/cooleshow/auth/web/controller/TokenController.java

+ 1 - 1
cooleshow-auth/auth-server/src/main/java/com/yonge/cooleshow/auth/web/controller/TokenController.java

@@ -188,7 +188,7 @@ public class TokenController extends BaseController {
     public HttpResponseResult<QRLoginDto> getQRLoginCode(
             @ApiParam(value = "clientId", required = true) @RequestParam("clientId") String clientId,
             @ApiParam(value = "clientSecret", required = true) @RequestParam("clientSecret") String clientSecret,
-            @ApiParam(value = "code") @RequestParam("code") String code) {
+            @ApiParam(value = "code") String code) {
         if(StringUtils.isNotEmpty(code)){
             redissonClient.getBucket(CacheNameEnum.QR_LOGIN_CODE.getRedisKey(code)).delete();
         }