作者 周海龙

合并分支 'zhl' 到 'master'

修改排序和显示结果



查看合并请求 !2321
... ... @@ -44,7 +44,7 @@ class GeoQuestionResLogic extends BaseLogic
public function getResultList($map = [],$page = 1,$row = 20,$order = 'id'){
$filed = ['id','project_id','question_id','platform','question','keywords','url','created_at','updated_at'];
$result = GeoQuestionResult::select($filed)
->where(['project_id' => $map['project_id']])
->where($map)
->where(function($query) {
$query->where('keywords', '!=', '[]')
->orWhere('url', '!=', '[]');
... ...