application.yml 1.1 KB
server:
  port: 8087
spring:
  datasource:
    local :
      driver-class-name: com.mysql.cj.jdbc.Driver
#      jdbc-url: jdbc:mysql://www.lepin51.com:23306/block_chain_test?&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&autoReconnect=true&failOverReadOnly=false&allow
#      username: root
#      password: Admin@2023@09
      jdbc-url: jdbc:mysql://rm-bp1z30vh0pyf4j013o.mysql.rds.aliyuncs.com:3306/block_service?&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&autoReconnect=true&failOverReadOnly=false&allow
      username: block
      password: Block@2022#31
    remote :
      driver-class-name: com.mysql.cj.jdbc.Driver
      jdbc-url: jdbc:mysql://192.168.31.224:3306/block_service_back?&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false&allow
      username: block
      password: Block@2024#03
mybatis-plus:
  configuration:
    map-underscore-to-camel-case: true
    executor-type: BATCH
    incomplete-statements:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl   # 显示完整sql语句

mybatis:
  executor-type: batch