Commit 83173546 by Sixong.Zhu

u

parent 86f18628
Showing with 5 additions and 1 deletions
......@@ -31,10 +31,14 @@ class OrderService {
productId: string | number;
srcPlatform: SrcPlatform;
createdType: OperationType;
/**
* 是否强制开启新订单,默认如果有已存在处理中的订单时会直接返回
*/
forceNewOrder?: boolean;
}) {
return this.getSdk()
.model(this.generalOrder)
.action("addOrder")
.action(params.forceNewOrder ? "addOrder" : 'getOrAddOrder')
.addInputs_parameter({
ProductId: params.productId,
SrcPlatform: params.srcPlatform,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment