[功能]:1、添加http通用接口forest 2、引入justoauth 处理第三方登录 3、大致完成qq登录代码 4、前端界面修改适配第三方登录逻辑

This commit is contained in:
LemonTree
2022-04-20 18:30:27 +08:00
parent 28bfe461dc
commit bb2cdebac3
15 changed files with 875 additions and 560 deletions

View File

@@ -86,4 +86,9 @@ public class HttpStatus
* 接口未实现
*/
public static final int NOT_IMPLEMENTED = 501;
/**
* 不弹窗显示
*/
public static final int NO_MESSAGE_ALERT = 502;
}

View File

@@ -213,7 +213,7 @@ public class RedisCache
* 删除Hash中的数据
*
* @param key
* @param mapkey
* @param hkey
*/
public void delCacheMapValue(final String key, final String hkey)
{
@@ -243,4 +243,15 @@ public class RedisCache
{
return redisTemplate.keys(pattern);
}
/**
* 是否存在key
*
* @param key 缓存key
* @return true存在key falsekey不存在或者已过期
*/
public boolean containsKey(String key) {
return redisTemplate.hasKey(key);
}
}