Commit c518152f by linboxuan

ucommune-back operate api

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