forked from yoone/API
parent
0057585da3
commit
d884369915
|
|
@ -167,6 +167,10 @@ export class OrderService {
|
|||
});
|
||||
// 更新状态
|
||||
await this.autoUpdateOrderStatus(siteId, order);
|
||||
// 更新订单
|
||||
if (existingOrder) {
|
||||
await this.orderModel.update({ id: existingOrder.id }, { orderStatus: this.mapOrderStatus(order.status) });
|
||||
}
|
||||
const externalOrderId = order.id;
|
||||
if (
|
||||
existingOrder &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue