You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
357 B

  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. /**
  5. * 短信验证码
  6. */
  7. class Sms Extends Model
  8. {
  9. // 开启自动写入时间戳字段
  10. protected $autoWriteTimestamp = 'int';
  11. // 定义时间戳字段名
  12. protected $createTime = 'createtime';
  13. protected $updateTime = false;
  14. // 追加属性
  15. protected $append = [
  16. ];
  17. }