mirror of https://gitee.com/xiaonuobase/snowy
【更新】修复C端token名称带后缀导致的token无效的bug
parent
ab2e3e6573
commit
82344e240b
|
@ -19,7 +19,6 @@ import cn.dev33.satoken.stp.SaLoginModel;
|
||||||
import cn.dev33.satoken.stp.SaTokenInfo;
|
import cn.dev33.satoken.stp.SaTokenInfo;
|
||||||
import cn.dev33.satoken.stp.StpLogic;
|
import cn.dev33.satoken.stp.StpLogic;
|
||||||
import cn.dev33.satoken.stp.StpUtil;
|
import cn.dev33.satoken.stp.StpUtil;
|
||||||
import cn.hutool.core.util.StrUtil;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -46,7 +45,7 @@ public class StpClientUtil {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String splicingKeyTokenName() {
|
public String splicingKeyTokenName() {
|
||||||
return super.splicingKeyTokenName() + StrUtil.DASHED + TYPE;
|
return super.splicingKeyTokenName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 此处可以根据需求重写其他方法
|
// 此处可以根据需求重写其他方法
|
||||||
|
|
Loading…
Reference in New Issue