Commit 7ea7454e by 王栋源

wdy

parent 7c0797f0
[
{
"beginTime": 1574388139000,
"classificationCode": "19",
"description": "",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 337000,
"ownerEnName": "",
"ownerName": "深圳啄木鸟巢家居科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1597291200000,
"secondaryClassification": [],
"status": 1,
"thirdClassification": "[]",
"tmIcon": "http://43.247.184.94:7170/Img/000/419/100/48A/11292356-cc91-4b94-8885-22ae34245196.jpg",
"tmName": "全居格",
"tmNumber": "41910048"
},
{
"beginTime": 1574388139000,
"classificationCode": "31",
"description": "",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 337000,
"ownerEnName": "",
"ownerName": "深圳啄木鸟巢家居科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1595217600000,
"secondaryClassification": [],
"status": 1,
"thirdClassification": "[]",
"tmIcon": "http://43.247.184.94:7170/Img/000/420/391/95A/f403515f-f527-4fe7-ba01-d27b3ad18664.jpg",
"tmName": "全居果",
"tmNumber": "42039195"
},
{
"beginTime": 1574388139000,
"classificationCode": "35",
"description": "\"计算机网络上的在线广告\",\"在网站上为商品和服务提供广告空间\",\"货物展出\",\"广告服务\",\"商业橱窗布置\",\"广告策划\",\"为零售目的在通信媒体上展示商品\",\"广告宣传\",\"广告代理\",\"广告材料设计\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 337000,
"ownerEnName": "",
"ownerName": "深圳啄木鸟巢家居科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1597896000000,
"secondaryClassification": [
"3501"
],
"status": 1,
"thirdClassification": "[\"计算机网络上的在线广告\",\"在网站上为商品和服务提供广告空间\",\"货物展出\",\"广告服务\",\"商业橱窗布置\",\"广告策划\",\"为零售目的在通信媒体上展示商品\",\"广告宣传\",\"广告代理\",\"广告材料设计\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/423/562/32A/a3bf75d5-9220-4977-bf0a-f960d2c9dcd1.jpg",
"tmName": "全居格",
"tmNumber": "42356232"
},
{
"beginTime": 1574388139000,
"classificationCode": "9",
"description": "\"电测量仪器\",\"断路器\",\"信号灯\",\"避雷器\",\"整流用电力装置\",\"铃(报警装置)\",\"太阳能电池\",\"电线\",\"集成电路用晶片\",\"电磁线圈\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 229000,
"ownerEnName": "",
"ownerName": "徐甘泉",
"partnerCode": "gong_si_bao",
"regAnnDate": 1573102800000,
"secondaryClassification": [
"0910",
"0912",
"0922",
"0914",
"0913"
],
"status": 1,
"thirdClassification": "[\"电测量仪器\",\"断路器\",\"信号灯\",\"避雷器\",\"整流用电力装置\",\"铃(报警装置)\",\"太阳能电池\",\"电线\",\"集成电路用晶片\",\"电磁线圈\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/246/046/87A/d92976ea-80d5-4f29-93f4-0e2b96c0a1be.jpg",
"tmName": "GOOLI",
"tmNumber": "24604687"
},
{
"beginTime": 1574388139000,
"classificationCode": "35",
"description": "\"进出口代理\",\"广告\",\"市场营销\",\"商业管理辅助\",\"替他人推销\",\"商业橱窗布置\",\"人事管理咨询\",\"替他人采购(替其他企业购买商品或服务)\",\"特许经营的商业管理\",\"计算机数据库信息系统化\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 301000,
"ownerEnName": "",
"ownerName": "魔马优品(杭州)科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1564200000000,
"secondaryClassification": [
"3506",
"3502",
"3504",
"3501",
"3503"
],
"status": 1,
"thirdClassification": "[\"进出口代理\",\"广告\",\"市场营销\",\"商业管理辅助\",\"替他人推销\",\"商业橱窗布置\",\"人事管理咨询\",\"替他人采购(替其他企业购买商品或服务)\",\"特许经营的商业管理\",\"计算机数据库信息系统化\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/351/323/99A/bd8c3dec-7abb-44b4-a0dd-7f2fb7dfa449.jpg",
"tmName": "别样佳人 BE YOUNG BEAUTY",
"tmNumber": "35132399"
},
{
"beginTime": 1574388139000,
"classificationCode": "3",
"description": "\"成套化妆品\",\"香水\",\"护肤用化妆剂\",\"去斑霜\",\"美容面膜\",\"带香味的水\",\"减肥用化妆品\",\"香精油\",\"皮肤增白霜\",\"化妆品\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 301000,
"ownerEnName": "",
"ownerName": "魔马优品(杭州)科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1565668800000,
"secondaryClassification": [
"0305",
"0306"
],
"status": 1,
"thirdClassification": "[\"成套化妆品\",\"香水\",\"护肤用化妆剂\",\"去斑霜\",\"美容面膜\",\"带香味的水\",\"减肥用化妆品\",\"香精油\",\"皮肤增白霜\",\"化妆品\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/351/535/54A/10d4a912-50a4-4c95-a60d-f220ef82af4b.jpg",
"tmName": "别样佳人 BE YOUNG BEAUTY",
"tmNumber": "35153554"
},
{
"beginTime": 1574388139000,
"classificationCode": "35",
"description": "\"广告策划\",\"计算机网络上的在线广告\",\"为商品和服务的买卖双方提供在线市场\",\"进出口代理\",\"会计\",\"商业管理咨询\",\"人员招收\",\"张贴广告\",\"寻找赞助\",\"网站流量优化\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 265000,
"ownerEnName": "",
"ownerName": "林世财",
"partnerCode": "gong_si_bao",
"regAnnDate": 1568433600000,
"secondaryClassification": [
"3502",
"3503",
"3504",
"3507",
"3508",
"3501",
"3506"
],
"status": 1,
"thirdClassification": "[\"广告策划\",\"计算机网络上的在线广告\",\"为商品和服务的买卖双方提供在线市场\",\"进出口代理\",\"会计\",\"商业管理咨询\",\"人员招收\",\"张贴广告\",\"寻找赞助\",\"网站流量优化\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/356/618/73A/aabd79c2-ff3a-426e-83db-0355bd11d212.jpg",
"tmName": "净安达",
"tmNumber": "35661873"
},
{
"beginTime": 1574388139000,
"classificationCode": "11",
"description": "\"电暖器\",\"冷却设备和装置\",\"电加热装置\",\"水净化装置\",\"空气净化用杀菌灯\",\"润湿空气装置\",\"自动浇水装置\",\"干燥装置和设备\",\"多功能电锅\",\"舞台烟雾机\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 265000,
"ownerEnName": "",
"ownerName": "林世财",
"partnerCode": "gong_si_bao",
"regAnnDate": 1574917200000,
"secondaryClassification": [
"1108",
"1110",
"1111",
"1107",
"1105",
"1104",
"1101",
"1106"
],
"status": 1,
"thirdClassification": "[\"电暖器\",\"冷却设备和装置\",\"电加热装置\",\"水净化装置\",\"空气净化用杀菌灯\",\"润湿空气装置\",\"自动浇水装置\",\"干燥装置和设备\",\"多功能电锅\",\"舞台烟雾机\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/356/650/76A/095533a3-6170-4a5a-97fd-5b9bed1241e9.jpg",
"tmName": "净安达",
"tmNumber": "35665076"
},
{
"beginTime": 1574388139000,
"classificationCode": "9",
"description": "\"制作财务模型用计算机软件\",\"考勤机\",\"计算机外围设备\",\"电池\",\"验手纹机\",\"收银机\",\"可下载的手机应用软件\",\"可下载的计算机应用软件\",\"计算机软件(已录制)\",\"电话机\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 193000,
"ownerEnName": "",
"ownerName": "广州市星为信息科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1550725200000,
"secondaryClassification": [
"0907",
"0922",
"0903",
"0901",
"0902"
],
"status": 1,
"thirdClassification": "[\"制作财务模型用计算机软件\",\"考勤机\",\"计算机外围设备\",\"电池\",\"验手纹机\",\"收银机\",\"可下载的手机应用软件\",\"可下载的计算机应用软件\",\"计算机软件(已录制)\",\"电话机\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/309/124/70A/6461f28f-2cc3-4e8c-bf6c-bf00b9d7a345.jpg",
"tmName": "嗨居",
"tmNumber": "30912470"
},
{
"beginTime": 1574388139000,
"classificationCode": "9",
"description": "\"计算机外围设备\",\"可下载的计算机应用软件\",\"计算机软件(已录制)\",\"收银机\",\"电池\",\"可下载的手机应用软件\",\"制作财务模型用计算机软件\",\"电话机\",\"验手纹机\",\"考勤机\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 193000,
"ownerEnName": "",
"ownerName": "广州市星为信息科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1550725200000,
"secondaryClassification": [
"0907",
"0922",
"0903",
"0901",
"0902"
],
"status": 1,
"thirdClassification": "[\"计算机外围设备\",\"可下载的计算机应用软件\",\"计算机软件(已录制)\",\"收银机\",\"电池\",\"可下载的手机应用软件\",\"制作财务模型用计算机软件\",\"电话机\",\"验手纹机\",\"考勤机\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/309/227/41A/05efcabd-4ca1-4e1f-8b8a-738e0e8d8742.jpg",
"tmName": "嗨居宝",
"tmNumber": "30922741"
},
{
"beginTime": 1574388139000,
"classificationCode": "9",
"description": "\"收银机\",\"计算机软件(已录制)\",\"验手纹机\",\"电池\",\"电话机\",\"考勤机\",\"制作财务模型用计算机软件\",\"可下载的手机应用软件\",\"可下载的计算机应用软件\",\"计算机外围设备\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 193000,
"ownerEnName": "",
"ownerName": "广州市星为信息科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1542171600000,
"secondaryClassification": [
"0922",
"0902",
"0901",
"0907",
"0903"
],
"status": 1,
"thirdClassification": "[\"收银机\",\"计算机软件(已录制)\",\"验手纹机\",\"电池\",\"电话机\",\"考勤机\",\"制作财务模型用计算机软件\",\"可下载的手机应用软件\",\"可下载的计算机应用软件\",\"计算机外围设备\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/279/374/68A/c3dd3756-8c05-4f49-8a64-ce663964438d.jpg",
"tmName": "嗨批宝",
"tmNumber": "27937468"
},
{
"beginTime": 1574388139000,
"classificationCode": "9",
"description": "\"收银机\",\"电池\",\"验手纹机\",\"考勤机\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 193000,
"ownerEnName": "",
"ownerName": "广州市星为信息科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1556424000000,
"secondaryClassification": [
"0922",
"0903",
"0902"
],
"status": 1,
"thirdClassification": "[\"收银机\",\"电池\",\"验手纹机\",\"考勤机\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/309/090/43A/9c1e8ac9-d4f6-4aae-a807-ffa2aadd46c3.jpg",
"tmName": "嗨批",
"tmNumber": "30909043"
},
{
"beginTime": 1574388139000,
"classificationCode": "9",
"description": "\"电子记事器\",\"可下载的手机应用软件\",\"网络通讯设备\",\"制作财务模型用计算机软件\",\"计算机软件(已录制)\",\"自动广告机\",\"集成电路\",\"遥控装置\",\"验钞机\",\"考勤机\"",
"endTime": 1668089537981,
"label": "商标标签",
"originalPrice": 193000,
"ownerEnName": "",
"ownerName": "广州市星为信息科技有限公司",
"partnerCode": "gong_si_bao",
"regAnnDate": 1571025600000,
"secondaryClassification": [
"0903",
"0907",
"0908",
"0901",
"0913",
"0902"
],
"status": 1,
"thirdClassification": "[\"电子记事器\",\"可下载的手机应用软件\",\"网络通讯设备\",\"制作财务模型用计算机软件\",\"计算机软件(已录制)\",\"自动广告机\",\"集成电路\",\"遥控装置\",\"验钞机\",\"考勤机\"]",
"tmIcon": "http://43.247.184.94:7170/Img/000/353/630/02A/45c83628-17ab-4dde-8903-c60534b0e13d.jpg",
"tmName": "嗨批",
"tmNumber": "35363002"
}
]
\ No newline at end of file
...@@ -47,12 +47,12 @@ class UtilsNeedService extends AppServiceBase { ...@@ -47,12 +47,12 @@ class UtilsNeedService extends AppServiceBase {
pobj.actionBody.type = "ali.edi"; pobj.actionBody.type = "ali.edi";
} }
if (pobj.actionBody.description.indexOf("#备#")<0) { if (pobj.actionBody.description.indexOf("#备#") < 0) {
pobj.actionBody.level = "A"; pobj.actionBody.level = "A";
} else { } else {
var levelurl = "http://106.13.228.212:8000/recProbability"; var levelurl = "http://106.13.228.212:8000/recProbability";
var levelresult = await this.restPostUrl({ intentionBizId: pobj.actionBody.intentionBizId, type: pobj.actionBody.type, note: pobj.actionBody.description }, levelurl); var levelresult = await this.restPostUrl({ intentionBizId: pobj.actionBody.intentionBizId, type: pobj.actionBody.type, note: pobj.actionBody.description }, levelurl);
if (levelresult.status == 0) { if (levelresult.status == 0) {
pobj.actionBody.level = levelresult.data.level; pobj.actionBody.level = levelresult.data.level;
pobj.actionBody.probability = levelresult.data.per; pobj.actionBody.probability = levelresult.data.per;
} else { } else {
...@@ -74,6 +74,10 @@ class UtilsNeedService extends AppServiceBase { ...@@ -74,6 +74,10 @@ class UtilsNeedService extends AppServiceBase {
} }
this.utilsPushSve.aliBusiness2Delivery(reqParams, "addChance"); this.utilsPushSve.aliBusiness2Delivery(reqParams, "addChance");
pobj.actionBody.description = pobj.actionBody.description + " 成交概率:" + pobj.actionBody.level
if (pobj.actionBody.probability) {
pobj.actionBody.description = pobj.actionBody.description + "(" + pobj.actionBody.probability + ") "
}
this.utilsPushSve.aliBusiness2Fq(pobj, "pushNeedICPBusiness"); this.utilsPushSve.aliBusiness2Fq(pobj, "pushNeedICPBusiness");
} }
} }
...@@ -561,29 +565,29 @@ class UtilsNeedService extends AppServiceBase { ...@@ -561,29 +565,29 @@ class UtilsNeedService extends AppServiceBase {
End: pobj.actionBody.End ? pobj.actionBody.End : "", End: pobj.actionBody.End ? pobj.actionBody.End : "",
}, apiVersion: "2019-05-08" }, apiVersion: "2019-05-08"
}); });
if (res.status == 0){ if (res.status == 0) {
pobj.actionType = "getUnCreated"; pobj.actionType = "getUnCreated";
pobj.actionBody.data = res.data.Data; pobj.actionBody.data = res.data.Data;
let reqUrl = this.centerOrderUrl + "action/need/springBoard"; let reqUrl = this.centerOrderUrl + "action/need/springBoard";
let result = await this.restPostUrl(pobj, reqUrl); let result = await this.restPostUrl(pobj, reqUrl);
if (result.status == 0) { if (result.status == 0) {
pobj.actionBody = { pobj.actionBody = {
type:"tmjy" type: "tmjy"
}; };
for (let item of result.data){ for (let item of result.data) {
pobj.actionBody.intentionBizId=item.BizId; pobj.actionBody.intentionBizId = item.BizId;
pobj.actionBody.mobile=item.Mobile?item.Mobile:""; pobj.actionBody.mobile = item.Mobile ? item.Mobile : "";
pobj.actionBody.userName=item.UserName?item.UserName:""; pobj.actionBody.userName = item.UserName ? item.UserName : "";
pobj.notes=`${item.RegisterNumber?"RegisterNumber:"+item.RegisterNumber:""}${item.Classification?"Classification:"+item.Classification:""}`; pobj.notes = `${item.RegisterNumber ? "RegisterNumber:" + item.RegisterNumber : ""}${item.Classification ? "Classification:" + item.Classification : ""}`;
let res = await this.submitNeed(JSON.parse(JSON.stringify(pobj)),{intentionBizId:item.BizId}); let res = await this.submitNeed(JSON.parse(JSON.stringify(pobj)), { intentionBizId: item.BizId });
console.log(res) console.log(res)
} }
return system.getResultSuccess(); return system.getResultSuccess();
}else { } else {
return system.getResultFail(result.status,result.msg); return system.getResultFail(result.status, result.msg);
} }
} }
return system.getResultFail(res.status,res.msg); return system.getResultFail(res.status, res.msg);
} }
async testsymq(pobj) { async testsymq(pobj) {
......
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