正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -76,7 +76,9 @@ class HotMail { | @@ -76,7 +76,9 @@ class HotMail { | ||
76 | private function findFolder(int $email_id, string $folder,string $type){ | 76 | private function findFolder(int $email_id, string $folder,string $type){ |
77 | // 查询 文件夹 | 77 | // 查询 文件夹 |
78 | $folders = db()->all(\Model\folderSql::all($email_id,'`id`,`folder`')); | 78 | $folders = db()->all(\Model\folderSql::all($email_id,'`id`,`folder`')); |
79 | - | 79 | + if($folders){ |
80 | + return true; | ||
81 | + } | ||
80 | foreach ($folders as $f){ | 82 | foreach ($folders as $f){ |
81 | if(folderAlias($f['folder']) == $folder){ | 83 | if(folderAlias($f['folder']) == $folder){ |
82 | // 最后记录的id | 84 | // 最后记录的id |
-
请 注册 或 登录 后发表评论