作者 邓超

x

@@ -35,15 +35,13 @@ class Home extends Base { @@ -35,15 +35,13 @@ class Home extends Base {
35 35
36 $last_id = app()->request('last_id',0,['intval','abs']); 36 $last_id = app()->request('last_id',0,['intval','abs']);
37 37
38 - $email_id = app()->request('email_id',0,['intval','abs']);  
39 -  
40 $folder_ids = app()->request('folder_ids',[],['intval','abs']); 38 $folder_ids = app()->request('folder_ids',[],['intval','abs']);
41 39
42 if(!is_array($folder_ids)){ 40 if(!is_array($folder_ids)){
43 app()->_json([]); 41 app()->_json([]);
44 } 42 }
45 43
46 - $where = ['email_id' => $email_id]; 44 + $where = ['email_id' => $this->getEmail('id')];
47 45
48 //目录 46 //目录
49 $where['folder_id'] = $folder_ids; 47 $where['folder_id'] = $folder_ids;