'全部', self::Normal => '正常', self::SaleOut => '已出售', self::Close => '关闭', ]; public static function getProductBuyingMaxPrice(int $productId) { return self::where('product_id', $productId)->max('min_price'); } }