sync_bestshop.go 1.2 KB
package command

//接收海鲜干货的订单
type CreateOrderFromBestshop struct {
	//订单编号
	OrderCode string `json:"orderCode"`
	//下单时间
	OrderTime string `json:"orderTime"`
	//公司id
	CompanyId int64 `json:"companyId"`
	//订单状态
	OrderState int8 `json:"orderState"`
	//发货状态
	DeliveryState int8 `json:"deliveryState"`
	//买家名称
	BuyerName string `json:"buyerName"`
	BuyerId   int64  `json:"buyerId"`
	//买家电话
	BuyerPhone string `json:"buyerPhone"`
	//买家地址
	BuyerAddress string `json:"buyerAddress"`
	//买家备注
	BuyerRemark string `json:"buyerRemark"`
	//商品总数
	OrderCount int `json:"orderCount"`
	//d订单总额
	OrderAmount float64 `json:"orderAmount"`
	//发货时间
	DeliveryTime string `json:"deliveryTime"`
	PartnerId    int64  `json:"partnerId"`
	OrderArea    string `json:"orderArea"`
	//小程序id
	WxAppletId string `json:"wxAppletId"`
	Goods      []struct {
		Id int64 `json:"id"`
		//货品编号
		Sn string `json:"sn"`
		//商品编号
		Bn string `json:"bn"`
		//货品名称
		Name string `json:"name"`
		//单价
		Price float64 `json:"price"`
		//货品数量
		Nums int `json:"nums"`
		//订单总价
		Amount float64 `json:"amount"`
	} `json:"goods"`
}