Commit c518152f by linboxuan

ucommune-back operate api

parent ddaf0030
......@@ -34,8 +34,8 @@ class ProductAPI extends WEBBase {
case "getCustomerArea":// 概览-客户地域分布
opResult = await this.utilsUcommuneSve.getCustomerArea(pobj, pobj.actionBody);
break;
case "getOrderInfo":// 订单列表
opResult = await this.utilsUcommuneSve.getOrderInfo(pobj, pobj.actionBody);
case "getOrderDeliveryInfo":// 订单列表
opResult = await this.utilsUcommuneSve.getOrderDeliveryInfo(pobj, pobj.actionBody);
break;
case "getOrderDelivery":// 订单详情
opResult = await this.utilsUcommuneSve.getOrderDelivery(pobj, pobj.actionBody);
......
......@@ -64,18 +64,10 @@ class UtilsUcommuneService extends AppServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async getOrderInfo(pobj, actionBody) {
var obj = [{
orderNo:"OT37202007041210tTCU",
produuctName:"产品名字",
tmName:"商标名字",
quantity:1,
contactName:"lin",
totalSum:"300",
deliveryStatusName:"待审核",
updateAt:"2020-07-14 11:00:00"
}]
return system.getResultSuccess(obj);
async getOrderDeliveryInfo(pobj, actionBody) {
var reqUrl = this.centerOrderUrl + "action/ucommuneOrder/springBoard";
var result = await this.restPostUrl(pobj, reqUrl);
return result;
}
/**
......
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