From de91c84954157bb9f8b6d938cbe0b1b51fb6e65d Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期五, 07 五月 2021 15:23:57 +0800 Subject: [PATCH] bugfixed:新增便民服务商家 报错 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/SecurityConstants.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/SecurityConstants.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/SecurityConstants.java new file mode 100644 index 0000000..f4b32db --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/SecurityConstants.java @@ -0,0 +1,20 @@ +package com.panzhihua.common.constants; + +/** + * @program: springcloud_k8s_panzhihuazhihuishequ + * @description: 权限 + * @author: huang.hongfa weixin hhf9596 qq 959656820 + * @create: 2020-11-25 15:13 + **/ +public class SecurityConstants { + + public static final String ROLE_ALL="springsecurity:role:all";//平台所有权限存储在redis + public static final String ROLE_USER="springsecurity:role:";//某个用户的具体权限 + public static final String ROLE_APPLETS="applets";//小程序用户通用角色 + public static final String APPLETS_ACCESS_TOKEN ="APPLETS_ACCESS_TOKEN";//小程序获取的access_token + public static final String APPLETS_ACCESS_TOKEN_TIME ="APPLETS_ACCESS_TOKEN_TIME";//小程序获取的access_token + public static final String APPLETS_ACCESS_MEDIA_ID ="APPLETS_ACCESS_MEDIA_ID";//小程序获取的access_token + public static final String APPLETS_ACCESS_MEDIA_ID_TIME ="APPLETS_ACCESS_MEDIA_ID_TIME";//小程序获取的access_token + + +} -- Gitblit v1.7.1