ChristyFan & ChenVLe
粤 ICP备19006505号
全部
ThinkPHP
Laravel
Thinkphp 6.0 认证插件 Think-authz
发布时间:2020-11-10 11:55:36
chenvle
## 安装 > 该扩展需要 PHP 7.1+ 和 ThinkPHP 6.0+,针对 TP 5.1 请使用 [Think-Casbin](https://github.com/php-casbin/think-casbin) . 使用`composer`安装: ``` composer require casbin/think-authz ``` 注册服务,在应用的全局公共文件`service.php`中加入: ```php return [ // ... tauthz\TauthzService::class, ]; ``` 发布配置文件和数据库迁移文件: ``` php think tauthz:publish ``` 这将自动生成 `config/tauthz-rbac-model.conf` 和 `config/tauthz.php` 文件。 执行迁移工具(**确保数据库配置信息正确**): ``` php think migrate:run ``` 这将创建名为 `rules` 的表。 ## 用法 ### 快速开始 安装成功后,可以这样使用: ```php use tauthz\facade\Enforcer; // adds permissions to a user Enforcer::addPermissionForUser('eve', 'articles', 'read'); // adds a role for a user. Enforcer::addRoleForUser('eve', 'writer'); // adds permissions to a rule Enforcer::addPolicy('writer', 'articles','edit'); ``` 你可以检查一个用户是否拥有某个权限: ```php // to check if a user has permission if (Enforcer::enforce("eve", "articles", "edit")) { // permit eve to edit articles } else { // deny the request, show an error } ``` ### 使用 Enforcer Api 它提供了非常丰富的 `API`,以促进对 `Policy` 的各种操作: 获取所有角色: ```php Enforcer::getAllRoles(); // ['writer', 'reader'] ``` 获取所有的角色的授权规则: ```php Enforcer::getPolicy(); ``` 获取某个用户的所有角色: ```php Enforcer::getRolesForUser('eve'); // ['writer'] ``` 获取某个角色的所有用户: ```php Enforcer::getUsersForRole('writer'); // ['eve'] ``` 决定用户是否拥有某个角色: ```php Enforcer::hasRoleForUser('eve', 'writer'); // true or false ``` 给用户添加角色: ```php Enforcer::addRoleForUser('eve', 'writer'); ``` 赋予权限给某个用户或角色: ```php // to user Enforcer::addPermissionForUser('eve', 'articles', 'read'); // to role Enforcer::addPermissionForUser('writer', 'articles','edit'); ``` 删除用户的角色: ```php Enforcer::deleteRoleForUser('eve', 'writer'); ``` 删除某个用户的所有角色: ```php Enforcer::deleteRolesForUser('eve'); ``` 删除单个角色: ```php Enforcer::deleteRole('writer'); ``` 删除某个权限: ```php Enforcer::deletePermission('articles', 'read'); // returns false if the permission does not exist (aka not affected). ``` 删除某个用户或角色的权限: ```php Enforcer::deletePermissionForUser('eve', 'articles', 'read'); ``` 删除某个用户或角色的所有权限: ```php // to user Enforcer::deletePermissionsForUser('eve'); // to role Enforcer::deletePermissionsForUser('writer'); ``` 获取用户或角色的所有权限: ```php Enforcer::getPermissionsForUser('eve'); // return array ``` 决定某个用户是否拥有某个权限 ```php Enforcer::hasPermissionForUser('eve', 'articles', 'read'); // true or false ``` 更多 `API` 参考 [Casbin API](https://casbin.org/docs/en/management-api) 。 ### 使用中间件 该扩展包带有一个 `\tauthz\middleware\Basic::class` 中间件: ```php Route::get('news/:id','News/Show') ->middleware(\tauthz\middleware\Basic::class, ['news', 'read']); ``` ## 感谢 [Casbin](https://github.com/php-casbin/php-casbin),你可以查看全部文档在其 [官网](https://casbin.org/) 上。 ## License This project is licensed under the [Apache 2.0 license](LICENSE).
本周热议
Laravel 的开发环境 Valet
基于Thinkphp5的日志在线浏览扩展包
Thinkphp 6.0 认证插件 Think-authz
基本
文件
流程
错误
SQL
调试
请求信息 : 2021-07-06 15:56:34 HTTP/1.0 GET : https://www.chenvle.com/index/show/1.html
运行时间 : 0.349059s [ 吞吐率:2.86req/s ] 内存消耗:1,133.99kb 文件加载:227
查询信息 : 11 queries
缓存信息 : 0 reads,0 writes
会话信息 : SESSION_ID=3df4ccab1bb151b874585b365f7ad2d7
/www/wwwroot/personal-blog/public/index.php ( 0.81 KB )
/www/wwwroot/personal-blog/vendor/autoload.php ( 0.17 KB )
/www/wwwroot/personal-blog/vendor/composer/autoload_real.php ( 2.42 KB )
/www/wwwroot/personal-blog/vendor/composer/ClassLoader.php ( 13.16 KB )
/www/wwwroot/personal-blog/vendor/composer/autoload_static.php ( 19.22 KB )
/www/wwwroot/personal-blog/vendor/symfony/polyfill-mbstring/bootstrap.php ( 7.20 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-helper/src/helper.php ( 7.35 KB )
/www/wwwroot/personal-blog/vendor/symfony/polyfill-php80/bootstrap.php ( 1.44 KB )
/www/wwwroot/personal-blog/vendor/symfony/polyfill-php72/bootstrap.php ( 1.89 KB )
/www/wwwroot/personal-blog/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
/www/wwwroot/personal-blog/vendor/guzzlehttp/promises/src/functions_include.php ( 0.16 KB )
/www/wwwroot/personal-blog/vendor/guzzlehttp/promises/src/functions.php ( 9.89 KB )
/www/wwwroot/personal-blog/vendor/guzzlehttp/psr7/src/functions_include.php ( 0.15 KB )
/www/wwwroot/personal-blog/vendor/guzzlehttp/psr7/src/functions.php ( 13.08 KB )
/www/wwwroot/personal-blog/vendor/symfony/polyfill-intl-normalizer/bootstrap.php ( 0.62 KB )
/www/wwwroot/personal-blog/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.79 KB )
/www/wwwroot/personal-blog/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
/www/wwwroot/personal-blog/vendor/guzzlehttp/guzzle/src/functions.php ( 5.56 KB )
/www/wwwroot/personal-blog/vendor/symfony/polyfill-intl-idn/bootstrap.php ( 4.50 KB )
/www/wwwroot/personal-blog/vendor/adbario/php-dot-notation/src/helpers.php ( 0.49 KB )
/www/wwwroot/personal-blog/vendor/danielstjules/stringy/src/Create.php ( 0.55 KB )
/www/wwwroot/personal-blog/vendor/mtdowling/jmespath.php/src/JmesPath.php ( 0.36 KB )
/www/wwwroot/personal-blog/vendor/alibabacloud/client/src/Functions.php ( 5.32 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/abs.php ( 0.82 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/acos.php ( 1.05 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/acosh.php ( 0.90 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/acot.php ( 0.75 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/acoth.php ( 0.77 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/acsc.php ( 0.86 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/acsch.php ( 0.88 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/argument.php ( 0.82 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/asec.php ( 0.85 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/asech.php ( 0.88 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/asin.php ( 1.02 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/asinh.php ( 0.92 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/atan.php ( 1.35 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/atanh.php ( 1.09 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/conjugate.php ( 0.75 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/cos.php ( 0.92 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/cosh.php ( 0.91 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/cot.php ( 0.84 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/coth.php ( 0.75 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/csc.php ( 0.84 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/csch.php ( 0.86 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/exp.php ( 0.93 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/inverse.php ( 0.88 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/ln.php ( 0.95 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/log2.php ( 1.07 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/log10.php ( 1.09 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/negative.php ( 0.77 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/pow.php ( 1.28 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/rho.php ( 0.84 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/sec.php ( 0.72 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/sech.php ( 0.75 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/sin.php ( 0.88 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/sinh.php ( 0.91 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/sqrt.php ( 0.81 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/tan.php ( 1.22 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/tanh.php ( 1.12 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/functions/theta.php ( 1.25 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/operations/add.php ( 1.27 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/operations/subtract.php ( 1.29 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/operations/multiply.php ( 1.42 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/operations/divideby.php ( 1.76 KB )
/www/wwwroot/personal-blog/vendor/markbaker/complex/classes/src/operations/divideinto.php ( 1.75 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/adjoint.php ( 0.70 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/antidiagonal.php ( 0.75 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/cofactors.php ( 0.71 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/determinant.php ( 0.72 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/diagonal.php ( 0.70 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/identity.php ( 0.71 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/inverse.php ( 0.70 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/minors.php ( 0.70 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/trace.php ( 0.70 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/functions/transpose.php ( 0.71 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/operations/add.php ( 0.94 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/operations/directsum.php ( 0.95 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/operations/subtract.php ( 0.97 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/operations/multiply.php ( 0.99 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/operations/divideby.php ( 0.96 KB )
/www/wwwroot/personal-blog/vendor/markbaker/matrix/classes/src/operations/divideinto.php ( 0.96 KB )
/www/wwwroot/personal-blog/vendor/bingher/ueditor/src/helper.php ( 2.49 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/App.php ( 14.14 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Container.php ( 14.81 KB )
/www/wwwroot/personal-blog/vendor/psr/container/src/ContainerInterface.php ( 1.07 KB )
/www/wwwroot/personal-blog/app/provider.php ( 0.19 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Http.php ( 6.12 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-helper/src/helper/Str.php ( 7.27 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Env.php ( 4.15 KB )
/www/wwwroot/personal-blog/app/common.php ( 17.67 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/helper.php ( 18.36 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Config.php ( 5.03 KB )
/www/wwwroot/personal-blog/config/app.php ( 1.17 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Facade.php ( 2.71 KB )
/www/wwwroot/personal-blog/config/cache.php ( 0.80 KB )
/www/wwwroot/personal-blog/config/console.php ( 0.23 KB )
/www/wwwroot/personal-blog/config/cookie.php ( 0.49 KB )
/www/wwwroot/personal-blog/config/cron.php ( 0.12 KB )
/www/wwwroot/personal-blog/config/database.php ( 2.99 KB )
/www/wwwroot/personal-blog/config/filesystem.php ( 0.63 KB )
/www/wwwroot/personal-blog/config/lang.php ( 0.75 KB )
/www/wwwroot/personal-blog/config/log.php ( 1.38 KB )
/www/wwwroot/personal-blog/config/menus.php ( 2.37 KB )
/www/wwwroot/personal-blog/config/middleware.php ( 0.19 KB )
/www/wwwroot/personal-blog/config/premission.php ( 0.06 KB )
/www/wwwroot/personal-blog/config/role.php ( 0.06 KB )
/www/wwwroot/personal-blog/config/route.php ( 1.54 KB )
/www/wwwroot/personal-blog/config/session.php ( 0.57 KB )
/www/wwwroot/personal-blog/config/trace.php ( 0.34 KB )
/www/wwwroot/personal-blog/config/ueditor.php ( 1.40 KB )
/www/wwwroot/personal-blog/config/view.php ( 0.82 KB )
/www/wwwroot/personal-blog/config/whoops.php ( 0.34 KB )
/www/wwwroot/personal-blog/app/event.php ( 0.25 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Event.php ( 6.65 KB )
/www/wwwroot/personal-blog/app/service.php ( 0.13 KB )
/www/wwwroot/personal-blog/app/AppService.php ( 0.26 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Service.php ( 1.67 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Lang.php ( 8.29 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/lang/zh-cn.php ( 12.88 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/initializer/Error.php ( 3.19 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
/www/wwwroot/personal-blog/vendor/services.php ( 0.32 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/service/ModelService.php ( 1.51 KB )
/www/wwwroot/personal-blog/vendor/bingher/ueditor/src/UeditorService.php ( 1.15 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-migration/src/Service.php ( 1.94 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-multi-app/src/Service.php ( 1.08 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Middleware.php ( 6.78 KB )
/www/wwwroot/personal-blog/vendor/xiaodi/think-whoops/src/WhoopsService.php ( 0.29 KB )
/www/wwwroot/personal-blog/vendor/yunwuxin/think-cron/src/cron/Service.php ( 0.27 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/Paginator.php ( 11.39 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Validate.php ( 45.76 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/Model.php ( 25.87 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 17.06 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 26.03 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.26 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/concern/TimeStamp.php ( 5.36 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 8.42 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Db.php ( 2.87 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/DbManager.php ( 8.86 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Log.php ( 8.50 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Manager.php ( 3.98 KB )
/www/wwwroot/personal-blog/vendor/psr/log/Psr/Log/LoggerInterface.php ( 3.04 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Cache.php ( 4.79 KB )
/www/wwwroot/personal-blog/vendor/psr/simple-cache/src/CacheInterface.php ( 4.50 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-helper/src/helper/Arr.php ( 15.54 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.41 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/cache/Driver.php ( 7.74 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 2.25 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Route.php ( 23.45 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/RuleName.php ( 5.30 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/Domain.php ( 5.41 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/RuleGroup.php ( 13.38 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/Rule.php ( 22.49 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.22 KB )
/www/wwwroot/personal-blog/vendor/bingher/ueditor/src/util/Recource.php ( 1.25 KB )
/www/wwwroot/personal-blog/vendor/bingher/ueditor/src/util/FileUtil.php ( 7.31 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Console.php ( 22.63 KB )
/www/wwwroot/personal-blog/app/Request.php ( 0.09 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Request.php ( 53.24 KB )
/www/wwwroot/personal-blog/app/middleware.php ( 0.25 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-trace/src/TraceDebug.php ( 2.94 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 2.02 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/session/driver/File.php ( 6.28 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/session/Store.php ( 7.26 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-multi-app/src/MultiApp.php ( 7.39 KB )
/www/wwwroot/personal-blog/app/index/common.php ( 0.05 KB )
/www/wwwroot/personal-blog/app/index/event.php ( 0.07 KB )
/www/wwwroot/personal-blog/app/index/middleware.php ( 0.07 KB )
/www/wwwroot/personal-blog/app/index/route/route.php ( 0.83 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/facade/Route.php ( 4.76 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 6.33 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/route/Dispatch.php ( 6.58 KB )
/www/wwwroot/personal-blog/app/index/controller/Index.php ( 1.63 KB )
/www/wwwroot/personal-blog/app/BaseController.php ( 2.38 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/facade/Session.php ( 1.15 KB )
/www/wwwroot/personal-blog/app/admin/model/User.php ( 0.43 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/concern/SoftDelete.php ( 6.15 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 4.37 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/PDOConnection.php ( 47.13 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/Connection.php ( 7.16 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.56 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 13.88 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/Builder.php ( 39.39 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/Query.php ( 11.10 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/BaseQuery.php ( 35.72 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.50 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 2.83 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 15.49 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.10 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 16.06 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 6.88 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 2.75 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.51 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/log/driver/File.php ( 6.05 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/log/Channel.php ( 6.41 KB )
/www/wwwroot/personal-blog/app/admin/model/Article.php ( 0.56 KB )
/www/wwwroot/personal-blog/app/admin/model/Column.php ( 0.26 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/relation/BelongsTo.php ( 10.92 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/relation/OneToOne.php ( 9.74 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/Relation.php ( 6.10 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/Collection.php ( 6.11 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-helper/src/Collection.php ( 15.83 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/facade/View.php ( 1.71 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/View.php ( 4.31 KB )
/www/wwwroot/personal-blog/app/admin/middleware/Auth.php ( 1.20 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-orm/src/model/relation/HasMany.php ( 11.68 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Response.php ( 8.54 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/response/View.php ( 3.20 KB )
/www/wwwroot/personal-blog/vendor/topthink/framework/src/think/Cookie.php ( 6.15 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-view/src/Think.php ( 8.42 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-template/src/Template.php ( 46.62 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-template/src/template/driver/File.php ( 2.33 KB )
/www/wwwroot/personal-blog/runtime/index/temp/2dcbe268e7f813f80456f0b30c4e3734.php ( 5.23 KB )
/www/wwwroot/personal-blog/app/admin/model/Set.php ( 0.17 KB )
/www/wwwroot/personal-blog/vendor/topthink/think-trace/src/Html.php ( 4.49 KB )
0.359014s