支付取消地域限制
This commit is contained in:
parent
e04bb05363
commit
90ae2df199
@ -17,7 +17,8 @@ class ServerSwitchController {
|
||||
|
||||
private function isForbidCity()
|
||||
{
|
||||
if (in_array(strtolower($_REQUEST['province']),
|
||||
return false;
|
||||
/*if (in_array(strtolower($_REQUEST['province']),
|
||||
array(
|
||||
strtolower('Shanghai'),
|
||||
strtolower('Beijing'),
|
||||
@ -36,7 +37,7 @@ class ServerSwitchController {
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return false;*/
|
||||
}
|
||||
|
||||
public function getSwitch()
|
||||
|
@ -170,6 +170,9 @@ class ShopController{
|
||||
return;
|
||||
}
|
||||
$shop_id = $_REQUEST['shop_id'];
|
||||
if (!isset($_REQUEST['shop_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$shop_uuid = $_REQUEST['shop_uuid'];
|
||||
$item_id = 0;
|
||||
$item_num = 0;
|
||||
@ -237,6 +240,9 @@ class ShopController{
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, 'session无效');
|
||||
return;
|
||||
}
|
||||
if (!isset($_REQUEST['shop_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$shop_id = $_REQUEST['shop_id'];
|
||||
$shop_uuid = $_REQUEST['shop_uuid'];
|
||||
$item_id = 0;
|
||||
@ -291,6 +297,9 @@ class ShopController{
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, 'session无效');
|
||||
return;
|
||||
}
|
||||
if (!isset($_REQUEST['shop_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$shop_uuid = $_REQUEST['shop_uuid'];
|
||||
$shop_type = $_REQUEST['shop_type'];
|
||||
$shop_list = array();
|
||||
|
@ -49,6 +49,9 @@ class TeamController{
|
||||
|
||||
public function teamInfo()
|
||||
{
|
||||
if (!isset($_REQUEST['team_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$team_uuid = $_REQUEST['team_uuid'];
|
||||
$r = $this->getRedis($team_uuid);
|
||||
|
||||
@ -87,6 +90,9 @@ class TeamController{
|
||||
|
||||
public function joinTeam()
|
||||
{
|
||||
if (!isset($_REQUEST['team_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$team_uuid = $_REQUEST['team_uuid'];
|
||||
|
||||
$r = $this->getRedis($team_uuid);
|
||||
@ -137,6 +143,9 @@ class TeamController{
|
||||
|
||||
public function kickoutMember()
|
||||
{
|
||||
if (!isset($_REQUEST['team_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$team_uuid = $_REQUEST['team_uuid'];
|
||||
$r = $this->getRedis($team_uuid);
|
||||
if (!$r) {
|
||||
@ -189,6 +198,9 @@ class TeamController{
|
||||
|
||||
public function leaveTeam()
|
||||
{
|
||||
if (!isset($_REQUEST['team_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$team_uuid = $_REQUEST['team_uuid'];
|
||||
$r = $this->getRedis($team_uuid);
|
||||
|
||||
@ -235,6 +247,9 @@ class TeamController{
|
||||
|
||||
public function updateTeam()
|
||||
{
|
||||
if (!isset($_REQUEST['team_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$team_uuid = $_REQUEST['team_uuid'];
|
||||
$r = $this->getRedis($team_uuid);
|
||||
|
||||
@ -272,6 +287,9 @@ class TeamController{
|
||||
|
||||
public function startGame()
|
||||
{
|
||||
if (!isset($_REQUEST['team_uuid'])) {
|
||||
return;
|
||||
}
|
||||
$team_uuid = $_REQUEST['team_uuid'];
|
||||
$r = $this->getRedis($team_uuid);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user