MobileId.php 282 B

12345678910111213141516
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. /**
  5. * 邮箱验证码
  6. */
  7. class MobileId Extends Model
  8. {
  9. protected $name='mobileid';
  10. public static function notExists(){
  11. return self::whereNotExists("select id from mobile where mobile.id=mobileid.id");
  12. }
  13. }