正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -19,6 +19,7 @@ use App\Models\Inquiry\ReInquiryCount; | @@ -19,6 +19,7 @@ use App\Models\Inquiry\ReInquiryCount; | ||
| 19 | use App\Models\Inquiry\ReInquiryDetail; | 19 | use App\Models\Inquiry\ReInquiryDetail; |
| 20 | use App\Models\Inquiry\ReInquiryForm; | 20 | use App\Models\Inquiry\ReInquiryForm; |
| 21 | use App\Models\Inquiry\ReInquiryTask; | 21 | use App\Models\Inquiry\ReInquiryTask; |
| 22 | +use App\Models\Project\Payment; | ||
| 22 | use App\Models\Project\Project; | 23 | use App\Models\Project\Project; |
| 23 | use App\Utils\HttpUtils; | 24 | use App\Utils\HttpUtils; |
| 24 | use App\Utils\LogUtils; | 25 | use App\Utils\LogUtils; |
| @@ -265,7 +266,7 @@ class AdsController extends BaseController | @@ -265,7 +266,7 @@ class AdsController extends BaseController | ||
| 265 | 'agent' => Channel::getChannelText($channel['user_id']??0), | 266 | 'agent' => Channel::getChannelText($channel['user_id']??0), |
| 266 | 'agent_group' => trim(explode('-', Channel::getChannelText($channel['user_id']??0))[0]), | 267 | 'agent_group' => trim(explode('-', Channel::getChannelText($channel['user_id']??0))[0]), |
| 267 | 'domain' => $domain, | 268 | 'domain' => $domain, |
| 268 | - 'price' => $channel->payment['amount'] ?? 0 | 269 | + 'price' => Payment::where('project_id', $domain_info['project_id'])->value('amount') ?: 0 |
| 269 | ]; | 270 | ]; |
| 270 | return $this->response('success', Code::SUCCESS, $data); | 271 | return $this->response('success', Code::SUCCESS, $data); |
| 271 | } | 272 | } |
-
请 注册 或 登录 后发表评论