This commit is contained in:
aozhiwei 2019-07-23 19:21:29 +08:00
parent 7907284fea
commit a2eca10288

View File

@ -239,6 +239,10 @@ class ShopController{
phpcommon\sendError(ERR_USER_BASE + 3, '今日刷新次数已满');
return;
}
if ($_REQUEST['type'] == 3) {
$p = $this->getParameter(RAND_SHOP_GOLD);
$this->SubCoin($p['param_value'], $account_id);
}
$ret = $conn->execScript('UPDATE user SET shop_flush_times=:shop_flush_times, modify_time=:modify_time ' .
' WHERE accountid=:accountid;',
array(