From 4ed7ff50eecdc85c5bf10e6534757900f52762cf Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 22 六月 2020 14:20:24 +0800
Subject: [PATCH] 优化小程序无法登录问题

---
 service-front/src/main/java/com/java110/front/controller/wechat/LoginOwnerWechatAuthController.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/service-front/src/main/java/com/java110/front/controller/wechat/LoginOwnerWechatAuthController.java b/service-front/src/main/java/com/java110/front/controller/wechat/LoginOwnerWechatAuthController.java
index bbf436a25..375104d 100644
--- a/service-front/src/main/java/com/java110/front/controller/wechat/LoginOwnerWechatAuthController.java
+++ b/service-front/src/main/java/com/java110/front/controller/wechat/LoginOwnerWechatAuthController.java
@@ -55,9 +55,11 @@
      */
     @RequestMapping(path = "/refreshToken")
     public ResponseEntity<String> refreshToken(@RequestParam String redirectUrl,
+                               @RequestParam String errorUrl,
+                               @RequestParam String loginFlag,
                                HttpServletRequest request,
                                HttpServletResponse response) {
-        return ownerAppLoginSMOImpl.refreshToken(null, redirectUrl, request, response);
+        return ownerAppLoginSMOImpl.refreshToken(null, redirectUrl,errorUrl,loginFlag, request, response);
 
     }
 

--
Gitblit v1.8.0