Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzhx76 committed Sep 29, 2017
1 parent b0128de commit 466b512
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shop-service-order/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ eureka:

spring:
application:
name: user-service
name: order-service
datasource:
name: service-user
name: service-order
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/wx-shop
username: root
Expand Down Expand Up @@ -39,7 +39,7 @@ mybatis:
type-aliases-package: com.github.chengzhx76.service.order.api.entity
mapper-locations: classpath:mapper/*.xml
configuration:
database-id: service-user
database-id: service-order
# 开启字段名和属性名驼峰匹配
map-underscore-to-camel-case: true
# 全局启用或禁用延迟加载。当禁用时,所有关联对象都会即时加载
Expand Down

0 comments on commit 466b512

Please sign in to comment.