fix
This commit is contained in:
parent
6affe6be19
commit
a1b92f6758
@ -113,6 +113,7 @@ class RechargeController
|
||||
$response = json_decode($rsp, true);
|
||||
$diamonds = $response['diamond'];
|
||||
$diamond_num = -1;
|
||||
$diamond_present = 0;
|
||||
if ($diamonds > 0) {
|
||||
$userrow = $conn->execQueryOne(
|
||||
'SELECT diamond_num, free_diamond FROM user WHERE accountid=:accountid;',
|
||||
@ -125,7 +126,6 @@ class RechargeController
|
||||
return;
|
||||
}
|
||||
|
||||
$diamond_present = 0;
|
||||
$shopgoods_conf = metatable\getShopGoodsConf();
|
||||
$goodsid = 0;
|
||||
if ($shopgoods_conf) {
|
||||
@ -142,7 +142,7 @@ class RechargeController
|
||||
}
|
||||
|
||||
$rechargerow = $conn->execQueryOne(
|
||||
'SELECT first_data FROM recharge WHERE accountid=:accountid;',
|
||||
'SELECT * FROM recharge WHERE accountid=:accountid;',
|
||||
array(
|
||||
':accountid' => $account_id
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user