Răsfoiți Sursa

1、修改gateway 的yml

zhoux 1 an în urmă
părinte
comite
f931b3ac73

+ 2 - 2
src/main/resources/dev/bootstrap.yml

@@ -94,7 +94,7 @@ aes-key: b6f64c1001b04b9f
 client-app-id: 48849faf-8bbb-4a29-9548-0ba1c3df963f
 
 # token校验跳过的url,多个url用";"号隔开
-filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/oauth-server/oauth/wx/token;/oauth-server/oauth/wx/get_owner_count;/oauth-server/oauth/feign/wx/token;/user-server/core/user/qv_scan_login;/basic-server/file/upload;/oauth-server/oauth/wx/login_wechat
+filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/oauth-server/oauth/wx/token;/oauth-server/oauth/wx/get_owner_count;/oauth-server/oauth/wx/register;/oauth-server/oauth/feign/wx/token;/user-server/core/user/qv_scan_login;/basic-server/file/upload;/oauth-server/oauth/wx/login_wechat;/oauth-server/company/select_company;/oauth-server/company/update_current_cp_by_wxid
 # token校验跳过的url,多个url用";"号隔开(由于mdm服务是动态的,需要单独设置)
-mdmFilterPath: /mst/staff/get_info_after_login
+mdmFilterPath: /mst/staff/get_info_after_login;/mst/printLayout/list_by;/mst/printLayout/get_print_data
 

+ 2 - 2
src/main/resources/prod/bootstrap.yml

@@ -61,6 +61,6 @@ aes-key: b6f64c1001b04b9f
 client-app-id: 48849faf-8bbb-4a29-9548-0ba1c3df963f
 
 # token校验跳过的url,多个url用";"号隔开
-filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/user-server/core/user/qv_scan_login;/basic-server/file/upload
+filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/oauth-server/oauth/wx/token;/oauth-server/oauth/wx/get_owner_count;/oauth-server/oauth/wx/register;/oauth-server/oauth/feign/wx/token;/user-server/core/user/qv_scan_login;/basic-server/file/upload;/oauth-server/oauth/wx/login_wechat;/oauth-server/company/select_company;/oauth-server/company/update_current_cp_by_wxid
 # token校验跳过的url,多个url用";"号隔开(由于mdm服务是动态的,需要单独设置)
-mdmFilterPath: /mst/staff/get_info_after_login
+mdmFilterPath: /mst/staff/get_info_after_login;/mst/printLayout/list_by;/mst/printLayout/get_print_data

+ 2 - 2
src/main/resources/st/bootstrap.yml

@@ -61,7 +61,7 @@ aes-key: b6f64c1001b04b9f
 client-app-id: 48849faf-8bbb-4a29-9548-0ba1c3df963f
 
 # token校验跳过的url,多个url用";"号隔开
-filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/user-server/core/user/qv_scan_login;/basic-server/file/upload
+filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/oauth-server/oauth/wx/token;/oauth-server/oauth/wx/get_owner_count;/oauth-server/oauth/wx/register;/oauth-server/oauth/feign/wx/token;/user-server/core/user/qv_scan_login;/basic-server/file/upload;/oauth-server/oauth/wx/login_wechat;/oauth-server/company/select_company;/oauth-server/company/update_current_cp_by_wxid
 # token校验跳过的url,多个url用";"号隔开(由于mdm服务是动态的,需要单独设置)
-mdmFilterPath: /mst/staff/get_info_after_login
+mdmFilterPath: /mst/staff/get_info_after_login;/mst/printLayout/list_by;/mst/printLayout/get_print_data
 

+ 2 - 2
src/main/resources/test/bootstrap.yml

@@ -61,6 +61,6 @@ aes-key: b6f64c1001b04b9f
 client-app-id: 48849faf-8bbb-4a29-9548-0ba1c3df963f
 
 # token校验跳过的url,多个url用";"号隔开
-filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/user-server/core/user/qv_scan_login;/basic-server/file/upload
+filterPath: /oauth-server/oauth/token;/oauth-server/oauth/wx_token;/oauth-server/oauth/wx/token;/oauth-server/oauth/wx/get_owner_count;/oauth-server/oauth/wx/register;/oauth-server/oauth/feign/wx/token;/user-server/core/user/qv_scan_login;/basic-server/file/upload;/oauth-server/oauth/wx/login_wechat;/oauth-server/company/select_company;/oauth-server/company/update_current_cp_by_wxid
 # token校验跳过的url,多个url用";"号隔开(由于mdm服务是动态的,需要单独设置)
-mdmFilterPath: /mst/staff/get_info_after_login
+mdmFilterPath: /mst/staff/get_info_after_login;/mst/printLayout/list_by;/mst/printLayout/get_print_data