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