Commit 654250ec by linboxuan

queryTradeProduceList update

parent e75289b5
...@@ -26,25 +26,29 @@ class UtilsTmOrderCallService extends AppServiceBase { ...@@ -26,25 +26,29 @@ class UtilsTmOrderCallService extends AppServiceBase {
uapp_id: this.aliUappId uapp_id: this.aliUappId
} }
var url = this.centerOrderUrl + "action/order/springBoard"; var url = this.centerOrderUrl + "action/order/springBoard";
var res = await this.restPostUrl(pobj, url); var orderInfoRes = await this.restPostUrl(pobj, url);
console.log(res);
// 2查询渠道/商品为icp/edi的订单已经支付尾款的订单。 // 2查询渠道/商品为icp/edi的订单已经支付尾款的订单。
// 3 // 3
var obj = { var obj = {
BuyerStatus: 11, // BuyerStatus: 11,
PageNum: 1, // PageNum: 1,
PageSize: 20, // PageSize: 20,
SortFiled: "updateTime", // SortFiled: "updateTime",
SortOrder: "DESC", // SortOrder: "DESC",
}; };
var object = { var object = {
action: "QueryTradeProduceList", action: "QueryTradeProduceList",
reqbody: obj, reqbody: obj,
type: 'TM' type: 'TM'
} }
let orderList = await this.aliclient.reqbyget(object); let aliOrderList = await this.aliclient.reqbyget(object);
console.log("orderList",orderList) if(orderInfoRes) {
return system.getResultSuccess(orderList); for(var i = 0; i < orderInfoRes.length;i++) {
var orderInfo = orderInfo[i];
}
}
console.log("aliOrderList",aliOrderList)
return aliOrderList;
} }
async createjsonfile() { async createjsonfile() {
......
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 to comment