wugg il y a 9 mois
Parent
commit
cb09e29e1b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/bug/controller/Subscribe.php

+ 1 - 1
app/bug/controller/Subscribe.php

@@ -37,7 +37,7 @@ class Subscribe extends Base{
 		$info=[];
 		if(!empty($param['change_action'])){
 			$valid_item = Validate::rule([
-						'action_id|岗位功能'=>'require|array',
+						'action_id|岗位功能'=>'require|number',
 						'type|类型'=>'require|number|in:1,2',
 						'remark|备注'=>'max:255'
 						]);