1
This commit is contained in:
@@ -95,7 +95,7 @@ type BaseRespInfo struct {
|
||||
//计算订单价格请求体
|
||||
type GetOrderPriceReq struct {
|
||||
//必填
|
||||
BaseReqInfo *BaseReqInfo
|
||||
//BaseReqInfo *BaseReqInfo
|
||||
OriginID string `json:"origin_id"` //第三方对接平台订单id
|
||||
FromAddress string `json:"from_address"` //发货地址
|
||||
ToAddress string `json:"to_address"` //收货人地址
|
||||
@@ -106,18 +106,18 @@ type GetOrderPriceReq struct {
|
||||
FromLat string `json:"from_lat"` //发货地址坐标纬度(坐标系为百度地图坐标系)
|
||||
FromLng string `json:"from_lng"` //发货地址坐标经度(坐标系为百度地图坐标系)
|
||||
//非必填
|
||||
FromUserNote string `json:"from_usernote"` //发货详细地址具体门牌号或门店名称
|
||||
ToUserNote string `json:"to_usernote"` //收货人详细地址具体门牌号
|
||||
CountyName string `json:"county_name"` //订单所在县级地名称(如金水区就填“金水区”)
|
||||
SubscribeTime string `json:"subscribe_time"` //预约时间(如:2015-06-18 12:00:00)没有可以传空字符串
|
||||
SubscribeType string `json:"subscribe_type"` //预约类型 0实时订单 1预约取件时间
|
||||
GoodsType string `json:"goods_type"` //物品类型:(美食、鲜花、蛋糕、手机、钥匙、文件、其他)仅支持指定类型不包含按其他发布
|
||||
CouponID string `json:"coupon_id"` //优惠券ID(如果传入-1就不用优惠券否则系统自动匹配)
|
||||
CouponType string `json:"coupon_type"` //优惠券类型 默认空 个人优惠券 1=企业优惠券(必须企业帐号才可以使用)
|
||||
GoodsWeight int `json:"goods_weight"` //物品重量单位:KG(按城市标准进行超重计费)
|
||||
ShopID float64 `json:"shop_id"` //门店编号(门店列表可查看门店编号)
|
||||
GoodsPrice int `json:"goods_price"` //商品保价:价格(1-10000)按照一定费率收取保价费用
|
||||
UrgentOrder string `json:"urgent_order"` //加急配送默认不开启(0=正常配送 1=开启加急配送)
|
||||
//FromUserNote string `json:"from_usernote"` //发货详细地址具体门牌号或门店名称
|
||||
//ToUserNote string `json:"to_usernote"` //收货人详细地址具体门牌号
|
||||
//CountyName string `json:"county_name"` //订单所在县级地名称(如金水区就填“金水区”)
|
||||
//SubscribeTime string `json:"subscribe_time"` //预约时间(如:2015-06-18 12:00:00)没有可以传空字符串
|
||||
//SubscribeType string `json:"subscribe_type"` //预约类型 0实时订单 1预约取件时间
|
||||
//GoodsType string `json:"goods_type"` //物品类型:(美食、鲜花、蛋糕、手机、钥匙、文件、其他)仅支持指定类型不包含按其他发布
|
||||
//CouponID string `json:"coupon_id"` //优惠券ID(如果传入-1就不用优惠券否则系统自动匹配)
|
||||
//CouponType string `json:"coupon_type"` //优惠券类型 默认空 个人优惠券 1=企业优惠券(必须企业帐号才可以使用)
|
||||
//GoodsWeight int `json:"goods_weight"` //物品重量单位:KG(按城市标准进行超重计费)
|
||||
//ShopID int64 `json:"shop_id"` //门店编号(门店列表可查看门店编号)
|
||||
//GoodsPrice int `json:"goods_price"` //商品保价:价格(1-10000)按照一定费率收取保价费用
|
||||
//UrgentOrder string `json:"urgent_order"` //加急配送默认不开启(0=正常配送 1=开启加急配送)
|
||||
}
|
||||
|
||||
//计算订单价格返回体
|
||||
|
||||
Reference in New Issue
Block a user