...
This commit is contained in:
parent
947d21b308
commit
332d8d6e09
@ -1266,6 +1266,9 @@ class ShopController extends BaseAuthedController
|
|||||||
$costItemId = $this->getCostItemIdByTokenType($token_type);
|
$costItemId = $this->getCostItemIdByTokenType($token_type);
|
||||||
|
|
||||||
$costItems = $this->makeCostItems($costItemId, $count * $need_price);
|
$costItems = $this->makeCostItems($costItemId, $count * $need_price);
|
||||||
|
|
||||||
|
error_log("buyGoodsDS costItems " . json_encode($costItems));
|
||||||
|
|
||||||
$lackItem = null;
|
$lackItem = null;
|
||||||
if (!$this->_hasEnoughItems($costItems, $lackItem)) {
|
if (!$this->_hasEnoughItems($costItems, $lackItem)) {
|
||||||
$this->_rspErr(2, $this->_getLackItemErrMsg($lackItem));
|
$this->_rspErr(2, $this->_getLackItemErrMsg($lackItem));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user