forked from yoone/API
fix: 创建运单stockPointId
This commit is contained in:
parent
5e5ed3b309
commit
4d348acf7f
|
|
@ -264,7 +264,7 @@ export class LogisticsService {
|
||||||
const shipment = await shipmentRepo.save({
|
const shipment = await shipmentRepo.save({
|
||||||
tracking_provider: 'uniuni-express', // todo: id未确定,后写进常数
|
tracking_provider: 'uniuni-express', // todo: id未确定,后写进常数
|
||||||
unique_id: resShipmentOrder.data.uni_order_sn,
|
unique_id: resShipmentOrder.data.uni_order_sn,
|
||||||
stockPointId: '1', // todo
|
stockPointId: String(data.stockPointId), // todo
|
||||||
state: resShipmentOrder.data.uni_status_code,
|
state: resShipmentOrder.data.uni_status_code,
|
||||||
return_tracking_number: resShipmentOrder.data.tno,
|
return_tracking_number: resShipmentOrder.data.tno,
|
||||||
order_id: order.id
|
order_id: order.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue