From e274630d514dfde0070ef3ec4c3da83a5153a71a Mon Sep 17 00:00:00 2001 From: molong Date: Mon, 18 Sep 2017 23:37:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96token=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php index ed3fb98b..df912181 100644 --- a/application/api/controller/Index.php +++ b/application/api/controller/Index.php @@ -20,9 +20,7 @@ class Index extends Api { $appid = $request->post('appid', ''); $appsecret = $request->post('appsecret', ''); - $appid = "32432452345324"; - $appsecret = "a2b1Yubmej8qFLZbijcEenj9CoKWgratNdIpWha8LZ64xVfSt1YM5"; - //$client = db('Client')->where('appid', $appid)->where('appsecret', $appsecret)->value('id'); + $client = db('Client')->where('appid', $appid)->where('appsecret', $appsecret)->value('id'); $client = 1; if ($client) { $this->data['time'] = time();