fix
This commit is contained in:
parent
31bffed345
commit
f4df747b87
@ -38,7 +38,7 @@ class RechargeActivity
|
||||
|
||||
$activity = array();
|
||||
if ($row && $row['activity'] != null && $row['activity'] != '') {
|
||||
$activity = json_decode($row['activity']);
|
||||
$activity = json_decode($row['activity'], true);
|
||||
}
|
||||
|
||||
if ($this->updateActivityCur($activity, $num, false)) {
|
||||
|
@ -155,7 +155,7 @@ class RechargeController
|
||||
$rechargeactivity = new classes\RechargeActivity();
|
||||
$activity = array();
|
||||
if ($rechargerow && $rechargerow['activity'] != null && $rechargerow['activity'] != '') {
|
||||
$activity = json_decode($rechargerow['activity']);
|
||||
$activity = json_decode($rechargerow['activity'], true);
|
||||
}
|
||||
$rechargeactivity->updateActivityCur($activity, $diamonds, true);
|
||||
if (!$rechargerow) {
|
||||
@ -301,7 +301,7 @@ class RechargeController
|
||||
$rechargeactivity = new classes\RechargeActivity();
|
||||
$activity = array();
|
||||
if ($rechargerow && $rechargerow['activity'] != null && $rechargerow['activity'] != '') {
|
||||
$activity = json_decode($rechargerow['activity']);
|
||||
$activity = json_decode($rechargerow['activity'], true);
|
||||
}
|
||||
$rechargeactivity->updateActivityCur($activity, $shopgoods['price'] * 10, true);
|
||||
|
||||
@ -333,7 +333,7 @@ class RechargeController
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$vip_info = json_decode($rechargerow['vip_info']);
|
||||
$vip_info = json_decode($rechargerow['vip_info'], true);
|
||||
$found = false;
|
||||
foreach ($vip_info as $key => $carditem) {
|
||||
if ($carditem['id'] == $_REQUEST['goodsid']) {
|
||||
@ -400,7 +400,7 @@ class RechargeController
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$daily_purchase = json_decode($rechargerow['daily_purchase']);
|
||||
$daily_purchase = json_decode($rechargerow['daily_purchase'], true);
|
||||
$found = false;
|
||||
foreach ($daily_purchase as $key => $dailyitem) {
|
||||
if ($dailyitem['id'] == $_REQUEST['goodsid']) {
|
||||
@ -533,7 +533,7 @@ class RechargeController
|
||||
$recharge_activity = array();
|
||||
$activity = array();
|
||||
if ($rechargerow['activity'] != null && $rechargerow['activity'] != '') {
|
||||
$activity = json_decode($rechargerow['activity']);
|
||||
$activity = json_decode($rechargerow['activity'],true);
|
||||
}
|
||||
$needupdate = false;
|
||||
foreach ($activityconf as $key => $itemconf) {
|
||||
@ -637,7 +637,7 @@ class RechargeController
|
||||
return;
|
||||
}
|
||||
|
||||
$vipinfo = json_decode($rechargerow['vip_info']);
|
||||
$vipinfo = json_decode($rechargerow['vip_info'], true);
|
||||
$item_list = array();
|
||||
$found = false;
|
||||
$nowTime = time();
|
||||
@ -762,7 +762,7 @@ class RechargeController
|
||||
return;
|
||||
}
|
||||
|
||||
$activity = json_decode($rechargerow['activity']);
|
||||
$activity = json_decode($rechargerow['activity'], true);
|
||||
$item_list = array();
|
||||
$found = false;
|
||||
$nowTime = time();
|
||||
|
Loading…
x
Reference in New Issue
Block a user