Commit 693e2bd2 by 任晓松

update

parent 0e58e2e3
......@@ -25,16 +25,16 @@ class IcbcToolsAPI extends WEBBase {
var opResult = null;
switch (action_type) {
case "getCompanyListByVague"://企业模糊查询
opResult = await this.icbcSve.getCompanyListByVague(req.app, action_body.opStr);
opResult = await this.icbcSve.getCompanyListByVague(action_body, req);
break;
case "getDetailByCompanyName"://企业详情
opResult = await this.icbcSve.getDetailByCompanyName(req.app, action_body.opStr);
opResult = await this.icbcSve.getDetailByCompanyName(action_body, req);
break;
case "getCompanyChangeByName"://企业变更记录查询
opResult = await this.icbcSve.getCompanyChangeByName(req.app, action_body.opStr);
opResult = await this.icbcSve.getCompanyChangeByName(action_body, req);
break;
case "getCompanyIcpByName"://工商icp证照查询
opResult = await this.icbcSve.getCompanyIcpByName(req.app, action_body.opStr);
opResult = await this.icbcSve.getCompanyIcpByName(action_body, req);
break;
default:
opResult = system.getResult(null, "action_type参数错误");
......
......@@ -7,17 +7,13 @@ class IcbcService extends AppServiceBase {
super();
this.zcApiUrl = settings.reqZcApi();
}
//企业模糊查询
async getCompanyListByVague(obj, req) {
var url = this.zcApiUrl + "api/tool/toolApi/getCompanyListByVague";
return await this.opReqResult(url, obj, req);
}
//企业模糊查询
async getDetailByCompanyName(obj, req) {
var url = this.zcApiUrl + "api/tool/toolApi/getDetailByCompanyName";
return await this.opReqResult(url, queryobj, req);
}
//企业详情
async getNclByLikeNameAndNcl(queryobj, req) {
async getDetailByCompanyName(queryobj, req) {
var url = this.zcApiUrl + "api/tool/toolApi/getNclByLikeNameAndNcl";
return await this.opReqResult(url, queryobj, req);
}
......
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