|
...
|
...
|
@@ -205,4 +205,22 @@ class NoticeController extends BaseController |
|
|
|
MessagePush::addInquiryMessage(0, $project->id, $country, $name, $submit);
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取6.0所有使用域名
|
|
|
|
* @return false|string
|
|
|
|
* @author Akun
|
|
|
|
* @date 2025/10/30 10:42
|
|
|
|
*/
|
|
|
|
public function getAllDomain(){
|
|
|
|
$domainModel = new DomainInfo();
|
|
|
|
$lists = $domainModel->list(['status'=>DomainInfo::STATUS_ONE],'id',['domain','project_id'],'asc');
|
|
|
|
|
|
|
|
$project_model = new Project();
|
|
|
|
foreach ($lists as &$v){
|
|
|
|
$pro_info = $project_model->read(['id'=>$v['project_id']],['company']);
|
|
|
|
$v['company'] = $pro_info ? $pro_info['company'] : '';
|
|
|
|
}
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|