This commit is contained in:
aozhiwei 2024-10-10 15:04:58 +08:00
parent 33346e5b5d
commit 6971d9ba42
2 changed files with 6 additions and 2 deletions

View File

@ -18,6 +18,11 @@ class HashRateShop {
return self::$metaList; return self::$metaList;
} }
public static function all()
{
return self::$metaList;
}
protected static $metaList; protected static $metaList;
} }

View File

@ -12,8 +12,7 @@ class HashRateShopService {
public static function getGoodsList() public static function getGoodsList()
{ {
$goodsMetaList = mt\HashRateShop::all();
$goodsMetaList = $goodsMetaList ? $goodsMetaList : array();
$buyRecordHash = ShopBuyRecord::allToHash(); $buyRecordHash = ShopBuyRecord::allToHash();
$goodsList = array(); $goodsList = array();