Merge branch 'hotfix/email' into develop
This commit is contained in:
@@ -32,7 +32,7 @@ class EmailPullParsed extends Model
|
|||||||
*
|
*
|
||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
public $timestamps = true;
|
public $timestamps = false;
|
||||||
|
|
||||||
|
|
||||||
protected $dateFormat = 'U';
|
protected $dateFormat = 'U';
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ class Mailbox
|
|||||||
flg("✔ {$username}获取到新询盘邮件 {$count} 条 ...", false,'mailbox');
|
flg("✔ {$username}获取到新询盘邮件 {$count} 条 ...", false,'mailbox');
|
||||||
|
|
||||||
|
|
||||||
if(empty($uids)){
|
if(!empty($uids)){
|
||||||
$mailboxModel->last_uid = max($uids);
|
$mailboxModel->last_uid = max($uids);
|
||||||
}
|
}
|
||||||
$mailboxModel->last_fetch_at = time();
|
$mailboxModel->last_fetch_at = time();
|
||||||
|
|||||||
Reference in New Issue
Block a user