Browse Source

fix 小程序登录

he2802 3 years ago
parent
commit
a3521d4870

+ 1 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

@@ -128,7 +128,7 @@ public class WxLoginService
         } catch (Exception e) {
             e.printStackTrace();
         }
-        redisCache.setCacheObject(key, -1L,60, TimeUnit.SECONDS);//60秒锁定
+        redisCache.setCacheObject(key, -1L,180, TimeUnit.SECONDS);//180秒锁定
         Map<String,Object> map = new HashMap<>();
         map.put("scanCode",scanCode);
         map.put("urlBase64",urlBase64);