作者 lyh

gx

@@ -153,7 +153,7 @@ class GeoQuestionResLogic extends BaseLogic @@ -153,7 +153,7 @@ class GeoQuestionResLogic extends BaseLogic
153 */ 153 */
154 public function getLabelData(){ 154 public function getLabelData(){
155 $questionModel = new GeoQuestion(); 155 $questionModel = new GeoQuestion();
156 - $labelArr = $questionModel->getValue(['project_id'=>$this->user['project_id']],'label'); 156 + $labelArr = $questionModel->selectField(['project_id'=>$this->user['project_id']],'label');
157 $data = []; 157 $data = [];
158 foreach ($labelArr as $item){ 158 foreach ($labelArr as $item){
159 $arr = explode("\r\n",$item); 159 $arr = explode("\r\n",$item);