From 7c99a46a7242cd65e26f3bdc62a00c08f59e361c Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期二, 13 五月 2025 10:01:46 +0800 Subject: [PATCH] 集成 mybatisplus --- /dev/null | 96 ------------------------------------------------ 1 files changed, 0 insertions(+), 96 deletions(-) diff --git a/aps-modules/aps-core/src/main/resources/application.yml b/aps-modules/aps-core/src/main/resources/application.yml deleted file mode 100644 index 6e614a3..0000000 --- a/aps-modules/aps-core/src/main/resources/application.yml +++ /dev/null @@ -1,96 +0,0 @@ -server: - port: 9205 -spring: - application: - # 搴旂敤鍚嶇О - name: aps-core - cloud: - nacos: - discovery: - # 鏈嶅姟娉ㄥ唽鍦板潃 - server-addr: 192.168.50.160:8848 - namespace: aafcd57a-d0f7-43e3-a77d-1dc85aec1f0e - metadata: - local: int - config: - # 閰嶇疆涓績鍦板潃 - server-addr: 192.168.50.160:8848 - # 閰嶇疆鏂囦欢鏍煎紡 - file-extension: yml - namespace: aafcd57a-d0f7-43e3-a77d-1dc85aec1f0e - # 鍏变韩閰嶇疆 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - # spring閰嶇疆 - data: - redis: - host: 192.168.50.160 - port: 6379 - password: - datasource: - druid: - stat-view-servlet: - enabled: true - loginUsername: ruoyi - loginPassword: 123456 - dynamic: - druid: - initial-size: 5 - min-idle: 5 - maxActive: 20 - maxWait: 60000 - connectTimeout: 30000 - socketTimeout: 60000 - timeBetweenEvictionRunsMillis: 60000 - minEvictableIdleTimeMillis: 300000 - testWhileIdle: true - testOnBorrow: false - testOnReturn: false - poolPreparedStatements: true - maxPoolPreparedStatementPerConnectionSize: 20 - filters: stat,slf4j - datasource: - # 涓诲簱鏁版嵁婧� - master: - driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://192.168.50.160:5432/postgres?stringtype=unspecified - username: postgres - password: pwd@aps - # 浠庡簱鏁版嵁婧� - # slave: - # username: - # password: - # url: - # driver-class-name: - -## mybatis閰嶇疆 -#mybatis: -# # 鎼滅储鎸囧畾鍖呭埆鍚� -# typeAliasesPackage: com.aps.core -# # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 -# mapperLocations: classpath:mapper/**/*.xml -# mp閰嶇疆 -mybatis-plus: - mapper-locations: classpath:mapper/**/*.xml - type-aliases-package: com.aps.core - global-config: - db-config: - id-type: ASSIGN_ID - logic-delete-value: 1 - logic-not-delete-value: 0 - configuration: - map-underscore-to-camel-case: true - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl - - -# springdoc閰嶇疆 -springdoc: - gatewayUrl: http://localhost:8080/${spring.application.name} - api-docs: - # 鏄惁寮�鍚帴鍙f枃妗� - enabled: true - info: - # 鏍囬 - title: '绯荤粺妯″潡鎺ュ彛鏂囨。' - # 鎻忚堪 - description: '绯荤粺妯″潡鎺ュ彛鎻忚堪' \ No newline at end of file -- Gitblit v1.9.3