1
This commit is contained in:
parent
f1775bc01e
commit
6dee87fd97
@ -207,7 +207,7 @@ class PassController extends BaseAuthedController
|
||||
return;
|
||||
}
|
||||
$response = services\BlockChainService::gameItemMallBuy(
|
||||
Transaction::BUY_PASS_ACTION_TYPE, $price, V_ITEM_PASS, 1);
|
||||
Transaction::BUY_PASS_ACTION_TYPE, $price * pow(10,18), V_ITEM_PASS, 1);
|
||||
|
||||
$this->_setV(TN_DAILY_BUY_PASS_STATE, 0, 1);
|
||||
BcOrder::upsert($response['trans_id'], array(
|
||||
@ -237,7 +237,7 @@ class PassController extends BaseAuthedController
|
||||
return;
|
||||
}
|
||||
$response = services\BlockChainService::gameItemMallBuy(
|
||||
Transaction::BUY_EXP_ACTION_TYPE, $price, V_ITEM_EXP, $passMeta['total_exp'] - $this->userInfo['exp']);
|
||||
Transaction::BUY_EXP_ACTION_TYPE, $price * pow(10,18), V_ITEM_EXP, $passMeta['total_exp'] - $this->userInfo['exp']);
|
||||
$this->_setV(TN_DAILY_BUY_LEVEL_STATE, 0, 1);
|
||||
BcOrder::upsert($response['trans_id'], array(
|
||||
'item_id' => V_ITEM_EXP,
|
||||
|
Loading…
x
Reference in New Issue
Block a user