This commit is contained in:
aozhiwei 2024-10-11 11:01:03 +08:00
parent b07675d2ef
commit aea070b2e0

View File

@ -24,6 +24,9 @@ class HashRateShopService {
if ($goodsMeta['is_close']) {
continue;
}
if ($goodsMeta['first_time'] <= myself()->_getNowTime()) {
continue;
}
$goodsDto = array(
'goods_id' => $goodsMeta['id'],
'price' => $goodsMeta['pile_price'],
@ -70,6 +73,11 @@ class HashRateShopService {
$errMsg = 'cant buy';
return;
}
if ($goodsMeta['first_time'] <= myself()->_getNowTime()) {
$errCode = 1;
$errMsg = 'cant buy';
return;
}
$errCode = 0;
$errMsg = '';
$buyRecordHash = HashRateShopBuyRecord::allToHash();