zoujiajian 1 жил өмнө
parent
commit
9c04b40032

+ 3 - 0
netflix-web/src/main/java/com/cyksj/web/controller/user/AuthorizationController.java

@@ -97,6 +97,9 @@ public class AuthorizationController {
     public void base(String url, String dsCode, Long sharedId, Integer dsType, Long popularizeId, String authType, String callbackType, String callback, String customId, Integer cst, HttpServletResponse response) throws Exception {
 
         log.info("微信授权转跳. url: {},authType:{}", url, authType);
+        if (StrUtil.isEmpty(url)) {
+            url = "https://nf.video/";
+        }
 
         // 无论是否为老用户 均转跳到授权页面
         // 若授权过 则无需再次授权 直接回调 /user/wechat/redirect