123456789101112131415161718 |
- <?php
- namespace app\model;
- use think\Model;
- class AccountModel extends Model
- {
- protected $table = 'fc_account';
- protected $pk = 'id';
- protected $hidden = ['password', 'salt', 'pwd'];
- //状态
- public static $status_not_active = 0;//未激活
- public static $status_activated = 1;//已激活
- public static $status_invalid = 2;//已失效
- }
|