Commit d305fac5 by 宋毅

tj

parent 35b95b98
...@@ -8,7 +8,10 @@ class UtilsFqAliyunSve extends AppServiceBase { ...@@ -8,7 +8,10 @@ class UtilsFqAliyunSve extends AppServiceBase {
constructor() { constructor() {
super(); super();
} }
async pushBusiness(actionBody) { async pushOldNeedBusiness(actionBody) {//推送旧的需求商机
return system.getResultSuccess();
}
async pushOrderBusiness(actionBody) {//推送订单商机
var orderInfo = actionBody.order_info; var orderInfo = actionBody.order_info;
if (!orderInfo) { if (!orderInfo) {
return ""; return "";
...@@ -37,7 +40,7 @@ class UtilsFqAliyunSve extends AppServiceBase { ...@@ -37,7 +40,7 @@ class UtilsFqAliyunSve extends AppServiceBase {
productId: productInfo.price_item.service_code,// 是 产品 ID productId: productInfo.price_item.service_code,// 是 产品 ID
productQuantity: orderInfo.quantity,// 是 产品数量 productQuantity: orderInfo.quantity,// 是 产品数量
}; };
var result = this.opAliyunClientPost("pushBusiness", interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, params); var result = this.opAliyunClientPost("pushOrderBusiness", interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, params);
} }
async opAliyunClientPost(methodName, url, key, secret, params) { async opAliyunClientPost(methodName, url, key, secret, params) {
......
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