- fix dada origin_mark_no error.
This commit is contained in:
@@ -94,7 +94,7 @@ func (c *WaybillController) CreateWaybill(order *model.GoodsOrder) (err error) {
|
||||
addParams := map[string]interface{}{
|
||||
"info": order.BuyerComment,
|
||||
// "origin_mark": model.VendorNames[order.VendorID],
|
||||
"origin_mark_no": fmt.Sprintf("#%d", order.OrderSeq),
|
||||
"origin_mark_no": fmt.Sprintf("%d", order.OrderSeq),
|
||||
}
|
||||
_, err = api.DadaAPI.AddOrder(billParams, addParams)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user