正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -131,8 +131,7 @@ class MailListV2 extends Base { | @@ -131,8 +131,7 @@ class MailListV2 extends Base { | ||
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||
134 | - $where = ['lists|email_id'=>$this->getEmails('id')]; | ||
135 | - | 134 | + $where = []; |
136 | // 目录 | 135 | // 目录 |
137 | $folder = app()->request('folder','收件箱'); | 136 | $folder = app()->request('folder','收件箱'); |
138 | // 只允许查询这里文件夹 | 137 | // 只允许查询这里文件夹 |
@@ -170,6 +169,8 @@ class MailListV2 extends Base { | @@ -170,6 +169,8 @@ class MailListV2 extends Base { | ||
170 | 169 | ||
171 | //目录 | 170 | //目录 |
172 | $where['folder_id'] = $folder_id; | 171 | $where['folder_id'] = $folder_id; |
172 | + }else{ | ||
173 | + $where = ['lists|email_id'=>$this->getEmails('id')]; | ||
173 | } | 174 | } |
174 | 175 | ||
175 | if($ids) $where['id'] = $ids; | 176 | if($ids) $where['id'] = $ids; |
-
请 注册 或 登录 后发表评论