From 23c4967b4cb8dbce8277f830f7152d315c5a4a57 Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期一, 25 十二月 2023 09:25:17 +0800 Subject: [PATCH] 12.25 --- guns-admin/src/main/resources/application-dev.yml | 33 ++++++++++++++++++++++++--------- 1 files changed, 24 insertions(+), 9 deletions(-) diff --git a/guns-admin/src/main/resources/application-dev.yml b/guns-admin/src/main/resources/application-dev.yml index 699d1aa..7044032 100644 --- a/guns-admin/src/main/resources/application-dev.yml +++ b/guns-admin/src/main/resources/application-dev.yml @@ -1,12 +1,12 @@ server: - port: 81 + port: 82 spring: datasource: type: com.alibaba.druid.pool.DruidDataSource - url: jdbc:mysql://127.0.0.1:3306/rental_house_applet?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai + url: jdbc:mysql://192.168.110.64:3306/rental_house_applet?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai username: root - password: 123456 + password: root db-name: rental_house_applet #用来搜集数据库的所有表 filters: wall,mergeStat @@ -16,7 +16,7 @@ open: false #生产环境设置true 读写分离(从数据库) url: jdbc:mysql://127.0.0.1:3306/rental_house_applet?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai username: root - password: 123456 + password: root dataSourceNames: - dataSourceGuns - dataSourceBiz @@ -27,8 +27,8 @@ grantType: authorization_code #填authorization_code appid: 11 #应用唯一标识,在微信开放平台提交应用审核通过后获得 appSecret: 11 #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得 - appletsAppid: 111 #小程序APPid - appletsAppSecret: 1111 # + appletsAppid: wx6ecd78982c8c401c #小程序APPid + appletsAppSecret: 9d0cdb19e0d54301abcda3a1dcfd8389 # officialAccountAppid: 11111 officialAccountAppSecret: 1111 webAppId: 111 @@ -53,10 +53,25 @@ max-idle: 100 min-idle: 0 - - --- spring: data: mongodb: - uri: mongodb://127.0.0.1:27017/admin \ No newline at end of file + # 指定MongoDB服务地址 + host: 192.168.110.64 + # 指定端口,默认就为27017 + port: 27017 + # 指定使用的数据库(集合) + database: applet + # 登录认证的逻辑库名 + authentication-database: applet + # 用户名 + username: root + # 密码 + password: root +--- +oss: + endpoint: oss-cn-hongkong.aliyuncs.com + accessKeyId: LTAI5tQZzqsZYX5gw8yRNchQ + accessKeySecret: 5yJVdXwRzwPZwKKXp07lRAc7tkTxQp + bucketName: bizuphk -- Gitblit v1.7.1