caipin 5 年之前
父节点
当前提交
09d869e58f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/service/cloudEditionService.js

+ 4 - 4
app/service/cloudEditionService.js

@@ -60,11 +60,11 @@ var cloudService={
         curingCloudList.forEach(async function(cclValue,cclKey){
         	curingCloudList[cclKey].client_id=0
         	
-        	falg=false;
+        	falg=true;
         	curingList.forEach(function(clValue,clKey){
             	if(cclValue.mobile==clValue.mobile){
             		curingCloudList[cclKey].client_id=clValue.client_id;
-            		falg=true;
+            		falg=false;
             		throw new Error('end foreach curingList');
             	}
             });
@@ -109,8 +109,8 @@ var cloudService={
                 }
             });
 
-            curingCloudList[i].addtime=moment.unix(v.addtime).format('YYYY-MM-DD HH:mm');
-            curingCloudList[i].id=hash.hashEncode(v.id.toString());
+            curingCloudList[i].addtime=moment.unix(v.create_time).format('YYYY-MM-DD HH:mm');
+            //curingCloudList[i].id=hash.hashEncode(v.id.toString());
             curingCloudList[i].client_id=hash.hashEncode(v.client_id.toString());
             curingCloudList[i].sso_id=v.sso_id;
         });