...
|
...
|
@@ -27,6 +27,7 @@ class Home extends Base { |
|
|
private function getFolderIds($email_id){
|
|
|
$folder_ids = app()->request('folder_ids',[],['intval','abs']);
|
|
|
|
|
|
if(is_array($folder_ids)){
|
|
|
foreach ($folder_ids as $k=>$folder_id){
|
|
|
if(!$folder_id){
|
|
|
unset($folder_ids[$k]);
|
...
|
...
|
@@ -36,6 +37,7 @@ class Home extends Base { |
|
|
if($folder_ids){
|
|
|
$folder_ids = array_values($folder_ids);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 默认查询 inbox
|
|
|
if(!is_array($folder_ids) || !$folder_ids){
|
...
|
...
|
|