<?php namespace app\common\model; use think\Model; /** * 邮箱验证码 */ class MobileId Extends Model { protected $name='mobileid'; public static function notExists(){ return self::whereNotExists("select id from mobile where mobile.id=mobileid.id"); } }