|
@@ -114,7 +114,7 @@ class GeoLogic extends BaseLogic |
|
@@ -114,7 +114,7 @@ class GeoLogic extends BaseLogic |
|
114
|
$geo_question_count = GeoQuestion::selectRaw('SUM(JSON_LENGTH(question)) as total_count')->value('total_count');
|
114
|
$geo_question_count = GeoQuestion::selectRaw('SUM(JSON_LENGTH(question)) as total_count')->value('total_count');
|
|
115
|
$geo_pr_count = GeoLink::where('project_id',$this->param['project_id'])->count();
|
115
|
$geo_pr_count = GeoLink::where('project_id',$this->param['project_id'])->count();
|
|
116
|
$geo_writings_count = GeoWritings::where('project_id',$this->param['project_id'])->count();
|
116
|
$geo_writings_count = GeoWritings::where('project_id',$this->param['project_id'])->count();
|
|
117
|
- return $this->success(['geo_writings_count'=>$geo_writings_count,'$geo_pr_count'=>$geo_pr_count,'geo_question_count'=>$geo_question_count]);
|
117
|
+ return $this->success(['geo_writings_count'=>$geo_writings_count,'geo_pr_count'=>$geo_pr_count,'geo_question_count'=>$geo_question_count]);
|
|
118
|
}
|
118
|
}
|
|
119
|
|
119
|
|
|
120
|
} |
120
|
} |