魔幻游戏 隐藏客服 197

master
tping 5 years ago
parent b5cb143659
commit 7b25ec926e

@ -75,6 +75,11 @@ class GameController extends BaseController{
} else { } else {
$contact_cs[$k]['ios_url'] = $contact_cs[$k]['ios_url']."{$gap}action=openurl"; $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'] = "";
}
} }
} }

@ -402,11 +402,14 @@ class NoticeController extends BaseController{
//帮助中心客服 //帮助中心客服
//yyh 2018 10 26 //yyh 2018 10 26
public function customer_contact(){ public function customer_contact(){
$request = json_decode(base64_decode(file_get_contents("php://input")),true);
$data['APP_QQ'] = C('APP_QQ'); $data['APP_QQ'] = C('APP_QQ');
$data['APP_TEL'] = C('APP_TEL'); $data['APP_TEL'] = C('APP_TEL');
$data['QQ_GROUP_KEY'] = C('QQ_GROUP_KEY'); $data['QQ_GROUP_KEY'] = C('QQ_GROUP_KEY');
$data['APP_QQ_GROUP'] = C('APP_QQ_GROUP'); $data['APP_QQ_GROUP'] = C('APP_QQ_GROUP');
$data['APP_EMAIL'] = C('APP_EMAIL'); $data['APP_EMAIL'] = C('APP_EMAIL');
// 魔幻游戏 隐藏客服
if ($request['game_id'] == 197) $data['APP_QQ'] = "";
$this->new_set_message(200,"成功",$data); $this->new_set_message(200,"成功",$data);
} }
//获取客服问题 帮助中心 //获取客服问题 帮助中心

Loading…
Cancel
Save