Commit d9ccae62 by 宋毅

Merge branch 'igirl-channel' of gitlab.gongsibao.com:jiangyong/zhichan into igirl-channel

parents bc0f9a32 a2df052a
...@@ -230,16 +230,19 @@ class TmOrderAPI extends APIBase { ...@@ -230,16 +230,19 @@ class TmOrderAPI extends APIBase {
case "getCAProductDetail"://根据渠道产品码获取产品详情 ---应用中心 case "getCAProductDetail"://根据渠道产品码获取产品详情 ---应用中心
// opResult = await this.appProductSve.findByChannelItemCode(action_body); // opResult = await this.appProductSve.findByChannelItemCode(action_body);
pobj["app"] =req.appInfo; pobj["app"] =req.appInfo;
pobj["appInfo"] =req.appInfo;
opResult = await this.appProductSve.getProductDetailByCode(pobj); opResult = await this.appProductSve.getProductDetailByCode(pobj);
break; break;
case "getCAProductListByTypeOneCode"://获取产品列表(根据产品一类编码获取) ---应用中心 case "getCAProductListByTypeOneCode"://获取产品列表(根据产品一类编码获取) ---应用中心
// opResult = await this.appProductSve.findByProductOneTypeCode(action_body); // opResult = await this.appProductSve.findByProductOneTypeCode(action_body);
pobj["app"] = req.appInfo; pobj["app"] = req.appInfo;
pobj["appInfo"] =req.appInfo;
opResult = await this.appProductSve.findByTypeOneCode(pobj); opResult = await this.appProductSve.findByTypeOneCode(pobj);
break; break;
case "getCAProductListByTypeCode"://获取产品列表(根据父类产品编码获取) ---应用中心 case "getCAProductListByTypeCode"://获取产品列表(根据父类产品编码获取) ---应用中心
// opResult = await this.appProductSve.findByProductTypeCode(action_body); // opResult = await this.appProductSve.findByProductTypeCode(action_body);
pobj["app"] = req.appInfo; pobj["app"] = req.appInfo;
pobj["appInfo"] =req.appInfo;
opResult = await this.appProductSve.findByTypeCode(pobj); opResult = await this.appProductSve.findByTypeCode(pobj);
break; break;
case "subGsbOrderInfo"://提交公司宝订单信息 case "subGsbOrderInfo"://提交公司宝订单信息
......
var childproc = require('child_process'); var childproc = require('child_process');
const util = require('util'); const util = require('util');
const exec = util.promisify(require('child_process').exec); const exec = util.promisify(require('child_process').exec);
const uuidv4 = require('uuid/v4');
class ExecClient { class ExecClient {
constructor() { constructor() {
this.cmdPostPattern = "curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{data}' {url}"; this.cmdPostPattern = "curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{data}' {url}";
......
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