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

Merge pull request !19 from AppleOfGray/N/A
This commit is contained in:
省长 2021-03-16 15:56:38 +08:00 committed by Gitee
commit d75c91f0ab

View File

@ -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";
}
};
```