validate方法未生效?怎么回事?
public function rules(){
return [
['id','integer'],
['name','string','length'=>[0,32]],
['password','string']
];
}
public function rules(){
return [
['id','integer'],
['name','string','length'=>[0,32]],
['password','string']
];
}
2016-06-18
举报