作者 赵彬吉

update

... ... @@ -19,6 +19,7 @@ use App\Models\Inquiry\ReInquiryCount;
use App\Models\Inquiry\ReInquiryDetail;
use App\Models\Inquiry\ReInquiryForm;
use App\Models\Inquiry\ReInquiryTask;
use App\Models\Project\Payment;
use App\Models\Project\Project;
use App\Utils\HttpUtils;
use App\Utils\LogUtils;
... ... @@ -265,7 +266,7 @@ class AdsController extends BaseController
'agent' => Channel::getChannelText($channel['user_id']??0),
'agent_group' => trim(explode('-', Channel::getChannelText($channel['user_id']??0))[0]),
'domain' => $domain,
'price' => $channel->payment['amount'] ?? 0
'price' => Payment::where('project_id', $domain_info['project_id'])->value('amount') ?: 0
];
return $this->response('success', Code::SUCCESS, $data);
}
... ...