...
|
...
|
@@ -39,7 +39,9 @@ class Home extends Base { |
|
|
$id = app()->request('id');
|
|
|
if($id && is_numeric($id)){
|
|
|
ob_start();
|
|
|
$num = (new SyncMail($id))->search((new ImapSearch())->date(date('Y-m-d')))->sync();
|
|
|
$num = (new SyncMail($id))->isUidAfter(2)
|
|
|
->search((new ImapSearch())
|
|
|
->dateGt(date('Y-m-d')))->sync();
|
|
|
ob_clean();
|
|
|
if(is_array($num)){
|
|
|
app()->_json($num);
|
...
|
...
|
|