hasOne(Member::class, 'uid', 'uid'); } /** * @param $keyword * @return mixed */ public static function getStoreByName($keyword) { return static::uniacid()->select('id', 'store_name', 'thumb') ->where('store_name', 'like', '%' . $keyword . '%') ->get(); } }