tyx
- tyx 2015-10-19 已签到连续签到1天,获得了5个金钱
- tyx 2015-10-16 已签到连续签到1天,获得了5个金钱
- tyx 赞了回答
[ 'attr1', 'string or int or else rules you need', 'when' => function($model) { return $model->attr1 || $model->attr2; }, 'message' => ' your error tips' ]
- tyx 提出了问题YII2中的rules规则如何使用
- tyx 2015-10-12 已签到连续签到1天,获得了5个金钱
- tyx 2015-10-08 已签到连续签到1天,获得了5个金钱
- tyx 2015-09-18 已签到连续签到1天,获得了5个金钱