Commit 4ef42ef0 by 兰国旗

百度公司注册套餐

parent 14782c26
...@@ -331,7 +331,7 @@ class ProductService extends ServiceBase { ...@@ -331,7 +331,7 @@ class ProductService extends ServiceBase {
break; break;
// 2020-12-21新增 /REG/GSREG/ 询价方法 // 2020-12-21新增 /REG/GSREG/ 询价方法
case 'REG': case 'REG':
if(code2 == "GSREG"){ if(code2 == "GSREG" || code2 == "QYJYTC1" || code2 == "QYJYTC2"){
if(actionBody.city && actionBody.taxpayerType ){ if(actionBody.city && actionBody.taxpayerType ){
let str = actionBody.city + actionBody.taxpayerType; let str = actionBody.city + actionBody.taxpayerType;
producesql += ` AND pc.price_desc = '${str}'`; producesql += ` AND pc.price_desc = '${str}'`;
......
...@@ -42,6 +42,19 @@ class ExecClient { ...@@ -42,6 +42,19 @@ class ExecClient {
return cmd; return cmd;
} }
async execPost(subData, url) { async execPost(subData, url) {
//本机windows curl json格式
// if (settings.env == 'dev') {
// const rs = await axios.post(url, subData, {
// auth: {
// username: "admines",
// password: "adminGSBes"
// }
// });
// const ret = {
// stdout: JSON.stringify(rs.data)
// }
// return ret;
// }
let cmd = this.FetchPostCmd(subData, url); let cmd = this.FetchPostCmd(subData, url);
var result = await this.exec(cmd); var result = await this.exec(cmd);
return result; return result;
......
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