Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
namespace Admin\Model;
|
||||
use Think\Model;
|
||||
class RoleModel extends Model{
|
||||
protected $_validate = array(
|
||||
array('name','require','角色名称必须填写!'),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user