sandm 1 年之前
父节点
当前提交
a7d3a09ad8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/api/modules/v1/controllers/SurveyController.php

+ 1 - 1
server/api/modules/v1/controllers/SurveyController.php

@@ -52,7 +52,7 @@ class SurveyController extends Controller {
         $type = request()->get('type');
         $type = request()->get('type');
         if(empty($type)) $type = 'industry';
         if(empty($type)) $type = 'industry';
         
         
-        $lists = ArrayHelper::toArray(Config::find()->select(['name','value','extra','description','type'])->where(['group' => $type])->all());
+        $lists = ArrayHelper::toArray(Config::find()->select(['name','value','extra','description','type','tips'])->where(['group' => $type])->all());
 
 
 		foreach ($lists as &$value) {
 		foreach ($lists as &$value) {
 			$value['value'] = explode("\r\n",$value['extra']);
 			$value['value'] = explode("\r\n",$value['extra']);