升级spring-boot 2.4.12、wx-java 4.2.0、pom文件优化、swagger文档升级到3.0.0,邮费计算优化

This commit is contained in:
taozi
2021-11-12 21:00:10 +08:00
parent b8a0825b80
commit 0620e7ad2e
9 changed files with 34 additions and 570 deletions

View File

@ -116,8 +116,8 @@ public class OnlineUserService {
* @throws Exception /
*/
public void kickOutT(String key) throws Exception {
String[] split = StrUtil.split(key, ":");
String keyt = ShopConstants.YSHOP_APP_LOGIN_USER + split[0] + ":" + EncryptUtils.desDecrypt(split[1]);
String[] split = StrUtil.split(key, StrUtil.COLON);
String keyt = ShopConstants.YSHOP_APP_LOGIN_USER + split[0] + StrUtil.COLON + EncryptUtils.desDecrypt(split[1]);
redisUtils.del(keyt);
}