From 8ee9f215a609d422484c6ab0071ea1cba562ed02 Mon Sep 17 00:00:00 2001 From: AppleOfGray Date: Tue, 16 Mar 2021 15:55:36 +0800 Subject: [PATCH] update sa-token-doc/doc/use/many-account.md. --- sa-token-doc/doc/use/many-account.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sa-token-doc/doc/use/many-account.md b/sa-token-doc/doc/use/many-account.md index a6cac8d0..cada9b0d 100644 --- a/sa-token-doc/doc/use/many-account.md +++ b/sa-token-doc/doc/use/many-account.md @@ -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"; + } }; ```