正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -275,7 +275,7 @@ class AdsController extends BaseController | @@ -275,7 +275,7 @@ class AdsController extends BaseController | ||
| 275 | 275 | ||
| 276 | foreach ($result as &$item){ | 276 | foreach ($result as &$item){ |
| 277 | $item->tasks = $item->tasks; //调用访问器 | 277 | $item->tasks = $item->tasks; //调用访问器 |
| 278 | - $item['project_id'] = DomainInfo::where('domain', $item['domain'])->value('id') ?: 0; | 278 | + $item['project_id'] = DomainInfo::where('domain', $item['domain'])->value('project_id') ?: 0; |
| 279 | } | 279 | } |
| 280 | 280 | ||
| 281 | return $this->response('success', Code::SUCCESS, $result); | 281 | return $this->response('success', Code::SUCCESS, $result); |
-
请 注册 或 登录 后发表评论