作者 李宇航

合并分支 'lyh-server' 到 'master'

变更数据



查看合并请求 !2859
@@ -49,7 +49,7 @@ class GeoQuestionResLogic extends BaseLogic @@ -49,7 +49,7 @@ class GeoQuestionResLogic extends BaseLogic
49 public function getResultList($map = [],$page = 1,$row = 20,$order = 'created_at',$sort = 'desc'){ 49 public function getResultList($map = [],$page = 1,$row = 20,$order = 'created_at',$sort = 'desc'){
50 unset($map['sort']); 50 unset($map['sort']);
51 $map['project_id'] = $this->user['project_id']; 51 $map['project_id'] = $this->user['project_id'];
52 - $map['is_match'] = ['!=',0]; 52 + $map['hit'] = ['!=',0];
53 $filed = ['id','project_id','question_id','platform','is_match','question','en_question','keywords','url','label','cosine','created_at','updated_at']; 53 $filed = ['id','project_id','question_id','platform','is_match','question','en_question','keywords','url','label','cosine','created_at','updated_at'];
54 if(!empty($map['created_at'])){ 54 if(!empty($map['created_at'])){
55 $map['created_at'] = ['between',[$map['created_at'].' 00:00:00',$map['created_at'].' 23:59:59']]; 55 $map['created_at'] = ['between',[$map['created_at'].' 00:00:00',$map['created_at'].' 23:59:59']];