Compare commits

..

No commits in common. "cf2bc93e78f1830595e5582fda1193cb5204c255" and "2d2edd7210fa47cdfecf26cd99e43bdc599fa4bf" have entirely different histories.

2 changed files with 9 additions and 11 deletions

View File

@ -23,11 +23,11 @@ spring.datasource:
datasource: datasource:
# 主库配置(可配多个,构成多主) # 主库配置(可配多个,构成多主)
digital_human: digital_human:
# url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:13307}/${DB_NAME:digital_human}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false&allowPublicKeyRetrieval=true # url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:digital_human}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://43.248.131.153:13307/digital_human?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false url: jdbc:mysql://106.54.11.219:3306/digital_human?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&autoReconnect=true&maxReconnects=10&failOverReadOnly=false
username: ${DB_USER:digital_human} username: ${DB_USER:root}
# password: ${DB_PWD:147369Wan} # password: ${DB_PWD:147369Wan}
password: ${DB_PWD:digitalHuman@2026} password: ${DB_PWD:123456}
# password: ${DB_PWD:C9MUjc5ChtqHeCtQ} # password: ${DB_PWD:C9MUjc5ChtqHeCtQ}
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
type: ${spring.datasource.type} type: ${spring.datasource.type}
@ -56,15 +56,15 @@ spring.data:
## Redis 配置(单机模式) ## Redis 配置(单机模式)
redis: redis:
# 地址 # 地址
host: 43.248.131.153 host: 106.54.11.219
# host: 106.54.11.219 # host: 106.54.11.219
# 端口(默认 6379 # 端口(默认 6379
port: 16379 port: 6379
# port: 16380 # port: 16380
# 密码(未设置密码时请注释掉) # 密码(未设置密码时请注释掉)
password: 654321 password: 123456
# 数据库索引 # 数据库索引
database: ${REDIS_DB:10} database: ${REDIS_DB:11}
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
# 是否开启 SSL # 是否开启 SSL

View File

@ -23,6 +23,4 @@ CREATE TABLE IF NOT EXISTS `t_task_record_history` (
`type` tinyint DEFAULT NULL COMMENT '消费类型0充点1按次数2按点数', `type` tinyint DEFAULT NULL COMMENT '消费类型0充点1按次数2按点数',
`account_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '从哪个账户进行的扣费', `account_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '从哪个账户进行的扣费',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=791699284218093843 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='换哒-任务生成记录'; ) ENGINE=InnoDB AUTO_INCREMENT=791699284218093843 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='换哒-任务生成记录';