1
This commit is contained in:
parent
b07675d2ef
commit
aea070b2e0
@ -24,6 +24,9 @@ class HashRateShopService {
|
|||||||
if ($goodsMeta['is_close']) {
|
if ($goodsMeta['is_close']) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if ($goodsMeta['first_time'] <= myself()->_getNowTime()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$goodsDto = array(
|
$goodsDto = array(
|
||||||
'goods_id' => $goodsMeta['id'],
|
'goods_id' => $goodsMeta['id'],
|
||||||
'price' => $goodsMeta['pile_price'],
|
'price' => $goodsMeta['pile_price'],
|
||||||
@ -70,6 +73,11 @@ class HashRateShopService {
|
|||||||
$errMsg = 'cant buy';
|
$errMsg = 'cant buy';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if ($goodsMeta['first_time'] <= myself()->_getNowTime()) {
|
||||||
|
$errCode = 1;
|
||||||
|
$errMsg = 'cant buy';
|
||||||
|
return;
|
||||||
|
}
|
||||||
$errCode = 0;
|
$errCode = 0;
|
||||||
$errMsg = '';
|
$errMsg = '';
|
||||||
$buyRecordHash = HashRateShopBuyRecord::allToHash();
|
$buyRecordHash = HashRateShopBuyRecord::allToHash();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user