1
This commit is contained in:
@@ -34,28 +34,7 @@ func checkWayFeeIsTrue(param *model.MakeOrderParamReq) error {
|
||||
}
|
||||
|
||||
// 创建QBiDa订单
|
||||
func createOtherOrder(param *model.MakeOrderParamReq) (string, error) {
|
||||
func createOtherOrder(param *bida.MakeOrderReq) (string, error) {
|
||||
// 创建三方订单
|
||||
return api.QBiDaAPI.CreateOrder(&bida.MakeOrderReq{
|
||||
PromiseTimeType: param.PromiseTimeType,
|
||||
DeliveryType: param.DeliveryType,
|
||||
Goods: param.Goods,
|
||||
GuaranteeValueAmount: param.GuaranteeValueAmount,
|
||||
Weight: param.Weight,
|
||||
Length: param.Length,
|
||||
Height: param.Height,
|
||||
Width: param.Width,
|
||||
OrderSendTime: param.OrderSendTime,
|
||||
PackageNum: param.PackageNum,
|
||||
ReceiveAddress: param.ReceiveAddress,
|
||||
ReceiveName: param.ReceiveName,
|
||||
ReceivePhone: param.ReceivePhone,
|
||||
Remark: param.Remark,
|
||||
SenderAddress: param.SenderAddress,
|
||||
SenderName: param.SenderName,
|
||||
SenderPhone: param.SenderPhone,
|
||||
ThirdPlatform: param.ThirdPlatform,
|
||||
Type: param.Type,
|
||||
Img: param.Img,
|
||||
})
|
||||
return api.QBiDaAPI.CreateOrder(param)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user