Commit d3e7c8be by 徐高华

登录

parent 3d9c37d5
......@@ -443,6 +443,11 @@ public class LoginController extends WebBaseController {
logger.info("解密异常");
return resultResponse(HaoBanErrCode.ERR_5);
}
Object flag = RedisUtil.getCache(random);
if(null == flag) {
logger.info("无缓存");
return this.fail("登录已失效,请重新登录");
}
JSONObject jsonObject = JSONObject.parseObject(o);
String wxEnterpriseId = jsonObject.getString("wxEnterpriseId");
String gicEnterpriseId = jsonObject.getString("enterpriseId");
......
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