Sin descripción
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.

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. /**
  5. * 邮箱验证码
  6. */
  7. class Ems extends Model
  8. {
  9. protected $auto = ['ip'];
  10. public function setIpAttr($value)
  11. {
  12. return request()->ip();
  13. }
  14. }