Commit 751ca789 by huangZW

111

parent 052eb2f8
...@@ -121,7 +121,7 @@ public class EnterpriseController extends WebBaseController{ ...@@ -121,7 +121,7 @@ public class EnterpriseController extends WebBaseController{
String host = GlobalVar.ctxPropertiesMap.get("haoban_service_host"); String host = GlobalVar.ctxPropertiesMap.get("haoban_service_host");
logger.info("host============================>{}",host); logger.info("host============================>{}",host);
String random = "ywLogin:"+UuidUtil.randomUUID(); String random = "ywLogin:"+UuidUtil.randomUUID();
RedisUtil.setCache(random, 1); RedisUtil.setCache(random, 1,1000L);
String url=host+LOGIN_URL+"?wxEnterpriseId="+wxEnterpriseId+"&random="+random; String url=host+LOGIN_URL+"?wxEnterpriseId="+wxEnterpriseId+"&random="+random;
httpServletResponse.sendRedirect(url); httpServletResponse.sendRedirect(url);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment