AccountModel.php 369 B

123456789101112131415161718
  1. <?php
  2. namespace app\model;
  3. use think\Model;
  4. class AccountModel extends Model
  5. {
  6. protected $table = 'fc_account';
  7. protected $pk = 'id';
  8. protected $hidden = ['password', 'salt', 'pwd'];
  9. //状态
  10. public static $status_not_active = 0;//未激活
  11. public static $status_activated = 1;//已激活
  12. public static $status_invalid = 2;//已失效
  13. }