|
@@ -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']);
|