1
This commit is contained in:
parent
b07675d2ef
commit
aea070b2e0
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user