From b4cbdb9ae064c9972f68a28aa6232271716c3f08 Mon Sep 17 00:00:00 2001 From: zhaoxiang Date: Mon, 26 Feb 2018 14:48:47 +0800 Subject: [PATCH] =?UTF-8?q?modified=20=E5=AE=8C=E5=96=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/BuildToken.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/api/controller/BuildToken.php b/application/api/controller/BuildToken.php index 9a1caa7..2dbe11a 100644 --- a/application/api/controller/BuildToken.php +++ b/application/api/controller/BuildToken.php @@ -15,6 +15,14 @@ use app\util\Strs; class BuildToken extends Base { + /** + * 构建AccessToken + * @return \think\response\Json + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\ModelNotFoundException + * @throws \think\exception\DbException + * @author zhaoxiang + */ public function getAccessToken() { $param = $this->request->param(); if (empty($param['app_id'])) {