From 641c942d8dd635549852727365726c45848ab698 Mon Sep 17 00:00:00 2001 From: zhouhefeng Date: Thu, 18 Jun 2026 09:05:09 +0800 Subject: [PATCH] commit --- src/main/resources/application-dev.yaml | 55 ++++++++----------------- 1 file changed, 17 insertions(+), 38 deletions(-) diff --git a/src/main/resources/application-dev.yaml b/src/main/resources/application-dev.yaml index 4935196..67ff5c6 100644 --- a/src/main/resources/application-dev.yaml +++ b/src/main/resources/application-dev.yaml @@ -1,6 +1,6 @@ nutz: application: - name: zhgh_cug_v4 + name: zhgh_jsahvc mvc: ignore: ^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|html|mp3|mp4|ico|svg|vue)$ exclusions: /favicon/*,/assets/*,/druid/*,/upload/*,/components/* @@ -21,7 +21,7 @@ jetty: #结合ftp使用,或用nginx代理ftp路径 #staticPath: /Users/wizzer/temp/files #开发模式静态资源 - staticPathLocal: E:/projects/zhgh_cug_v4/src/main/resources/static + staticPathLocal: E:/projects/zhgh_jsahvc_new/src/main/resources/static security: tokenName: saToken @@ -49,7 +49,6 @@ cas: enable: false server-url-prefix: https://i.njupt.edu.cn/cas server-login-url: https://i.njupt.edu.cn/cas/login - qi-wx-server-login-url: httos:/cas.whcp.eou.cn/lyuapServer/wechatauz/wxAuthRedirect client-host-url: https://zhgh.njupt.edu.cn client-call-back-url: /platform/sso/login validation-type: cas @@ -71,8 +70,9 @@ redis: #nodes=192.168.6.31:6377,192.168.6.31:6378,192.168.6.28:6377,192.168.6.28:6378,192.168.6.34:6377,192.168.6.34:6378 jdbc: - url: jdbc:mysql://192.168.21.215:3306/zhgh_cug_v4?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://192.168.21.215:3306/zhgh_jsahvc_new?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true username: root + # password: wqnmd2331 password: root validationQuery: select 1 maxActive: 1000 @@ -87,7 +87,7 @@ xsssql: beetl: RESOURCE: #本地路径,开发时设置本地路径,便于调试 - rootLocal: E:/projects/zhgh_cug_v4/src/main/resources/views/ + rootLocal: E:/projects/zhgh_jsahvc_new/src/main/resources/views/ root: views/ DELIMITER_STATEMENT_START: "" @@ -165,40 +165,19 @@ minio: endPoint: http://192.168.21.214:9000 bucket: njupt -data-center: - grant_type: password - scope: read - username: 3848A3C738EFBB2C2E76E0D59B419DACA16A80F3AB0354CD - password: 3848A3C738EFBB2C2E76E0D59B419DACA16A80F3AB0354CD - token-url: https://bd.whcp.edu.cn/sjjkfwpt/api/bd-api/oauth/token - urls: - teacher: https://bd.whcp.edu.cn/sjjkfwpt/api/bd-api/get/JZGJCSJZLB - unit: https://bd.whcp.edu.cn/sjjkfwpt/api/bd-api/get/YXSDWJBSJZLB -msg: - platform: +sms: + aliyun: + # 是否启用阿里云短信。未启用时不会调用阿里云,避免开发环境误发短信。 enabled: false - # 地大通讯平台基础地址,默认对接正式地址 - base-url: https://msg.cug.edu.cn - # 授权系统名称,对应文档中的 tp_name - tp-name : nwszl.cug.edu.cn - # 便捷发送方法默认发送人工号,controller 只传接收人和内容时会读取这里 - default-send-user-id: 790036 - # 便捷发送方法默认发送人姓名,controller 只传接收人和内容时会读取这里 - default-send-user-name: 周斐霏 - # 便捷发送方法默认发送机构ID,可不填 - default-send-unit-id: 421 - # 便捷发送方法默认发送机构名称,可不填 - default-send-unit-name: 工会 - # 便捷发送方法默认签名,可不填 - default-send-user-sign: - #短信中如果不包含链接和电话,可以使用公共模板ID: - default-template-id: 1978744168869937153 - # 原始密钥,未提前加密时可直接填这里,程序会按 Base64 后 SHA 自动计算 secret_key - raw-secret-key: Z21kbDlwYWJ4c2Vtbnk4NjlxeQ== - # 如果对方已经提供了可直接使用的 secret_key,也可以直接配置该值,优先级高于 raw-secret-key - encrypted-secret-key: - # HTTP连接超时时间,单位毫秒 + endpoint: dysmsapi.aliyuncs.com + access-key-id: LTAI5t6CeHgF4fnsXca8Xwee + access-key-secret: 09hqxEplUSAgwn02Pzv4UuAoUxZoD2 + # 阿里云短信签名名称,必须使用审核通过的签名。 + sign-name: 江苏农牧科技职业学院 + # 阿里云短信模板 Code,必须使用审核通过的模板。 + template-code: SMS_508220213 + # 模板变量名。例如模板内容为“您有一条待办:${title}”,这里填 title。 + template-param-name: title connect-timeout: 5000 - # HTTP读取超时时间,单位毫秒 read-timeout: 10000