mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 完善注释
This commit is contained in:
parent
48879c41e4
commit
b4cbdb9ae0
@ -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'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user