Commit ddaf0030 by linboxuan

ucommune-back operate api

parent b0542edd
...@@ -43,11 +43,9 @@ class UtilsUcommuneService extends AppServiceBase { ...@@ -43,11 +43,9 @@ class UtilsUcommuneService extends AppServiceBase {
* @param {*} actionBody * @param {*} actionBody
*/ */
async getProductTypesales(pobj, actionBody) { async getProductTypesales(pobj, actionBody) {
var obj = { var reqUrl = this.centerOrderUrl + "action/ucommuneOrder/springBoard";
productType : ["sbzc"], var result = await this.restPostUrl(pobj, reqUrl);
sum : [666] return result;
}
return system.getResultSuccess(obj);
} }
/** /**
...@@ -56,17 +54,9 @@ class UtilsUcommuneService extends AppServiceBase { ...@@ -56,17 +54,9 @@ class UtilsUcommuneService extends AppServiceBase {
* @param {*} actionBody * @param {*} actionBody
*/ */
async getCustomerArea(pobj, actionBody) { async getCustomerArea(pobj, actionBody) {
var obj = [ var reqUrl = this.centerOrderUrl + "action/ucommuneOrder/springBoard";
{name:"北京",value:1}, var result = await this.restPostUrl(pobj, reqUrl);
{name:"西藏",value:1}, return result;
{name:"天津",value:1},
{name:"新疆",value:1},
{name:"青海",value:1},
{name:"甘肃",value:1},
{name:"宁夏",value:1},
{name:"台湾",value:1}
]
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