用3.0脚手架

This commit is contained in:
houjishuang
2025-05-27 15:33:28 +08:00
parent fae4ee2329
commit 6effe2afd1
70 changed files with 56 additions and 3036 deletions

View File

@ -2,34 +2,14 @@ server:
port: 18096
servlet:
context-path: /
#seata:
# service:
# vgroup-mapping:
# biz-supplier-manage-service-group: seata-server-jl
# registry:
# type: eureka
# eureka:
# serviceUrl: http://localhost:8080/eureka/
# 对应 apollo 配置中心的应用名
app:
id: biz-supplier-manage
# Apollo 配置信息
apollo:
meta: http://localhost:8070
bootstrap:
namespace: application
enabled: true
eagerLoad:
enabled: true
spring:
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:18848
aop:
auto: true #开启spring的aop配置
proxy-target-class: true
application:
name: biz-supplier-manage
@ -41,8 +21,8 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: Unicom@2024
jdbc-url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
jdbc-url: jdbc:mysql://59.110.10.99:53306/cosco_supplier_manager?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://59.110.10.99:53306/cosco_supplier_manager?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
filters: stat,wall,log4j
maxActive: 20
initialSize: 1
@ -94,19 +74,12 @@ spring:
redis:
host: localhost # Redis 服务器地址,默认本地:ml-citation{ref="1,4" data="citationList"}
port: 6379 # 监听端口,默认 6379:ml-citation{ref="1,4" data="citationList"}
password: Yhblsqt%21 # 访问密码(若无密码可省略):ml-citation{ref="1,4" data="citationList"}
database: 4 # 选择数据库编号,默认 0:ml-citation{ref="1,6" data="citationList"}
# password: Yhblsqt%21 # 访问密码(若无密码可省略):ml-citation{ref="1,4" data="citationList"}
# database: 4 # 选择数据库编号,默认 0:ml-citation{ref="1,6" data="citationList"}
timeout: 3000 # 连接超时时间(单位:毫秒):ml-citation{ref="4,6" data="citationList"}
# 天宫Eureka配置
eureka:
client:
service-url:
defaultZone: http://localhost:8080/eureka/
instance:
prefer-ip-address: true
instance-ip: ${spring.cloud.client.ip-address}:${server.port}
mybatis-plus:
configuration:
@ -115,7 +88,7 @@ mybatis-plus:
auto-mapping-behavior: full
# 这个配置会将执行的sql打印出来在开发或测试的时候可以用
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:com/chinaunicom/mall/ebtp/**/mapper/*Mapper.xml
mapper-locations: classpath*:com/chinaunicom/zyhy/ebtp/supplier/**/mapper/*Mapper.xml
global-config:
# 逻辑删除配置
db-config: