|
...
|
...
|
@@ -44,8 +44,7 @@ class APublicModel extends Base |
|
|
|
->where('project_id', $project_id)->where('status', self::STATUS_ON)->count();
|
|
|
|
//获取项目的询盘数量
|
|
|
|
$inquiryNumber = 0;
|
|
|
|
// $countInfo = DB::table('gl_count')->where('project_id', $project_id)->orderBy('id', 'desc')
|
|
|
|
// ->first();
|
|
|
|
$countInfo = DB::table('gl_count')->where('project_id', $project_id)->orderBy('id', 'desc')->first();
|
|
|
|
// if(!empty($countInfo)){
|
|
|
|
// @file_put_contents(storage_path('logs/lyh_error.log'), var_export($countInfo, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
// $inquiryNumber = $countInfo['inquiry_num'] ?? 0;
|
|
...
|
...
|
@@ -56,5 +55,4 @@ class APublicModel extends Base |
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
} |
...
|
...
|
|