1
This commit is contained in:
parent
25f6b0ebf9
commit
7ed3d605b4
@ -304,6 +304,13 @@ class ShopController{
|
|||||||
$shop_type = $_REQUEST['shop_type'];
|
$shop_type = $_REQUEST['shop_type'];
|
||||||
$shop_list = array();
|
$shop_list = array();
|
||||||
$flush_times = 0;
|
$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);
|
$conn = $this->getMysql($account_id);
|
||||||
if (!$conn) {
|
if (!$conn) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user