|
@@ -61,13 +61,21 @@ var cloudService={
|
|
|
curingCloudList[cclKey].client_id=0
|
|
|
|
|
|
falg=true;
|
|
|
- curingList.forEach(function(clValue,clKey){
|
|
|
- if(cclValue.mobile==clValue.mobile){
|
|
|
- curingCloudList[cclKey].client_id=clValue.client_id;
|
|
|
+ for(var i=0;i<=curingList.length;i++){
|
|
|
+ if(cclValue.mobile==curingList[i].mobile){
|
|
|
+ curingCloudList[cclKey].client_id=curingList[i].client_id;
|
|
|
falg=false;
|
|
|
- throw new Error('end foreach curingList');
|
|
|
+ break;
|
|
|
}
|
|
|
- });
|
|
|
+ }
|
|
|
+
|
|
|
+// curingList.forEach(function(clValue,clKey){
|
|
|
+// if(cclValue.mobile==clValue.mobile){
|
|
|
+// curingCloudList[cclKey].client_id=clValue.client_id;
|
|
|
+// falg=false;
|
|
|
+// throw new Error('end foreach curingList');
|
|
|
+// }
|
|
|
+// });
|
|
|
if(falg){//新增本地扩展信息
|
|
|
sid=hash.hashDecode(STAFF.sid);
|
|
|
var obj = {
|