| ... | ... | @@ -126,13 +126,16 @@ class Home extends Base { | 
|  |  | // 如果是发件箱 | 
|  |  | if($folder == '发件箱'){ | 
|  |  | $where['to'] = app()->request('from'); | 
|  |  | if(!$where['to']){ | 
|  |  | // 不让查询数据 | 
|  |  | $where['id'] = 0; | 
|  |  | } | 
|  |  | }else{ | 
|  |  | $where['from'] = app()->request('from'); | 
|  |  | } | 
|  |  |  | 
|  |  | if(!$where['from'] || !$where['to']){ | 
|  |  | // 不让查询数据 | 
|  |  | $where['id'] = 0; | 
|  |  | if(!$where['from']){ | 
|  |  | // 不让查询数据 | 
|  |  | $where['id'] = 0; | 
|  |  | } | 
|  |  | } | 
|  |  |  | 
|  |  |  | 
... | ... |  |