From 7b25ec926ee063bc0f00d64c0efe1bbba5f33c68 Mon Sep 17 00:00:00 2001 From: tping Date: Wed, 8 Apr 2020 18:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AD=94=E5=B9=BB=E6=B8=B8=E6=88=8F=20?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=AE=A2=E6=9C=8D=20197?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/GameController.class.php | 5 +++++ Application/Sdk/Controller/NoticeController.class.php | 3 +++ 2 files changed, 8 insertions(+) diff --git a/Application/Sdk/Controller/GameController.class.php b/Application/Sdk/Controller/GameController.class.php index 403aef19..9205e956 100644 --- a/Application/Sdk/Controller/GameController.class.php +++ b/Application/Sdk/Controller/GameController.class.php @@ -75,6 +75,11 @@ class GameController extends BaseController{ } else { $contact_cs[$k]['ios_url'] = $contact_cs[$k]['ios_url']."{$gap}action=openurl"; } + // 魔幻游戏 隐藏客服 + if ($data['game_id'] == 197) { + $contact_cs[$k]['act'] = ""; + $contact_cs[$k]['ios_url'] = ""; + } } } diff --git a/Application/Sdk/Controller/NoticeController.class.php b/Application/Sdk/Controller/NoticeController.class.php index e838caa1..37e7d264 100644 --- a/Application/Sdk/Controller/NoticeController.class.php +++ b/Application/Sdk/Controller/NoticeController.class.php @@ -402,11 +402,14 @@ class NoticeController extends BaseController{ //帮助中心客服 //yyh 2018 10 26 public function customer_contact(){ + $request = json_decode(base64_decode(file_get_contents("php://input")),true); $data['APP_QQ'] = C('APP_QQ'); $data['APP_TEL'] = C('APP_TEL'); $data['QQ_GROUP_KEY'] = C('QQ_GROUP_KEY'); $data['APP_QQ_GROUP'] = C('APP_QQ_GROUP'); $data['APP_EMAIL'] = C('APP_EMAIL'); + // 魔幻游戏 隐藏客服 + if ($request['game_id'] == 197) $data['APP_QQ'] = ""; $this->new_set_message(200,"成功",$data); } //获取客服问题 帮助中心