PC 最新版本下载链接
This commit is contained in:
@@ -146,14 +146,17 @@ public class LoginService {
|
||||
}
|
||||
|
||||
public Result findVersion() {
|
||||
TbVersion pcVersion = getCurrentPcVersion();
|
||||
return new Result(SUCCESS, pcVersion);
|
||||
}
|
||||
|
||||
public TbVersion getCurrentPcVersion() {
|
||||
LambdaQueryWrapper<TbVersion> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(TbVersion::getSource,"PC");
|
||||
queryWrapper.eq(TbVersion::getSel,1);
|
||||
return new Result(SUCCESS,versionMapper.selectOne(queryWrapper));
|
||||
return versionMapper.selectOne(queryWrapper);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Result logout(String loginName, String clientType, String token, String status) {
|
||||
|
||||
String key = RedisCst.ONLINE_USER.concat(":").concat(clientType).concat(":").concat(loginName);
|
||||
|
||||
Reference in New Issue
Block a user