Browse Source

更新

order_share_money
huangjiajun 1 month ago
parent
commit
6170a3e8ce
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      app/db/model/mall_ord.go
  2. +1
    -1
      consume/yibao_order_share_money_mall.go

+ 1
- 0
app/db/model/mall_ord.go View File

@@ -102,6 +102,7 @@ type MallOrd struct {
PayDiscountMoney string `json:"pay_discount_money" xorm:"default '0.00' comment('供应链同一商家总运费') DECIMAL(12,2)"`
IsDeductDiscount int `json:"is_deduct_discount" xorm:"comment('') INT(11)"`
IsShareMoney int `json:"is_share_money" xorm:"default 0 comment('') INT(11)"`
PayTradeNo string `json:"pay_trade_no" xorm:"comment('支付联盟支付的订单号') VARCHAR(50)"`
PayOid string `json:"pay_oid" xorm:" default '' comment('') VARCHAR(255)"`
ShareMoneyOid string `json:"share_money_oid" xorm:" default '' comment('') VARCHAR(255)"`
MerchantNo string `json:"merchant_no" xorm:" default '' comment('') VARCHAR(255)"`


+ 1
- 1
consume/yibao_order_share_money_mall.go View File

@@ -88,7 +88,7 @@ func handleZhiosYibao0rderShareMoneyMallExchange(msg []byte) error {
}
uid = v.Uid
uniqueOrderNo = v.TransactionId
payOid = v.PayOid
payOid = v.PayTradeNo
payMethod = v.PayChannel
MerchantNo = v.MerchantNo
fee = utils.StrToFloat64(v.TotalShippingFee)


Loading…
Cancel
Save