|
...
|
...
|
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Api; |
|
|
|
use App\Enums\Common\Code;
|
|
|
|
use App\Exceptions\InquiryFilterException;
|
|
|
|
use App\Models\Domain\DomainInfo;
|
|
|
|
use App\Models\Inquiry\ReInquiryCount;
|
|
|
|
use App\Models\Product\Category;
|
|
|
|
use App\Models\Product\Product;
|
|
|
|
use App\Models\Project\Project;
|
|
...
|
...
|
@@ -142,4 +143,14 @@ class InquiryController extends BaseController |
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getFbInquiry(Request $request){
|
|
|
|
$domain = $request->input('domain', '');
|
|
|
|
if(!$domain){
|
|
|
|
return $this->error('域名必填');
|
|
|
|
}
|
|
|
|
$result = ReInquiryCount::where('domain', 'like', '%'.$domain.'%')->first();
|
|
|
|
$result->tasks = $result->tasks; //调用访问器
|
|
|
|
return $this->success($result);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|