|
...
|
...
|
@@ -403,11 +403,18 @@ class DomainInfo extends Command |
|
|
|
* @param $domain_id
|
|
|
|
* @param $domain
|
|
|
|
* @param $is_end
|
|
|
|
* @return bool
|
|
|
|
* @author Akun
|
|
|
|
* @date 2025/08/14 9:56
|
|
|
|
*/
|
|
|
|
public function domainChatMessage($project_id, $domain_id, $domain, $is_end)
|
|
|
|
{
|
|
|
|
//每周一推送
|
|
|
|
$week_day = date('w');
|
|
|
|
if ($week_day != 1) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
//项目是否有绑定群
|
|
|
|
$friend_id = ProjectAssociation::where('project_id', $project_id)
|
|
|
|
->where('status', ProjectAssociation::STATUS_NORMAL)
|
|
...
|
...
|
@@ -431,6 +438,8 @@ class DomainInfo extends Command |
|
|
|
$messagePushModel = new MessagePush();
|
|
|
|
$messagePushModel->add($param);
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -439,6 +448,12 @@ class DomainInfo extends Command |
|
|
|
*/
|
|
|
|
public function domainChatMessageV5()
|
|
|
|
{
|
|
|
|
//每周一推送
|
|
|
|
$week_day = date('w');
|
|
|
|
if ($week_day != 1) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
$domain_json = @file_get_contents('https://www.quanqiusou.cn/extend_api/aicc/domain_expire_lists.php');
|
|
|
|
$domains = json_decode($domain_json, true);
|
|
|
|
if (empty($domains))
|
...
|
...
|
|