sandm 1 ano atrás
pai
commit
a06e727548

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

@@ -195,7 +195,7 @@ class SurveyController extends Controller {
     {
 		
 		$data = request()->post();
-		$type = request()->get('type');
+		$type = request()->post('type');
         if(empty($type)) $type = 'industry';
         
 		$survey = ArrayHelper::toArray(SurveyNew::find()->where(['type' => $type])->all());