From 6558af197200a6292fa8a76b486dc6e5cad2b3ef Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Wed, 20 Nov 2019 16:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/GameController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/Sdk/Controller/GameController.class.php b/Application/Sdk/Controller/GameController.class.php index 22ce658e..6563b1f3 100644 --- a/Application/Sdk/Controller/GameController.class.php +++ b/Application/Sdk/Controller/GameController.class.php @@ -40,10 +40,10 @@ class GameController extends BaseController{ public function init_sdk() { $data = json_decode(base64_decode(file_get_contents("php://input")), true); - if (I('debug') == 1) { + /* if (I('debug') == 1) { $data['user_id'] = 1; $data['sdk_version'] = 2; - } + } */ $contact_cs = M('tool','tab_')->where(['name' => 'contact_cs'])->find(); $contact_cs = json_decode($contact_cs['config'],true); @@ -83,8 +83,8 @@ class GameController extends BaseController{ $ret = [ 'contact_cs' => $contact_cs[$k], ]; - if (I('debug') == 1) - pp(($ret)); + /* if (I('debug') == 1) + pp(($ret)); */ re_msg(200,'获取成功',$ret); }