This commit is contained in:
songliang 2023-07-17 15:25:23 +08:00
parent 145602b391
commit 46a2173c2c
2 changed files with 6 additions and 4 deletions

View File

@ -137,6 +137,7 @@ class FirstTopupController extends BaseAuthedController
'group' => $group,
'status' => $status,
'reward' => $reward,
'property_chg' => $propertyChgService->toDto(),
)
);
} else if ($test >= 2) {

View File

@ -758,10 +758,11 @@ class MarketController extends BaseAuthedController
$goods['amount']
);
if (!$this->markOrderBuying($idx)) {
$this->_rspErr(1, 'buy failed, update order status failed, idx:' . $idx);
return;
}
// 不再标记购买状态,改为抢单模式,第一个交易成功者获得商品
// if (!$this->markOrderBuying($idx)) {
// $this->_rspErr(1, 'buy failed, update order status failed, idx:' . $idx);
// return;
// }
$item_id = $goods['item_id'];
$item_count = $goods['amount'];