Commit 2826fff3 by 兰国旗

laolan

parent 6087d049
......@@ -47,6 +47,9 @@ class ProductAPI extends WEBBase {
case "getGoodsLowestPrice":
opResult = await this.utils360Sve.getGoodsLowestPrice(pobj.actionBody);
break;
case "getRegProducePrice":
opResult = await this.utilsProductSve.getRegProducePrice(pobj,pobj.actionBody)
break;
default:
opResult = system.getResult(null, "action_type参数错误");
}
......
......@@ -82,6 +82,17 @@ class UtilsProductService extends AppServiceBase {
}
/**
* 产品询价baidu gongshang
* @param pobj.actionType ='getRegProducePrice'
* @param actionBody
* @returns {Promise<{msg: *, data, bizmsg: *|string, status: number}>}
*/
async getRegProducePrice(pobj,actionBody){
pobj.actionType = 'getRegProducePrice'
let url = settings.centerAppUrl() + "action/opProduct/springBoard";
return await this.restPostUrl(pobj, url);
}
/**
* 获取推荐产品
* @param pobj
* @param actionBody
......
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