mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-30 11:05:27 +08:00
优化 安装包生成
This commit is contained in:
21
Application/Home/Model/UserModel.class.php
Executable file
21
Application/Home/Model/UserModel.class.php
Executable file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Home\Model;
|
||||
use Think\Model;
|
||||
|
||||
/**
|
||||
* 用户模型
|
||||
* @author Devil
|
||||
* @blog http://gong.gg/
|
||||
* @version 0.0.1
|
||||
* @datetime 2016-12-01T21:51:08+0800
|
||||
*/
|
||||
class UserModel extends CommonModel
|
||||
{
|
||||
// 数据自动校验
|
||||
protected $_validate = array(
|
||||
// 注册
|
||||
array('pwd', 'CheckLoginPwd', '{%user_reg_pwd_format}', 1, 'function', 1),
|
||||
);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user