From dbf345c90bc8d48f600d1b8e429cd4e9332f906b Mon Sep 17 00:00:00 2001 From: liyanqi <15181887205@163.com> Date: 星期六, 10 九月 2022 01:21:55 +0800 Subject: [PATCH] 解决因spring security导致的无法跨域问题 --- ycl-platform/src/main/resources/application.yml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ycl-platform/src/main/resources/application.yml b/ycl-platform/src/main/resources/application.yml index 8753f26..28e200b 100644 --- a/ycl-platform/src/main/resources/application.yml +++ b/ycl-platform/src/main/resources/application.yml @@ -28,7 +28,7 @@ jwt: tokenHeader: Authorization #JWT瀛樺偍鐨勮姹傚ご - secret: luozi-admin-secret #JWT鍔犺В瀵嗕娇鐢ㄧ殑瀵嗛挜 + secret: platform-secret #JWT鍔犺В瀵嗕娇鐢ㄧ殑瀵嗛挜 expiration: 604800 #JWT鐨勮秴鏈熼檺鏃堕棿(60*60*24*7) tokenHead: 'Bearer ' #JWT璐熻浇涓嬁鍒板紑澶� -- Gitblit v1.8.0