modified 完善注释

This commit is contained in:
zhaoxiang 2018-02-26 14:48:47 +08:00
parent 48879c41e4
commit b4cbdb9ae0

View File

@ -15,6 +15,14 @@ use app\util\Strs;
class BuildToken extends Base { 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 <zhaoxiang051405@gmail.com>
*/
public function getAccessToken() { public function getAccessToken() {
$param = $this->request->param(); $param = $this->request->param();
if (empty($param['app_id'])) { if (empty($param['app_id'])) {