+ GoodsOrder添加EarningPrice表示结算给门店的金额

This commit is contained in:
gazebo
2019-06-19 22:45:14 +08:00
parent 9360f11da9
commit 7a4eb0cce3
4 changed files with 32 additions and 10 deletions

View File

@@ -22,6 +22,7 @@ type GoodsOrder struct {
ActualPayPrice int64 `json:"actualPayPrice"` // 单位为分 顾客实际支付
TotalShopMoney int64 `json:"totalShopMoney"` // 应结金额-第三方平台结算给京西的金额(包括了所有的补贴,扣除)
PmSubsidyMoney int64 `json:"pmSubsidyMoney"` // 平台活动补贴(订单主体活动补贴+订单单条sku补贴1+
EarningPrice int64 `json:"earningPrice"` // 结算给门店老板的钱(未扣除可能的三方配送费)
Weight int `json:"weight"` // 单位为克
ConsigneeName string `orm:"size(32)" json:"consigneeName"`
ConsigneeMobile string `orm:"size(32)" json:"consigneeMobile"`