From f13ecab65e9bf6b4192b3ade8c02a6e6f15320c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Mon, 1 Aug 2022 23:53:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Etoken=E7=9A=84redis?= =?UTF-8?q?=E7=9A=84prefix=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/youlai/common/constant/SecurityConstants.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youlai-common/common-core/src/main/java/com/youlai/common/constant/SecurityConstants.java b/youlai-common/common-core/src/main/java/com/youlai/common/constant/SecurityConstants.java index 776182daf..1a2bf9250 100644 --- a/youlai-common/common-core/src/main/java/com/youlai/common/constant/SecurityConstants.java +++ b/youlai-common/common-core/src/main/java/com/youlai/common/constant/SecurityConstants.java @@ -91,7 +91,7 @@ public interface SecurityConstants { String APP_CLIENT_ID = "mall-app"; /** - * 小程序端(微信小程序、....) 客户端ID + * 微信小程序客户端ID */ String WEAPP_CLIENT_ID = "mall-weapp"; @@ -112,4 +112,6 @@ public interface SecurityConstants { List PROD_FORBID_METHODS= Arrays.asList("PUT","DELETE"); + String TOKEN_PREFIX="auth:token:"; + }