mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
29 lines
518 B
PHP
29 lines
518 B
PHP
<?php
|
|
/**
|
|
* 处理app_id接入接口权限
|
|
* @since 2017-07-25
|
|
* @author zhaoxiang <zhaoxiang051405@gmail.com>
|
|
*/
|
|
|
|
namespace app\admin\behavior;
|
|
|
|
|
|
use think\Request;
|
|
|
|
class ApiPermission {
|
|
|
|
/**
|
|
* 默认行为函数
|
|
* @author zhaoxiang <zhaoxiang051405@gmail.com>
|
|
* @return \think\Request
|
|
* @throws \think\exception\DbException
|
|
*/
|
|
public function run() {
|
|
$request = Request::instance();
|
|
$route = $request->routeInfo();
|
|
$route = $route['route'];
|
|
}
|
|
|
|
|
|
}
|