1
This commit is contained in:
@@ -322,7 +322,9 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
|
||||
tagList := utils.Interface2Int64List(orderData["order_tag_list"].([]interface{}))
|
||||
tagListStr := make([]string, len(tagList), len(tagList))
|
||||
for _, v := range tagList {
|
||||
tagListStr = append(tagListStr, utils.Int64ToStr(v))
|
||||
if v == 11003 || v == 11002 { // 主单模式1v1急送订单
|
||||
tagListStr = append(tagListStr, utils.Int64ToStr(v))
|
||||
}
|
||||
}
|
||||
order.CouponIDs = strings.Join(tagListStr, ",")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user