zyx 2 년 전
부모
커밋
2845b932b2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/sxtvs/open/api/odata/controller/OauthController.java

+ 1 - 1
src/main/java/com/sxtvs/open/api/odata/controller/OauthController.java

@@ -18,8 +18,8 @@ public class OauthController {
 
     @RequestMapping("douyin/code")
     public String douyinQrCode() {
-        logger.info("key", "douyinQrCode");
         var state = IdUtil.nanoId();
+        logger.info("key", "douyinQrCode","state",state);
         return "redirect:https://open.douyin.com/platform/oauth/connect/?" +
                 "client_key=awfrca76s1petwh0&response_type=code&" +
                 "scope=video.data%2Cfans.list%2Cdata.external.item%2Cdata.external.user%2Cfans.data%2Cvideo.list%2Crenew_refresh_token%2Cuser_info&" +