From c20bbd2cf4e574bd5353383e78631a47cc1c6c82 Mon Sep 17 00:00:00 2001 From: Li <774412461@qq.com> Date: Wed, 14 Aug 2024 10:39:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E7=A7=91=E5=A4=A7=E8=AE=AF=E9=A3=9E?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE=E7=94=B1=E5=8E=9F=E6=9D=A5=E7=9A=84?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=AE=E6=94=B9=E4=B8=BA=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=9A=82=E6=97=B6=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 18cfc64..6f6fc8d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -33,22 +33,29 @@ spring: resourceserver: jwt: issuer-uri: https://login.partner.microsoftonline.cn/4807e9cf-87b8-4174-aa5b-e76497d7392b/v2.0 - audiences: 72643704-b2e7-4b26-b881-bd5865e7a7a5 - + audiences: 72643704-b2e7-4b26-b881-bd5865e7a7a +#企业账户秘钥 spark: gpt: - endpoint: https://spark-api.xf-yun.com/v3.1/chat - appId: c49d1e24 - apiKey: 6c586e7dd1721ed1bb19bdb573b4ad34 - apiSecret: MDU1MTU1Nzg4MDg2ZTJjZWU3MmI4ZGU1 + endpoint: https://spark-api.xf-yun.com/v3.5/chat + appId: 7971f265 + apiKey: 866cd866de47fd55d3bac79ecbfcdae3 + apiSecret: MDQ3YzFlNzI0MDEzMjgwYmJkNGFhOTkz cache_timeout: 1800000 # 30min cache_context: 3 - +#个人账户秘钥 + #spark: + #gpt: + #endpoint: https://spark-api.xf-yun.com/v3.1/chat + #appId: c49d1e24 + #apiKey: 6c586e7dd1721ed1bb19bdb573b4ad34 + #apiSecret: MDU1MTU1Nzg4MDg2ZTJjZWU3MmI4ZGU1 + #cache_timeout: 1800000 # 30min + #cache_context: 3 jwt: secret: fXO6ko/qyXeYrkecPeKdgXnuLXf9vMEtnBC9OB3s+aA= - # 钉钉 webhook ding: server-url: https://oapi.dingtalk.com/robot/send?access_token=32d9b24f69c2c4fd7c2dab43268b6258a7214d2620e0805d7b6d1429003b64b6