<?php
/**
 * Created by PhpStorm.
 * User: bmb369
 * Date: 2024-05-07
 * Time: 14:20
 */
namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\DB;
// use App\Lib\JwtService;

class LoginCacheModel extends Base {

    protected $table = 'gz_login_cache';
     use SoftDeletes;

    protected $dates = ['deleted_at'];
    protected $primaryKey = 'id';


    public function delLoginCache($where){
        return LoginCacheModel::where($where)->delete();//软删除，laravel搭配 deleted_at 必须用这个
    }


    

}