1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

后端微服务框架初步完成(还没跑起来)

This commit is contained in:
2022-10-23 11:43:25 +08:00
parent a410d97efd
commit 1f8099b4f5
42 changed files with 1595 additions and 646 deletions

View File

@@ -0,0 +1,21 @@
server:
port: 8001
# Mybatis 配置
mybatis:
type-aliases-package: com.cxyxiaomo.epp.pojo
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
configuration:
map-underscore-to-camel-case: on
# Spring 配置
spring:
application:
name: microservice-provider-user
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: root