This commit is contained in:
aozhiwei 2020-01-15 13:48:27 +08:00
parent 25f6b0ebf9
commit 7ed3d605b4

View File

@ -304,6 +304,13 @@ class ShopController{
$shop_type = $_REQUEST['shop_type'];
$shop_list = array();
$flush_times = 0;
if ($_REQUEST['type'] == 3) {
$p = $this->getParameter(RAND_SHOP_GOLD);
if ($shop_type == 2) {
$p = $this->getParameter(RAND_DIAMONDSHOP_GOLD);
}
$this->SubCoin($p['param_value'], $account_id, $_REQUEST['type']);
}
$conn = $this->getMysql($account_id);
if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');