|
...
|
...
|
@@ -275,7 +275,7 @@ class AdsController extends BaseController |
|
|
|
|
|
|
|
foreach ($result as &$item){
|
|
|
|
$item->tasks = $item->tasks; //调用访问器
|
|
|
|
$item['project_id'] = DomainInfo::where('domain', $item['domain'])->value('id') ?: 0;
|
|
|
|
$item['project_id'] = DomainInfo::where('domain', $item['domain'])->value('project_id') ?: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
return $this->response('success', Code::SUCCESS, $result);
|
...
|
...
|
|