...
|
...
|
@@ -126,14 +126,17 @@ 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']){
|
|
|
if(!$where['from']){
|
|
|
// 不让查询数据
|
|
|
$where['id'] = 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
...
|
...
|
|