mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-09 17:00:01 +08:00
debug
This commit is contained in:
@@ -349,6 +349,8 @@ public class LoginServiceImpl implements ILoginService {
|
||||
* @return LoginTokenVo
|
||||
*/
|
||||
private LoginTokenVo __wxLoginHandle(String openId, String unionId, String avatar, String nickname, Integer terminal) {
|
||||
|
||||
RedisUtils.set("test4444", "openId: " + openId + ",unionId: " + unionId);
|
||||
System.out.println("openId: " + openId);
|
||||
System.out.println("unionId: " + unionId);
|
||||
// 查询授权
|
||||
@@ -377,6 +379,7 @@ public class LoginServiceImpl implements ILoginService {
|
||||
.last("limit 1"));
|
||||
}
|
||||
|
||||
RedisUtils.set("test222", "1111");
|
||||
// 创建用户
|
||||
if (StringUtils.isNull(user)) {
|
||||
Integer sn = this.__generateSn();
|
||||
@@ -442,6 +445,7 @@ public class LoginServiceImpl implements ILoginService {
|
||||
userAuthMapper.updateById(auth);
|
||||
}
|
||||
|
||||
RedisUtils.set("test", "1111");
|
||||
return this.__loginToken(user.getId(), user.getMobile(), user.getIsNewUser(), terminal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user