|
@@ -205,4 +205,22 @@ class NoticeController extends BaseController |
|
@@ -205,4 +205,22 @@ class NoticeController extends BaseController |
|
205
|
MessagePush::addInquiryMessage(0, $project->id, $country, $name, $submit);
|
205
|
MessagePush::addInquiryMessage(0, $project->id, $country, $name, $submit);
|
|
206
|
return $this->success();
|
206
|
return $this->success();
|
|
207
|
}
|
207
|
}
|
|
|
|
208
|
+
|
|
|
|
209
|
+ /**
|
|
|
|
210
|
+ * 获取6.0所有使用域名
|
|
|
|
211
|
+ * @return false|string
|
|
|
|
212
|
+ * @author Akun
|
|
|
|
213
|
+ * @date 2025/10/30 10:42
|
|
|
|
214
|
+ */
|
|
|
|
215
|
+ public function getAllDomain(){
|
|
|
|
216
|
+ $domainModel = new DomainInfo();
|
|
|
|
217
|
+ $lists = $domainModel->list(['status'=>DomainInfo::STATUS_ONE],'id',['domain','project_id'],'asc');
|
|
|
|
218
|
+
|
|
|
|
219
|
+ $project_model = new Project();
|
|
|
|
220
|
+ foreach ($lists as &$v){
|
|
|
|
221
|
+ $pro_info = $project_model->read(['id'=>$v['project_id']],['company']);
|
|
|
|
222
|
+ $v['company'] = $pro_info ? $pro_info['company'] : '';
|
|
|
|
223
|
+ }
|
|
|
|
224
|
+ return $this->success($lists);
|
|
|
|
225
|
+ }
|
|
208
|
} |
226
|
} |