|
@@ -9,9 +9,9 @@ const urlObj=require("url");
|
|
|
//测试服务器
|
|
|
//var curingUrl ='https://uat.smartcost.com.cn/cld';
|
|
|
//正式服务器
|
|
|
-var curingUrl ='https://yun.smartcost.com.cn/cld';
|
|
|
+//var curingUrl ='https://yun.smartcost.com.cn/cld';
|
|
|
//本地跑
|
|
|
-//var curingUrl ="http://qa.smartcost.com.cn:6060/cld";
|
|
|
+var curingUrl ="http://qa.smartcost.com.cn:6060/cld";
|
|
|
|
|
|
|
|
|
|
|
@@ -275,7 +275,7 @@ var cloudService={
|
|
|
//获得操作日志
|
|
|
userData['operateLog']=[];
|
|
|
if(hash.isExistence(userData['curingInfo'])){
|
|
|
- userData['operateLog']=await models.buildOperate_log.findByCondition(1,hash.hashDecode(userData['curingInfo']['id']));
|
|
|
+ userData['operateLog']=await models.operate_log.findByCondition(2,hash.hashDecode(userData['curingInfo']['id']));
|
|
|
}
|
|
|
|
|
|
return userData;
|
|
@@ -333,7 +333,7 @@ var cloudService={
|
|
|
|
|
|
var operation=STAFF.username+'升级'+data.name;
|
|
|
//记录锁日志
|
|
|
- await models.buildOperate_log.createOperateLog(1,id,operation);
|
|
|
+ await models.operate_log.createOperateLog(2,id,operation);
|
|
|
|
|
|
return true;
|
|
|
}else{
|
|
@@ -371,7 +371,7 @@ var cloudService={
|
|
|
|
|
|
//记录操作日志
|
|
|
var operation=STAFF.username+'关联CLD联系人'+clientDetail.clientname;
|
|
|
- await models.buildOperate_log.createOperateLog(1,id,operation);
|
|
|
+ await models.operate_log.createOperateLog(2,id,operation);
|
|
|
return true;
|
|
|
}else{
|
|
|
return false;
|
|
@@ -406,7 +406,7 @@ var cloudService={
|
|
|
var clientDetail=await models.CLD_client.findById(curingDetail['client_id']);
|
|
|
//记录操作日志
|
|
|
var operation=STAFF.username+'移除CLD联系人'+clientDetail.clientname;
|
|
|
- await models.buildOperate_log.createOperateLog(1,id,operation);
|
|
|
+ await models.operate_log.createOperateLog(2,id,operation);
|
|
|
|
|
|
return true;
|
|
|
}else{
|