This commit is contained in:
邹宗楠
2023-04-25 16:31:08 +08:00
parent 98a74e5379
commit f9ee68cef3
3 changed files with 64 additions and 9 deletions

View File

@@ -4,6 +4,12 @@ import (
"git.rosy.net.cn/baseapi/utils"
)
const (
BillChargeTypeOrder = 1 // 外卖订单
BillChargeTypeWayBillFee = 3 // 配送费
BillChargeTypeTimingFee = 10 // 定时宝,保险费
)
type Bill struct {
AppPoiCode string `json:"app_poi_code"` // APP方门店id传商家中台系统里门店的编码。如商家在操作绑定门店至开放平台应用中时未绑定三方门店id信息则默认APP方门店id与美团门店id相同。
StartDate int64 `json:"start_date"` // 秒级时间戳
@@ -49,8 +55,8 @@ type StoreBillListReq struct {
// StoreBillListRes 门店结算返回值
type StoreBillListRes struct {
ExtraInfo ExtraInfoData `json:"extra_info"`
Data []*BillListData `json:"data"`
ExtraInfo ExtraInfoData `json:"extra_info"`
Data []BillListData `json:"data"`
}
type ExtraInfoData struct {