wugg пре 9 месеци
родитељ
комит
b28a84dd6a
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      app/bug/controller/Note.php

+ 3 - 3
app/bug/controller/Note.php

@@ -32,8 +32,8 @@ class Note extends Base
 	        "title"=>$param['title'],
 	        "remark"=>$param['remark'],
 	        "company_type"=>$param['company_type'],
-	        "apply_name"=>$this->uid,
-	        "apply_id"=>$this->uname,
+	        "apply_id"=>$this->uid,
+	        "apply_name"=>$this->uname,
 	        "level"=>$param['level'],
 	        "type"=>$param['type'],
 	        "submit"=>$param['submit'],
@@ -130,7 +130,7 @@ class Note extends Base
 	    $valid =Validate::rule([
 	    	'id|标题Id'=>'require|number|gt:0',
 	    	'title|标题'=>'require|max:255',
-	    	'remark|描述'=>'require|max:255',
+	    	'remark|描述'=>'require|max:5000',
 	    	'company_type|公司平台类别'=>'require|max:255',
 	    	'model_id|模块分类'=>'',
 	    	'level|优先级'=>'require|number|in:1,2,3',