Commit 40ebd94b by 宋毅

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

parents f736b3d2 3e28f572
var WEBBase = require("../../web.base");
var system = require("../../../system");
class IcbcToolsAPI extends WEBBase {
constructor() {
super();
this.icbcSve = system.getObject("service.trademark.icbcSve");
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async springBoard(pobj, qobj, req) {
if (!pobj.actionProcess) {
return system.getResult(null, "actionProcess参数不能为空");
}
if (!pobj.actionType) {
return system.getResult(null, "actionType参数不能为空");
}
var result = await this.opActionProcess(pobj, pobj.actionType, pobj.actionBody, req);
return result;
}
async opActionProcess(pobj, action_type, action_body, req) {
var opResult = null;
switch (action_type) {
case "getCompanyListByVague"://企业模糊查询
opResult = await this.icbcSve.getCompanyListByVague(req.app, action_body.opStr);
break;
case "getDetailByCompanyName"://企业详情
opResult = await this.icbcSve.getDetailByCompanyName(req.app, action_body.opStr);
break;
case "getCompanyChangeByName"://企业变更记录查询
opResult = await this.icbcSve.getCompanyChangeByName(req.app, action_body.opStr);
break;
case "getCompanyIcpByName"://工商icp证照查询
opResult = await this.icbcSve.getCompanyIcpByName(req.app, action_body.opStr);
break;
default:
opResult = system.getResult(null, "action_type参数错误");
break;
}
return opResult;
}
}
module.exports = IcbcToolsAPI;
\ No newline at end of file
...@@ -76,6 +76,9 @@ class Need extends APIBase { ...@@ -76,6 +76,9 @@ class Need extends APIBase {
case "getaliicpProduce"://方案询价 case "getaliicpProduce"://方案询价
opResult = await this.centerorderSve.getaliicpProduce(pobj); opResult = await this.centerorderSve.getaliicpProduce(pobj);
break; break;
case "testsymq":
opResult = await this.utilsNeedSve.testsymq(pobj);
break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
break; break;
......
const system=require("../../../system");
const Dao=require("../../dao.base");
class testneedDao extends Dao{
constructor(){
super(Dao.getModelName(testneedDao));
}
}
module.exports=testneedDao;
const system = require("../../../system");
const settings = require("../../../../config/settings");
const uiconfig = system.getUiConfig2(settings.appKey);
module.exports = (db, DataTypes) => {
return db.define("testneed", {
channelNeedNo: DataTypes.STRING,
status: DataTypes.STRING,
}, {
//freezeTableName: true,
// define the table's name
tableName: 'testneed',
});
}
...@@ -203,7 +203,7 @@ class CenterorderService extends AppServiceBase { ...@@ -203,7 +203,7 @@ class CenterorderService extends AppServiceBase {
/** /**
* 推送ICP交付信息至企业宝(交付系统) * 推送ICP交付信息至企业宝(交付系统)
*/ */
async pushIcpOrderDelivery2Qfb(orderNo, needsolution,status) { async pushIcpOrderDelivery2Qfb(orderNo, needsolution, status) {
// var pushObj = { // var pushObj = {
// orderNo: orderNo, // orderNo: orderNo,
// needsolution: needsolution.solutionContent // needsolution: needsolution.solutionContent
...@@ -214,7 +214,7 @@ class CenterorderService extends AppServiceBase { ...@@ -214,7 +214,7 @@ class CenterorderService extends AppServiceBase {
// return system.getResultSuccess(data); // return system.getResultSuccess(data);
} }
async getaliicpProduce(pobj){ async getaliicpProduce(pobj) {
var sobj = { var sobj = {
actionType: "getaliicpProduce", actionType: "getaliicpProduce",
// actionBody: { typeCode: itemResult.data.channelTypeCode, province: itemResult.data.province }, // actionBody: { typeCode: itemResult.data.channelTypeCode, province: itemResult.data.province },
...@@ -304,7 +304,7 @@ class CenterorderService extends AppServiceBase { ...@@ -304,7 +304,7 @@ class CenterorderService extends AppServiceBase {
city: pobj.actionBody.province, city: pobj.actionBody.province,
regType: pobj.actionBody.regType, regType: pobj.actionBody.regType,
orderNo: pobj.actionBody.channelOrder.channelOrderNo, orderNo: pobj.actionBody.channelOrder.channelOrderNo,
orderPrice: Number(pobj.actionBody.orderPrice/100) , orderPrice: Number(pobj.actionBody.orderPrice / 100),
phone: pobj.actionBody.publishMobile, phone: pobj.actionBody.publishMobile,
needId: solutiondata.data.channelNeedNo needId: solutiondata.data.channelNeedNo
}, },
...@@ -315,10 +315,11 @@ class CenterorderService extends AppServiceBase { ...@@ -315,10 +315,11 @@ class CenterorderService extends AppServiceBase {
orderNo: orderrtn.data.orderNo,//pobj.actionBody.channelOrder.channelOrderNo, orderNo: orderrtn.data.orderNo,//pobj.actionBody.channelOrder.channelOrderNo,
needsolution: solutiondata.data.solutionContent, needsolution: solutiondata.data.solutionContent,
channelNeedNo: solutiondata.data.channelNeedNo, channelNeedNo: solutiondata.data.channelNeedNo,
skuCode:data.data.payCode, channelSolutionNo: solutiondata.data.channelSolutionNo,
servicer:{ skuCode: data.data.payCode,
code:'gsb', servicer: {
name:'公司宝' code: 'gsb',
name: '公司宝'
} }
}, },
appInfo: pobj.appInfo appInfo: pobj.appInfo
......
...@@ -70,6 +70,15 @@ class QcCenterOrderService extends AppServiceBase { ...@@ -70,6 +70,15 @@ class QcCenterOrderService extends AppServiceBase {
// requestId: pobj.requestId || "" // N 请求id // requestId: pobj.requestId || "" // N 请求id
// } // }
// this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams); // this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
this.logCtl.info({
appid: pobj.appInfo ? pobj.appInfo.uapp_id || "" : "",
appkey: pobj.appInfo ? pobj.appInfo.uapp_key || "" : "",
requestId: pobj.requestId || "",
op: "service/impl/common/qcCenterOrderSve.js/submitIcpProgramme",
content: JSON.stringify(pobj),
resultInfo:JSON.stringify(needinfo),
optitle:"createSolution推送蜂擎获取的接口信息->aliBusiness2Delivery",
});
var reqParams = { var reqParams = {
actionBody: { actionBody: {
intentionBizId: needinfo.channelNeedNo, intentionBizId: needinfo.channelNeedNo,
......
const system = require("../../../system");
var settings = require("../../../../config/settings");
const AppServiceBase = require("../../app.base");
class IcbcService extends AppServiceBase {
constructor() {
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) {
var url = this.zcApiUrl + "api/tool/toolApi/getNclByLikeNameAndNcl";
return await this.opReqResult(url, queryobj, req);
}
//企业变更记录查询
async getCompanyChangeByName(queryobj, req) {
var url = this.zcApiUrl + "api/tool/toolApi/getCompanyChangeByName";
return await this.opReqResult(url, queryobj, req);
}
//工商icp证照查询
async getCompanyIcpByName(queryobj, req) {
var url = this.zcApiUrl + "api/tool/toolApi/getCompanyIcpByName";
return await this.opReqResult(url, queryobj, req);
}
}
module.exports = IcbcService;
...@@ -3,6 +3,7 @@ var settings = require("../../../../config/settings"); ...@@ -3,6 +3,7 @@ var settings = require("../../../../config/settings");
const AppServiceBase = require("../../app.base"); const AppServiceBase = require("../../app.base");
const fs = require("fs"); const fs = require("fs");
const { json } = require("sequelize"); const { json } = require("sequelize");
const async = require('async')
//需求操作类----ali对接的需求 //需求操作类----ali对接的需求
class UtilsNeedService extends AppServiceBase { class UtilsNeedService extends AppServiceBase {
constructor() { constructor() {
...@@ -13,6 +14,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -13,6 +14,7 @@ class UtilsNeedService extends AppServiceBase {
this.ossClient = system.getObject("util.ossClient"); this.ossClient = system.getObject("util.ossClient");
this.restClient = system.getObject("util.restClient"); this.restClient = system.getObject("util.restClient");
this.utilsOrderSve = system.getObject("service.utilsSve.utilsOrderSve"); this.utilsOrderSve = system.getObject("service.utilsSve.utilsOrderSve");
this.utilsneedSve = system.getObject("service.common.gatewaypushlogSve");
this.opPushQueueUrl = settings.opPushQueueUrl(); this.opPushQueueUrl = settings.opPushQueueUrl();
} }
...@@ -201,6 +203,15 @@ class UtilsNeedService extends AppServiceBase { ...@@ -201,6 +203,15 @@ class UtilsNeedService extends AppServiceBase {
pobj.actionType = "abolishIcpProgrammeByNeed" pobj.actionType = "abolishIcpProgrammeByNeed"
var reqUrl = this.centerOrderUrl + "action/qcapi/springBoard"; var reqUrl = this.centerOrderUrl + "action/qcapi/springBoard";
var result = await this.restPostUrl(pobj, reqUrl); var result = await this.restPostUrl(pobj, reqUrl);
this.logCtl.info({
appid: pobj.appInfo ? pobj.appInfo.uapp_id || "" : "",
appkey: pobj.appInfo ? pobj.appInfo.uapp_key || "" : "",
requestId: pobj.requestId || "",
op: "service/impl/utilsSve/utilsNeedSve.js/needCloseIcp",
content: JSON.stringify(pobj),
resultInfo: JSON.stringify(result),
optitle: "abolishIcpProgrammeByNeed推送蜂擎获取的接口信息->aliBusiness2Delivery",
});
if (result.status == 0) { if (result.status == 0) {
if (result.data) { if (result.data) {
pobj.actionBody.orderNo = result.data; pobj.actionBody.orderNo = result.data;
...@@ -209,16 +220,27 @@ class UtilsNeedService extends AppServiceBase { ...@@ -209,16 +220,27 @@ class UtilsNeedService extends AppServiceBase {
return system.getResultFail(-5022, "订单关闭失败"); return system.getResultFail(-5022, "订单关闭失败");
} }
} }
//推送交付系统 //推送交付系统
var reqParams = { var reqParams = {
actionBody: { actionBody: {
intentionBizId: pobj.actionBody.channelNeedNo, intentionBizId: pobj.actionBody.channelNeedNo,
status:"closeNeed" status: "closeNeed"
}, },
opType: "updateChanceStatus",
appInfo: pobj.appInfo appInfo: pobj.appInfo
} }
self.utilsPushSve.aliBusiness2Delivery(reqParams, "updateChanceStatus"); self.utilsPushSve.aliBusiness2Delivery(reqParams, "updateChanceStatus");
//日志记录
self.logCtl.info({
appid: pobj.appInfo ? pobj.appInfo.uapp_id || "" : "",
appkey: pobj.appInfo ? pobj.appInfo.uapp_key || "" : "",
requestId: pobj.requestId || "",
op: "service/impl/utilsSve/utilsNeedSve.js/needCloseIcp",
content: JSON.stringify(reqParams),
resultInfo: "",
optitle: "updateChanceStatus推送蜂擎获取的接口信息->aliBusiness2Delivery",
});
// 推送ali // 推送ali
var a = await self.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: actionBody.channelNeedNo, Note: actionBody.note }, apiVersion: "2019-05-08" }); var a = await self.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: actionBody.channelNeedNo, Note: actionBody.note }, apiVersion: "2019-05-08" });
console.log(a); console.log(a);
...@@ -284,7 +306,23 @@ class UtilsNeedService extends AppServiceBase { ...@@ -284,7 +306,23 @@ class UtilsNeedService extends AppServiceBase {
pobj.actionType = "receiveIcpStatusNotify"; pobj.actionType = "receiveIcpStatusNotify";
var url = settings.centerOrderUrl() + "action/qcapi/springBoard"; var url = settings.centerOrderUrl() + "action/qcapi/springBoard";
var rtn = await this.restPostUrl(pobj, url); var rtn = await this.restPostUrl(pobj, url);
if (rtn.status == 0 && actionBody.status != 1 && rtn.data) { if (actionBody.status == 2) {
var deliveryObj = {
actionBody: {
orderNo: rtn.data.orderNo,//pobj.actionBody.channelOrder.channelOrderNo,
needsolution: rtn.data.solutionContent,
channelNeedNo: rtn.data.channelNeedNo,
channelSolutionNo: rtn.data.channelSolutionNo,
servicer: {
code: 'gsb',
name: '公司宝'
}
},
appInfo: pobj.appInfo
}
this.utilsPushSve.aliBusiness2Delivery(deliveryObj, "pushDeliveryOrder");
}
if (rtn.status == 0 && actionBody.status != 1 && actionBody.status != 2 && rtn.data) {
var tmpObj = { var tmpObj = {
actionBody: { actionBody: {
orderNo: rtn.data.orderNo, orderNo: rtn.data.orderNo,
...@@ -391,6 +429,16 @@ class UtilsNeedService extends AppServiceBase { ...@@ -391,6 +429,16 @@ class UtilsNeedService extends AppServiceBase {
var reqUrl = this.centerOrderUrl + "action/need/springBoard"; var reqUrl = this.centerOrderUrl + "action/need/springBoard";
var result = await this.restPostUrl(pobj, reqUrl); var result = await this.restPostUrl(pobj, reqUrl);
await self.aliclient.reqbyget({ action: "WriteCommunicationLog", reqbody: { BizId: pobj.actionBody.intentionBizId, Note: pobj.actionBody.note }, apiVersion: "2019-05-08" }); await self.aliclient.reqbyget({ action: "WriteCommunicationLog", reqbody: { BizId: pobj.actionBody.intentionBizId, Note: pobj.actionBody.note }, apiVersion: "2019-05-08" });
//推送交付系统
var reqParams = {
actionBody: {
intentionBizId: pobj.actionBody.intentionBizId,
status: "followingUp"
},
opType: "updateChanceStatus",
appInfo: pobj.appInfo
}
self.utilsPushSve.aliBusiness2Delivery(reqParams, "updateChanceStatus");
return system.getResultSuccess(); return system.getResultSuccess();
} }
...@@ -411,24 +459,50 @@ class UtilsNeedService extends AppServiceBase { ...@@ -411,24 +459,50 @@ class UtilsNeedService extends AppServiceBase {
PageSize: pobj.actionBody.pageSize || 10, PageSize: pobj.actionBody.pageSize || 10,
}, apiVersion: "2019-05-08" }, apiVersion: "2019-05-08"
}); });
// 2020 0820 lin 新增 拉去有跟进信息的需求但 并 记录
// console.log(pobj.actionBody.intentionBizId,res.data.TotalItemNum)
// if(res.data.TotalItemNum > 0) {
// var sql = "update testneed set status=1 where channelNeedNo=:channelNeedNo"
// var paramWhere = {
// channelNeedNo: pobj.actionBody.intentionBizId
// };
// var updateRes = await this.utilsneedSve.dao.customUpdate(sql, paramWhere);
// }
// func();
return system.getResultSuccess(res); return system.getResultSuccess(res);
} }
async test(pobj) { async queryTradeIntentionUserList(pobj) {
if (!pobj.actionBody.intentionBizId) {
return system.getResult(null, "actionBody.intentionBizId can not be empty,100493");
}
if (!pobj.actionBody.userFeedBack) {
return system.getResult(null, "actionBody.userFeedBack can not be empty,100494");
}
let res = await this.aliclient.reqbyget({ let res = await this.aliclient.reqbyget({
action: "QueryTradeIntentionUserList", reqbody: { action: "QueryTradeIntentionUserList", reqbody: {
BeginTime: pobj.actionBody.BeginTime ? pobj.actionBody.BeginTime : "", BeginTime: pobj.actionBody.BeginTime ? pobj.actionBody.BeginTime : "",
EndTime: pobj.actionBody.EndTime ? pobj.actionBody.EndTime : "", EndTime: pobj.actionBody.EndTime ? pobj.actionBody.EndTime : "",
BizId: "20200817115056000001", BizId: pobj.actionBody.intentionBizId,
Type: "5", UserFeedBack: pobj.actionBody.userFeedBack,
PageNum: pobj.actionBody.pageNum || 1, PageNum: pobj.actionBody.pageNum || 1,
PageSize: pobj.actionBody.pageSize || 10, PageSize: pobj.actionBody.pageSize || 10,
}, apiVersion: "2019-05-08" }, apiVersion: "2019-05-08"
}); });
console.log(res)
return system.getResultSuccess(res); return system.getResultSuccess(res);
} }
async testsymq(pobj) {
var a = null;
try {
a = await this.utilsPushSve.aliBusiness2Delivery(pobj.actionBody, pobj.actionBody.pushtype);
return system.getResultSuccess(a);
} catch (error) {
return system.getResultSuccess(error);
}
}
urlSplit(url) { urlSplit(url) {
var arr = url.split("?")[1]; //根据?跟个url var arr = url.split("?")[1]; //根据?跟个url
...@@ -450,14 +524,14 @@ class UtilsNeedService extends AppServiceBase { ...@@ -450,14 +524,14 @@ class UtilsNeedService extends AppServiceBase {
module.exports = UtilsNeedService; module.exports = UtilsNeedService;
// var a=new UtilsNeedService(); // var a=new UtilsNeedService();
// a.queryExpertApplyCommunicationLogs({actionBody:{intentionBizId:"20200803095203000001",userFeedBack:true}}); // a.queryExpertApplyCommunicationLogs({actionBody:{intentionBizId:"20200805103324000001",userFeedBack:true}});
// // var a=new UtilsNeedService(); // // var a=new UtilsNeedService();
// a.writeCommunicationLog({actionBody:{intentionBizId:"20200804200124000001",note:"测试反馈"}}); // a.writeCommunicationLog({actionBody:{intentionBizId:"20200804200124000001",note:"测试反馈"}});
// var a=new UtilsNeedService(); // var a=new UtilsNeedService();
// a.needCloseIcp({actionBody:{channelNeedNo:20200804200124000001,note:"ceshifankui"}},{channelNeedNo:20200803095203000001,note:"ceshifankui"}); // a.needCloseIcp({actionBody:{channelNeedNo:20200804200124000001,note:"ceshifankui"}},{channelNeedNo:20200803095203000001,note:"ceshifankui"});
var a=new UtilsNeedService(); // var a = new UtilsNeedService();
a.test({actionBody:{intentionBizId:"20200803095203000001",userFeedBack:true}}); // a.queryTradeIntentionUserList({ actionBody: { intentionBizId: "20200803095203000001", userFeedBack: true } });
...@@ -20,7 +20,7 @@ class UtilsPushService extends AppServiceBase { ...@@ -20,7 +20,7 @@ class UtilsPushService extends AppServiceBase {
op: "service/impl/utilsSve/utilsPushSve.js/service/app.base.js/aliBusiness2Delivery", op: "service/impl/utilsSve/utilsPushSve.js/service/app.base.js/aliBusiness2Delivery",
content: JSON.stringify(pobj), content: JSON.stringify(pobj),
resultInfo: productItemInterfaceResult.data ? JSON.stringify(productItemInterfaceResult.data) : "接口数据为空", resultInfo: productItemInterfaceResult.data ? JSON.stringify(productItemInterfaceResult.data) : "接口数据为空",
optitle: pobj.opType + "推送蜂擎获取的接口信息->aliBusiness2Delivery", optitle: opType + "推送蜂擎获取的接口信息->aliBusiness2Delivery",
}); });
if (pobj.interface_info) { if (pobj.interface_info) {
await this.pushBusInfo(pobj, opType, 1); await this.pushBusInfo(pobj, opType, 1);
...@@ -32,7 +32,6 @@ class UtilsPushService extends AppServiceBase { ...@@ -32,7 +32,6 @@ class UtilsPushService extends AppServiceBase {
async aliBusiness2Fq(pobj, opType) {//供业务调用,在代码中调用,不在db中做配置进行调用 async aliBusiness2Fq(pobj, opType) {//供业务调用,在代码中调用,不在db中做配置进行调用
pobj.actionType = "getAppInterface"; pobj.actionType = "getAppInterface";
debugger;
var reqUrl = settings.centerAppUrl() + "action/opProduct/springBoard"; var reqUrl = settings.centerAppUrl() + "action/opProduct/springBoard";
var productItemInterfaceResult = await this.restPostUrl(pobj, reqUrl); var productItemInterfaceResult = await this.restPostUrl(pobj, reqUrl);
pobj.interface_info = productItemInterfaceResult.data; pobj.interface_info = productItemInterfaceResult.data;
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
## 1. 工商检索相关接口 ## 1. 工商检索相关接口
  1 [工商检索中心](doc/api/opTrademark/icbcSearch.md)   1 [工商检索中心](doc/api/opTrademark/icbcSearch.md)
  2 [数据中心工商接口](doc/api/opTrademark/newicbcSearch.md)
## 2. 商标检索相关接口 ## 2. 商标检索相关接口
  1 [商标检索中心](doc/api/opTrademark/tmSearch.md)   1 [商标检索中心](doc/api/opTrademark/tmSearch.md)
......
<a name="menu" href="/doc">返回主目录</a>
1. [企业模糊查询](#getCompanyListByVague)
1. [企业详情](#getDetailByCompanyName)
1. [企业变更记录查询](#getCompanyChangeByName)
1. [工商icp证照查询](#getCompanyIcpByName)
## **<a name="getCompanyListByVague"> 企业模糊查询</a>**
[返回到目录](#menu)
##### URL
[/action/icbcTools/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCompanyListByVague
``` javascript
{
"companyName":"911101083066224948"
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "操作成功",
"data": {
"totalSize": 1,
"pageSize": 20,
"currentPage": 1,
"list": [
{
"id": 19300789,
"name": "汉唐信通(北京)科技有限公司",
"legal_person_name": "李丽",
"reg_number": "110108017689943",
"establish_time": "8/6/2014",
"gsb_old_company_name": null,
"reg_status": "存续",
"reg_capital": "100.000null",
"usc_code": "911101083066224948"
}
]
},
"requestId": "8d4ab54f2a8244528e191e032edf3e67"
}
```
## **<a name="getDetailByCompanyName"> 企业详情</a>**
[返回到目录](#menu)
##### URL
[/action/icbcTools/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getDetailByCompanyName
``` javascript
{
"companyName":"汉唐信通(北京)科技有限公司"
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "success",
"data": {
"company_province": "北京",
"gsb_city": "海淀区",
"company_name": "汉唐信通(北京)科技有限公司",
"legal_person": "李丽",
"reg_number": "110108017689943",
"company_org_type": "有限责任公司",
"businessAddress": "北京市海淀区温泉镇创客小镇社区配套商业楼15#楼一层118室",
"reg_location": "8/6/2014",
"from_time": "8/6/2014",
"to_time": "8/5/2034",
"businessTerm": "8/6/2014至8/5/2034",
"business_scope": "技术开发、技术推广、技术转让、技术咨询、技术服务;计算机系统服务;数据处理(数据处理中的银行卡中心、PUE值在1.5以上的云计算数据中心除外);基础软件服务;应用软件服务;软件开发;软件咨询;产品设计;模型设计;包装装潢设计;教育咨询;经济贸易咨询;文化咨询;体育咨询;公共关系服务;会议服务;工艺美术设计;电脑动画设计;企业策划;设计、制作、代理、发布广告;市场调查;企业管理咨询;组织文化艺术交流活动(不含营业性演出);文艺创作;承办展览展示活动;影视策划;翻译服务;商标转让;商标代理;版权转让、版权代理;财务咨询(不得开展审计、验资、查帐、评估、会计咨询、代理记账等需经专项审批的业务,不得出具相应的审计报告、验资报告、查帐报告、评估报告等文字材料);销售自行开发后的产品、机械设备、计算机、软件及辅助设备、通讯设备、电子产品、日用品、文化用品、工艺品;出租办公用房;机动车公共停车场服务;物业管理;健康咨询(须经审批的诊疗活动除外);代理记账;人力资源服务。(市场主体依法自主选择经营项目,开展经营活动;代理记账、人力资源服务以及依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动;不得从事国家和本市产业政策禁止和限制类项目的经营活动。)",
"reg_institute": "北京市工商行政管理局海淀分局",
"approved_time": "6/16/2020",
"reg_status": "存续",
"reg_capital": "100.000",
"reg_unit": "万人民币",
"registeredCapital": "100.000万人民币",
"org_number": "306622494",
"credit_code": "911101083066224948",
"gsb_company_cate_1": "科学研究和技术服务业",
"gsb_company_cate_2": "科技推广和应用服务业",
"gsb_company_cate_3": "其他科技推广和应用服务业",
"company_type": "0",
"old_name": null,
"phone_number": "15600515179",
"postal_address": "北京市海淀区上地信息路1号(北京实创科技发展总公司1-2号)B栋8层816室",
"email": "szqiao@sino-tone.com",
"requestId": "ebdef7c17bc04db79a0be132fe5ac56e"
},
"requestId": "89ca862c97204518843d3a03380d9227"
}
```
## **<a name="getCompanyChangeByName"> 企业变更记录查询</a>**
[返回到目录](#menu)
##### URL
[/action/icbcTools/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCompanyChangeByName
``` javascript
{
"companyName":"汉唐信通(北京)科技有限公司"
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "操作成功",
"data": {
"totalSize": 17,
"pageSize": 20,
"currentPage": 1,
"list": [
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "投资人",
"change_time": "6/16/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "经营范围",
"change_time": "12/5/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "股东改变姓名或名称",
"change_time": "3/3/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "住所",
"change_time": "6/16/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "经营范围",
"change_time": "3/3/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "经营范围",
"change_time": "9/28/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "登记管辖变更",
"change_time": "9/28/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "住所",
"change_time": "5/24/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "企业类型",
"change_time": "6/16/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "法定代表人",
"change_time": "4/22/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "住所",
"change_time": "9/28/2016",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "经营范围",
"change_time": "4/18/2018",
"create_time": "2018-04-20"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "住所",
"change_time": "6/20/2017",
"create_time": "2017-07-08"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "投资人",
"change_time": "4/22/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "董事(理事)、经理、监事",
"change_time": "4/22/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "董事(理事)、经理、监事",
"change_time": "6/16/2015",
"create_time": "2017-02-24"
},
{
"company_id": 1048751,
"company_name": "汉唐信通(北京)科技有限公司",
"usc_code": "911101083066224948",
"reg_number": "110108017689943",
"change_item": "住所",
"change_time": "6/16/2020",
"create_time": "2020-06-19"
}
]
},
"requestId": "0fcda32994cd4ec8a7346465c307d2e7"
}
```
## **<a name="getCompanyIcpByName"> 工商icp证照查询</a>**
[返回到目录](#menu)
##### URL
[/action/icbcTools/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCompanyIcpByName
``` javascript
{
"companyName":"北京真彩科创电子技术有限公司"
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "操作成功",
"data": {
"totalSize": 1,
"pageSize": 20,
"currentPage": 1,
"list": [
{
"company_id": 5,
"icp_id": 83736748,
"company_name": "北京真彩科创电子技术有限公司",
"company_type": "企业",
"liscense": "京ICP备12028387号",
"web_name": "北京真彩科创电子技术有限公司",
"web_site": "www.zcdpm.com",
"examine_date": "2018-01-26",
"dwmc": "北京真彩科创电子技术有限公司",
"ztid": 10000429218,
"dwxz": "企业",
"zt_baxh": "京ICP备12028387号",
"wzid": 10000615448,
"wzmc": "北京真彩科创电子技术有限公司",
"wzfzr": null,
"site_url": "www.zcdpm.com",
"ym": "zcdpm.com",
"wz_baxh": "京ICP备12028387号-1",
"shsj": "2018-01-26T05:00:00.000Z",
"shengid": "北京市",
"shiid": null,
"xianid": null,
"xxdz": null,
"ymid": 10003127306,
"updatetime": "2018-03-03T16:10:04.721Z",
"createtime": "2018-03-03T16:10:04.000Z"
}
]
},
"requestId": "e4e69fac26b74fb7958c0a71fc30d21d"
}
```
\ No newline at end of file
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"ali-oss": "^4.12.2", "ali-oss": "^4.12.2",
"alipay-sdk": "^3.1.1", "alipay-sdk": "^3.1.1",
"aliyun-api-gateway": "^1.1.6", "aliyun-api-gateway": "^1.1.6",
"async": "^3.2.0",
"axios": "^0.19.2", "axios": "^0.19.2",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
"base64id": "^1.0.0", "base64id": "^1.0.0",
......
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