...
|
...
|
@@ -76,7 +76,7 @@ class HotMail { |
|
|
private function findFolder(int $email_id, string $folder,string $type){
|
|
|
// 查询 文件夹
|
|
|
$folders = db()->all(\Model\folderSql::all($email_id,'`id`,`folder`'));
|
|
|
if($folders){
|
|
|
if(!$folders){
|
|
|
return true;
|
|
|
}
|
|
|
foreach ($folders as $f){
|
...
|
...
|
@@ -96,7 +96,7 @@ class HotMail { |
|
|
* @time 2024/7/18 15:11
|
|
|
*/
|
|
|
private function findList(Data $data, int $p = 1){
|
|
|
$lists = db()->all(
|
|
|
$lists = db()->throw()->all(
|
|
|
sprintf(
|
|
|
"select `id`,`folder_id`,`lists`.`email_id`,`%s` from `lists` left join `fob_hot_mail` on `fob_hot_mail`.`lists_id` = `lists`.`id` where `lists`.`email_id` = %d and `folder_id` = %d and `fob_hot_mail`.`lists_id` is null order by `id` asc limit 1000 offset ".(($p-1)*1000),
|
|
|
$data->type=='f' ? 'to_name':'from', // 收件箱查询 from字段 发件箱 查询 to_name字段
|
...
|
...
|
|