1
This commit is contained in:
@@ -291,6 +291,12 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
|
||||
if order.StoreID > math.MaxInt32 {
|
||||
order.StoreID = 0
|
||||
}
|
||||
|
||||
sendFeeDetail := utils.MustInterface2Int64(orderMap["send_fee_detail"].(map[string]interface{})["one_on_one_delivery_fee"])
|
||||
if sendFeeDetail > 0 {
|
||||
order.CouponIDs += ",11003"
|
||||
}
|
||||
|
||||
order.Status = p.getStatusFromVendorStatus(order.VendorStatus)
|
||||
if order.Status >= model.OrderStatusEndBegin {
|
||||
order.OrderFinishedAt = time.Now()
|
||||
|
||||
Reference in New Issue
Block a user