提交 d75c91f0 编写于 作者: shengzhang_'s avatar shengzhang_ 提交者: Gitee

!19 update sa-token-doc/doc/use/many-account.md.

Merge pull request !19 from AppleOfGray/N/A
......@@ -46,9 +46,9 @@
public static StpLogic stpLogic = new StpLogic("user") {
// 重写 `getTokenName` 函数,返回一个与 `StpUtil` 不同的token名称, 防止冲突
@Override
public String getTokenName() {
return super.getKeyTokenName() + "-user";
}
public String splicingKeyTokenName() {
return super.splicingKeyTokenName()+"-user";
}
};
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册