From 7583ed65d8f579ef8981e16f7c32b19d49c31790 Mon Sep 17 00:00:00 2001 From: tping Date: Fri, 24 Jul 2020 17:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=97=E5=89=91=E5=85=AB=E6=96=B9=E7=89=B9?= =?UTF-8?q?=E6=AE=8Aqq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/GameController.class.php | 8 +++++++- Application/Sdk/Controller/NoticeController.class.php | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Application/Sdk/Controller/GameController.class.php b/Application/Sdk/Controller/GameController.class.php index e4fdc302..07a2835f 100644 --- a/Application/Sdk/Controller/GameController.class.php +++ b/Application/Sdk/Controller/GameController.class.php @@ -72,6 +72,12 @@ class GameController extends BaseController{ if($contact_cs[$k]['name'] == 'support') { $contact_cs[$k]['act'] = "mqq://im/chat?chat_type=wpa&uin=" . $contact_cs[$k]['act'] . "&version=1&src_type=web"; $contact_cs[$k]['ios_url'] = "mqq://im/chat?chat_type=wpa&uin=" . $contact_cs[$k]['ios_url'] . "&version=1&src_type=web&action=openurl"; + + if ($data['game_id'] == 227 || $data['game_id'] == 228) { // 仗剑八方 + $contact_cs[$k]['act'] = "mqq://im/chat?chat_type=wpa&uin=496722145&version=1&src_type=web"; + $contact_cs[$k]['ios_url'] = "mqq://im/chat?chat_type=wpa&uin=496722145&version=1&src_type=web&action=openurl"; + } + } else { $contact_cs[$k]['ios_url'] = $contact_cs[$k]['ios_url']."{$gap}action=openurl"; } @@ -79,7 +85,7 @@ class GameController extends BaseController{ if ($data['game_id'] == 197 || $data['game_id'] == 198 || $data['game_id'] == 201 || $data['game_id'] == 202 // 马踏乱世 || $data['game_id'] == 211 || $data['game_id'] == 212 // 盛世龙城 - || $data['game_id'] == 227 || $data['game_id'] == 228 // 仗剑八方 +// || $data['game_id'] == 227 || $data['game_id'] == 228 // 仗剑八方 ) { // android $contact_cs[$k]['act'] = ""; diff --git a/Application/Sdk/Controller/NoticeController.class.php b/Application/Sdk/Controller/NoticeController.class.php index e0dd696a..b80d1f32 100644 --- a/Application/Sdk/Controller/NoticeController.class.php +++ b/Application/Sdk/Controller/NoticeController.class.php @@ -412,10 +412,14 @@ class NoticeController extends BaseController{ if ($request['game_id'] == 197 || $request['game_id'] == 198 || $request['game_id'] == 201 || $request['game_id'] == 202 // 马踏乱世 || $request['game_id'] == 211 || $request['game_id'] == 212 // 盛世龙城 - || $request['game_id'] == 227 || $request['game_id'] == 228 // 仗剑八方 - ) { + ) { $data['APP_QQ'] = ""; } + + if ($request['game_id'] == 227 || $request['game_id'] == 228) { // 仗剑八方 客服QQ特殊处理 + $data['APP_QQ'] = "496722145"; + } + $this->new_set_message(200,"成功",$data); } //获取客服问题 帮助中心