Commit 8b5f818b by 兰国旗

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

parents 4e11108a aaa9e95c
......@@ -10,16 +10,28 @@ class Tool extends APIBase {
}
async icname(params, req) {
let url = settings.icNameUrl() + 'api/icName/CheckName';
if (!params.cityName) {
return system.getResult(-1, 'cityName 不能为空!');
}
if (!params.keyWord) {
return system.getResult(-1, 'keyWord 不能为空!');
}
if (!params.industryType) {
return system.getResult(-1, 'industryType 不能为空!');
}
if (!params.organizationType) {
return system.getResult(-1, 'organizationType 不能为空!');
}
let obj = {
cityname: params.CityName,
keyword: params.KeyWord,
btname: params.IndustryType,
orgname: params.OrganizationType,
searchtype: params.SearchType || '',
sitcity: params.SitCity || '',
cityname: params.cityName, //注册城市地区
keyword: params.keyWord, //公司字号
btname: params.industryType, //行业类型
orgname: params.organizationType, //组织类型
appkey: "5b29981785bd4272966b15ad8e8b9dd3"
};
let result = await this.execPostByTimeOut(req, obj, settings.checkIcNameUrl());
console.log('result--工商核名---',result)
let result = await this.restPostUrl(obj, url);
console.log('result--工商核名---', result)
return result;
}
......
......@@ -4373,10 +4373,10 @@
{
"actionType":"checkName",
"actionBody":{
"cityname": "北京",
"keyword": "小米",
"btname": "科技",
"orgname": "有限公司"
"cityname": "北京",//Y 注册城市地区
"keyword": "小米",// Y 公司字号
"btname": "科技",// Y 行业类型
"orgname": "有限公司"// Y 组织类型
}
}
......@@ -4388,23 +4388,23 @@
"status": 0,
"msg": "操作成功",
"data": {
"brandList": [],
"cityList": [],
"code": "200",
"identicalCityList": [],
"level": "低",
"brandList": [], //与字号相同的驰名商标列表
"cityList": [], //与字号一致的地区名称列表
"code": "200", //核名的评分
"identicalCityList": [],//与地区、字号、行业相同公司列表
"level": "低", //通过核名的通过率,值:“高”,“中”,低
"msg": "查询完成",
"point": 1000,
"sensitiveList": [],
"similarCityList": [
{
"id": 0,
"levels": "高",
"name": "北京<em>小米</em>智能科技有限公司",
"per": 83,
"pinyin": "",
"title": "",
"type": ""
"point": 1000, //核名的评分
"sensitiveList": [],//与字号相同的敏感词列表
"similarCityList": [//与字号名称相似公司列表
{
"id": 0, // Int 保留,默认0
"levels": "高", // String 核名的相似度,“高”或“中”或“低”:1-29,低;30-69 中;70 以上高
"name": "北京<em>小米</em>智能科技有限公司", // String 商标名称
"per": 83, // Int 相似度评分,约值
"pinyin": "", // String 如是拼音相同,返回命中词的拼音;其他返回“”
"title": "", // String 保留,默认“”
"type": "" // String 保留,默认“”
},
{
"id": 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