|
...
|
...
|
@@ -74,6 +74,11 @@ class fob_hot_ai_mail_auto_reply |
|
|
|
while (!$this->isStop()) {
|
|
|
|
|
|
|
|
try {
|
|
|
|
// 每天清空一次
|
|
|
|
if(redis()->add('new_hot_mail_auto_reply_ids_lock',1,86400)){
|
|
|
|
redis()->delete('new_hot_mail_auto_reply_ids');
|
|
|
|
}
|
|
|
|
|
|
|
|
$id = redis()->lPop('new_hot_mail_auto_reply_ids');
|
|
|
|
if ($id) {
|
|
|
|
// 检查是否到时间了
|
|
...
|
...
|
@@ -99,7 +104,7 @@ class fob_hot_ai_mail_auto_reply |
|
|
|
// 验证邮箱状态
|
|
|
|
$post_id = fob_mysql()->cache(3600)->value("select `post_id` from `e_mail_binds` where `email_id` = " . $data['email_id']);
|
|
|
|
// // 国内项目不回复
|
|
|
|
if ($post_id == 10001746) {
|
|
|
|
if ($post_id == 10001746 || $post_id == 10002367) {
|
|
|
|
_echo('国内项目跳过');
|
|
|
|
continue;
|
|
|
|
}
|
...
|
...
|
|