1
This commit is contained in:
parent
23980fdc61
commit
459c09a9ae
@ -323,7 +323,7 @@ class SignController{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//刷新战斗结算奖励次数,商店刷新次数,客服
|
//刷新战斗结算奖励次数,商店刷新次数,客服
|
||||||
$battle_ret = $conn->execScript('UPDATE user SET battle_re_times=0, shop_flush_times=0, kefu_status=0, modify_time=:modify_time ' .
|
$battle_ret = $conn->execScript('UPDATE user SET battle_re_times=0, diamond_shop_flush_times=0, shop_flush_times=0, kefu_status=0, modify_time=:modify_time ' .
|
||||||
' WHERE accountid=:accountid;',
|
' WHERE accountid=:accountid;',
|
||||||
array(
|
array(
|
||||||
':accountid' => $account_id,
|
':accountid' => $account_id,
|
||||||
@ -352,6 +352,16 @@ class SignController{
|
|||||||
if (!$share_ret) {
|
if (!$share_ret) {
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
//刷新vip每日奖励
|
||||||
|
$share_ret = $conn->execScript('UPDATE vipinfo SET today_reward_status=0, modify_time=:modify_time ' .
|
||||||
|
' WHERE accountid=:accountid;',
|
||||||
|
array(
|
||||||
|
':accountid' => $account_id,
|
||||||
|
':modify_time' => time()
|
||||||
|
));
|
||||||
|
if (!$share_ret) {
|
||||||
|
die();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user