1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mtwmapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
@@ -56,7 +57,8 @@ func (a *API) GetStoreBillList(param *Bill) (map[string]*SettleOrderList, []*Bil
|
||||
if settleID == 0 {
|
||||
settleID = utils.Str2Int64(data.Data[i].SettleSettingId)
|
||||
}
|
||||
|
||||
fmt.Println(fmt.Sprintf("------:%d", data.Data[i].PromotionServiceFee))
|
||||
fmt.Println(fmt.Sprintf("------2:%d", data.Data[i].BillChargeType))
|
||||
//settle, ok := orderSettle[data.Data[i].WmOrderViewId]
|
||||
//if !ok {
|
||||
// settle = &SettleOrderList{OrderId: data.Data[i].WmOrderViewId}
|
||||
@@ -148,6 +150,7 @@ type BillListData struct {
|
||||
UserPayShippingAmount int64 `json:"userPayShippingAmount"` // 用户支付配送费,为运费优惠前的金额,单位分。
|
||||
UserOnlinePayAmount int64 `json:"userOnlinePayAmount"` // 用户在线支付金额,为用户实际支付的订单总金额,单位分。
|
||||
UserOfflinePayAmount int64 `json:"userOfflinePayAmount"` // 用户线下支付金额,单位分。目前美团订单仅支持在线支付。
|
||||
PromotionServiceFee int64 `json:"promotionServiceFee"` // 推广服务费,单位分
|
||||
Rate int64 `json:"rate"` // 平台服务费的费率,单位百分比(%)。是商家在美团平台建店时,与美团协议约定的每单抽佣比例。
|
||||
Bottom int64 `json:"bottom"` // 保底金额,单位元。是商家在美团平台建店时,与美团协议约定的每单保底抽佣金额。
|
||||
RefundId int64 `json:"refund_id"` // 退款id,与订单退款消息接口中退款id的值相对应。 目前只有在结算类型(billChargeType)为:2,6,7,26,27时,该字段会有合法值;其他结算类型下,该字段值无意义。当billChargeType=2时,该字段的取值与订单ID相同。
|
||||
|
||||
Reference in New Issue
Block a user