1
This commit is contained in:
parent
b3251fe140
commit
3f218c568a
@ -249,6 +249,10 @@ class InGameMallController extends BaseAuthedController {
|
||||
$this->_rspErr(1, 'param price error');
|
||||
return;
|
||||
}
|
||||
if ($priceBn > 0xFFFFFFFF) {
|
||||
$this->_rspErr(1, 'param price error');
|
||||
return;
|
||||
}
|
||||
$propertyChgService = new PropertyChgService();
|
||||
if (\mt\Item::isBagItem($itemMeta['type'],$itemMeta['sub_type'])){
|
||||
$costItems = array(
|
||||
@ -329,6 +333,10 @@ class InGameMallController extends BaseAuthedController {
|
||||
myself()->_rspErr(1, 'cannot cancel the goods');
|
||||
return;
|
||||
}
|
||||
if ($goodsDb['price'] < 0){
|
||||
myself()->_rspErr(1, ' goods price error');
|
||||
return;
|
||||
}
|
||||
$costItems = array(
|
||||
array(
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
@ -532,6 +540,10 @@ EOD;
|
||||
$this->_rspErr(1, 'param price error');
|
||||
return;
|
||||
}
|
||||
if ($priceBn > 0xFFFFFFFF) {
|
||||
$this->_rspErr(1, 'param price error');
|
||||
return;
|
||||
}
|
||||
$goodsDb = InGameMall::findByOrderId($orderId);
|
||||
if (!$goodsDb) {
|
||||
myself()->_rspErr(1, 'goods not found');
|
||||
|
Loading…
x
Reference in New Issue
Block a user