Commit 14baac08 by 叶立庆

[+]补齐错删除得代码

1 parent 5eeec5ce
......@@ -647,6 +647,7 @@ public class WechatAppletsLoginController {
return RopResponse.error(WechatErrorEnum.JS_CODE_2_SESSION_FAILED);
}
String loginToken = SessionIdCreateUtil.createSessionId();
redisService.set(loginToken, JSON.toJSONString(response.getResult()), LOGIN_TOKEN_EXPIRE_TIME);
//将open_id,union_id放进去
log.info("get sessoin by code:{} return:{}", request.getCode(), response.getResult());
SimpleSession session = SessionManager.getSession(request.getRopRequestContext());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!