- 将application.yml中的active profile由glt2改为dev - 更新application-dev.yml中的MySQL连接信息,包括url、用户名和密码 - 修改Redis服务器地址以匹配新的环境设置 - 添加新文件expert-history.json和MEMORY.md用于记录扩展历史和内存使用情况
72 lines
1.8 KiB
YAML
72 lines
1.8 KiB
YAML
# 开发环境配置
|
|
|
|
# 服务器配置
|
|
server:
|
|
port: 9200
|
|
|
|
# 数据源配置
|
|
spring:
|
|
datasource:
|
|
url: jdbc:mysql://8.134.55.105:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
|
username: modules
|
|
password: tYmmMGh5wpwXR3ae
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
# redis
|
|
redis:
|
|
database: 0
|
|
host: 8.134.55.105
|
|
port: 16379
|
|
password: redis_t74P8C
|
|
|
|
# 日志配置
|
|
logging:
|
|
level:
|
|
com.gxwebsoft: DEBUG
|
|
com.baomidou.mybatisplus: DEBUG
|
|
|
|
socketio:
|
|
host: localhost #IP地址
|
|
|
|
# MQTT配置
|
|
mqtt:
|
|
enabled: false # 添加开关来禁用MQTT服务
|
|
host: tcp://132.232.214.96:1883
|
|
username: swdev
|
|
password: Sw20250523
|
|
client-id-prefix: hjm_car_
|
|
topic: /SW_GPS/#
|
|
qos: 2
|
|
connection-timeout: 10
|
|
keep-alive-interval: 20
|
|
auto-reconnect: true
|
|
|
|
# 框架配置
|
|
config:
|
|
# 开发环境接口
|
|
server-url: https://glt-server.websoft.top/api
|
|
upload-path: /Users/gxwebsoft/Documents/uploads/ # window(D:\Temp)
|
|
|
|
# 开发环境证书配置
|
|
certificate:
|
|
load-mode: CLASSPATH # 开发环境从classpath加载
|
|
wechat-pay:
|
|
dev:
|
|
private-key-file: "apiclient_key.pem"
|
|
apiclient-cert-file: "apiclient_cert.pem"
|
|
wechatpay-cert-file: "wechatpay_cert.pem"
|
|
|
|
# 阿里云翻译配置
|
|
aliyun:
|
|
translate:
|
|
access-key-id: LTAI5tEsyhW4GCKbds1qsopg
|
|
access-key-secret: zltFlQrYVAoq2KMFDWgLa3GhkMNeyO
|
|
endpoint: mt.cn-hangzhou.aliyuncs.com
|
|
|
|
# 微信支付-商家转账(升级版)转账场景报备信息(必须与商户平台 transfer_scene_id=1005 的报备信息一致)
|
|
wechatpay:
|
|
transfer:
|
|
scene-id: 1005
|
|
scene-report-infos-json: '[{"info_type":"岗位类型","info_content":"业务员"},{"info_type":"报酬说明","info_content":"配送费"}]'
|