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