...
|
...
|
@@ -41,11 +41,13 @@ class Home extends Base { |
|
|
|
|
|
// 默认查询 inbox
|
|
|
if(!is_array($folder_ids) || !$folder_ids){
|
|
|
$folder = app()->request('folder','收件箱');
|
|
|
$folder_ids = db()->value(
|
|
|
sprintf(
|
|
|
"select `id` from `%s` where `email_id` = %d and `origin_folder` = 'INBOX'",
|
|
|
"select `id` from `%s` where `email_id` = %d and `folder` = '%s'",
|
|
|
folderSql::$table
|
|
|
,$email_id
|
|
|
,$email_id,
|
|
|
addslashes($folder)
|
|
|
)
|
|
|
);
|
|
|
|
...
|
...
|
|