From b68185aed1a86536b01fdfbca6b2cca7bd71a50f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 23 三月 2024 17:12:18 +0800 Subject: [PATCH] 增加token验证和数据权限过滤 --- conf/config.go | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/conf/config.go b/conf/config.go index a8f58ac..3201a3d 100644 --- a/conf/config.go +++ b/conf/config.go @@ -23,14 +23,14 @@ type ( webConf struct { - Host string // 鏈満ip鍦板潃 - Port string // 绔彛鍙� - APPort string // 鏈満浣滀负鐨凣rpc鏈嶅姟绔殑绔彛鍙� - AlHost string // 绠楁硶鏈嶅姟ip鍦板潃 - AlPort string // 绠楁硶鏈嶅姟绔彛鍙� - NodeId string // 涓昏处鎴风敤鎴峰悕 - OssType string // 瀵硅薄瀛樺偍绫诲瀷 - JWTSecret string + Host string // 鏈満ip鍦板潃 + Port string // 绔彛鍙� + APPort string // 鏈満浣滀负鐨凣rpc鏈嶅姟绔殑绔彛鍙� + AlHost string // 绠楁硶鏈嶅姟ip鍦板潃 + AlPort string // 绠楁硶鏈嶅姟绔彛鍙� + NodeId string // 涓昏处鎴风敤鎴峰悕 + OssType string // 瀵硅薄瀛樺偍绫诲瀷 + JWTKey string } nsqConf struct { -- Gitblit v1.8.0