|
@@ -85,12 +85,15 @@ class Home extends Base { |
|
@@ -85,12 +85,15 @@ class Home extends Base { |
85
|
app()->e('sync_request_param_error');
|
85
|
app()->e('sync_request_param_error');
|
86
|
}else{
|
86
|
}else{
|
87
|
// 查询id
|
87
|
// 查询id
|
88
|
- $ids = db()->all(emailSql::getValues($where));
|
|
|
89
|
- foreach ($ids as $v){
|
88
|
+ $datas = db()->all(emailSql::getValues($where,'`id`,`email`,`pwd_error`'));
|
|
|
89
|
+ foreach ($datas as &$v){
|
|
|
90
|
+ if(!$v['pwd_error']){
|
90
|
redis()->rPush('sync_email_lists', $v['id']);
|
91
|
redis()->rPush('sync_email_lists', $v['id']);
|
91
|
}
|
92
|
}
|
|
|
93
|
+ unset($v['id']);
|
|
|
94
|
+ }
|
92
|
// 返回成功的参数值
|
95
|
// 返回成功的参数值
|
93
|
- app()->_json(array_values($where));
|
96
|
+ app()->_json($datas);
|
94
|
}
|
97
|
}
|
95
|
|
98
|
|
96
|
}
|
99
|
}
|