1
This commit is contained in:
parent
baf44c0391
commit
089fe16bbc
@ -377,12 +377,12 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
|
|
||||||
$goodsUuid = getReqVal('goods_uuid', '');
|
$goodsUuid = getReqVal('goods_uuid', '');
|
||||||
$price = getReqVal('price', '');
|
$price = getReqVal('price', '');
|
||||||
if (empty($s_price)) {
|
if (empty($price)) {
|
||||||
myself()-_rspErr(1, 's_price not found');
|
myself()-_rspErr(1, 'price not found');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!is_numeric($s_price)) {
|
if (!is_numeric($price)) {
|
||||||
myself()-_rspErr(1, 's_price not number');
|
myself()-_rspErr(1, 'price not number');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -400,7 +400,7 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
$response = services\BlockChainService::gameItemMarketBuy(
|
$response = services\BlockChainService::gameItemMarketBuy(
|
||||||
Transaction::BUY_GOODS_FROM_MARKET_ACTION_TYPE,
|
Transaction::BUY_GOODS_FROM_MARKET_ACTION_TYPE,
|
||||||
$goods['owner_address'],
|
$goods['owner_address'],
|
||||||
$goods['s_price'],
|
$goods['price'],
|
||||||
$goods['item_id'],
|
$goods['item_id'],
|
||||||
$goods['amount']
|
$goods['amount']
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user