- don't unrolling order status.
This commit is contained in:
@@ -92,9 +92,9 @@ func (c *WaybillController) CreateWaybill(order *model.GoodsOrder) (err error) {
|
||||
if billParams.CityCode, err = c.getDataCityCodeFromOrder(order); err == nil {
|
||||
billParams.ReceiverLng, billParams.ReceiverLat, _ = jxutils.IntCoordinate2MarsStandard(order.ConsigneeLng, order.ConsigneeLat, order.CoordinateType)
|
||||
addParams := map[string]interface{}{
|
||||
"info": order.BuyerComment,
|
||||
"origin_mark": model.VendorNames[order.VendorID],
|
||||
"origin_mark_no": utils.Int2Str(order.VendorID),
|
||||
"info": order.BuyerComment,
|
||||
// "origin_mark": model.VendorNames[order.VendorID],
|
||||
"origin_mark_no": fmt.Sprintf("#%d", order.OrderSeq),
|
||||
}
|
||||
_, err = api.DadaAPI.AddOrder(billParams, addParams)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user