- 后端:修改配置文件,指向服务器

- 增加 .gitattributes ,解决 github 识别项目错误问题
This commit is contained in:
YunaiV
2019-05-09 19:34:31 +08:00
parent 21dbd7b8cb
commit 58525e0940
31 changed files with 252 additions and 96 deletions

View File

@@ -1,21 +0,0 @@
package cn.iocoder.mall.order.api.bo;
import java.util.List;
/**
* 商品分组 BO
*
* 主要目的是,多个商品,
*/
public class CartItemGroupBO {
/**
* TODO 芋艿,活动
*/
private Object activity;
/**
* 商品数组
*/
private List<CartItemBO> items;
}

View File

@@ -1,26 +0,0 @@
package cn.iocoder.mall.order.api.bo;
public class FeeMessageBO {
/**
* 总价
*/
private Integer originalTotal;
/**
* 优惠总价
*
* 注意,满多少元包邮,不算在优惠中。
*/
private Integer discountTotal;
/**
* 邮费
*/
private Integer postageTotal;
/**
* 最终价格
*
* 计算公式 = 总价 - 优惠总价 + 邮费
*/
private Integer presentTotal;
}

View File

@@ -0,0 +1,7 @@
spring:
# datasource
datasource:
url: jdbc:mysql://192.168.88.14:3306/mall_order?useSSL=false&useUnicode=true&characterEncoding=UTF-8
driver-class-name: com.mysql.jdbc.Driver
username: root
password: ${MALL_MYSQL_PASSWORD}

View File

@@ -24,6 +24,7 @@ dubbo:
scan:
base-packages: cn.iocoder.mall.order.biz.service
provider:
filter: -exception
CartService:
version: 1.0.0
consumer: