Commit f973024c by 高宇强

gyq

parent 16f1c875
......@@ -128,9 +128,7 @@ class EnterpriseService {
author = await this.getConvertSemiangleStr(author);
var childName = await this.redisClient.get("qichacha_QccBranches:" + author);
if (childName){
console.log(childName);
return System.getResult2(JSON.parse(childName), "获取数据成功");
}
else{
......@@ -782,15 +780,15 @@ class EnterpriseService {
}
module.exports = EnterpriseService;
var tesk = new EnterpriseService();
var parm = {
//author: "淘宝(中国)软件有限公司"
author:"华为技术有限公司"
};
tesk.getQccBranches(parm).then(function (result) {
console.log(result);
// console.log(result.data.data[0]);
}).catch(function (e) {
console.log(e);
});
// var tesk = new EnterpriseService();
// var parm = {
// //author: "淘宝(中国)软件有限公司"
// author:"华为技术有限公司"
// };
// tesk.getQccBranches(parm).then(function (result) {
// console.log(result);
// // console.log(result.data.data[0]);
// }).catch(function (e) {
// console.log(e);
// });
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