Image.php 484 字节
<?php

namespace App\Models\File;

use App\Models\Base;

class Image extends Base
{
    protected $table = 'gl_image';

    public $timestamps = true;

    /**
     * @param $hash
     * @name   :(获取图片详情)image_read
     * @author :lyh
     * @method :post
     * @time   :2023/5/4 11:50
     */
    public function image_read($hash){
        $info = $this->read(['hash'=>$hash]);
        if(empty($info)){
            return false;
        }
        return $info;
    }
}