切换导航
🛠️ 开发工具箱
首页
时间戳转换
JSON格式化
Base64互转
API测试
PDF转Word
图片压缩
AI翻译
心得分享
心得分享
分享开发心得和技术经验
TypeScript高级类型编程指南
前端开发
2026-04-10 09:54
TypeScript高级类型编程指南 TypeScript的类型系统是图灵完备的,这意味着你可以用类型来实现各种复杂的逻辑。掌握高级类型编程不仅能让你写出更安全的代码,还能深入理解TypeScript的设计哲学。本文将系统地介绍TypeScript高级类型的核心概念和实战技巧。 一、泛型深入 泛型是TypeScript类型系统的基石。除了基本用法,泛型还支持默认类型参数、约束条件等高级特性:...
Vue3 Composition API实战教程
前端开发
2026-04-09 09:54
Vue3 Composition API实战教程 Vue3引入的Composition API是对Vue2 Options API的一次重大革新。它提供了更灵活的代码组织方式,使逻辑复用更加简单,TypeScript支持更加完善。本文将通过实际案例带你全面掌握Composition API的使用方法。 一、为什么需要Composition API 在Vue2的Options API中,一个组...
CSS Flexbox布局完全指南:从入门到精通
前端开发
2026-04-08 09:53
CSS Flexbox布局完全指南 Flexbox(弹性盒模型)是CSS3中引入的一种强大的布局模式,它使得各种页面布局变得简单而灵活。无论是在实现居中对齐、等高列、还是复杂的导航布局,Flexbox都能提供优雅的解决方案。本文将从基础概念出发,逐步深入到高级用法,帮助你全面掌握Flexbox布局技术。 一、Flexbox基础概念 Flexbox的核心思想是让容器能够改变其子元素的宽度、高度...
深入理解JavaScript闭包与作用域链
前端开发
2026-04-08 09:53
深入理解JavaScript闭包与作用域链 闭包(Closure)是JavaScript中最重要也最容易被误解的概念之一。理解闭包不仅对于编写高质量的JavaScript代码至关重要,也是面试中经常出现的核心知识点。本文将帮助你从底层原理出发,真正理解闭包和作用域链的工作机制。 一、执行上下文与词法环境 要理解闭包,首先需要理解JavaScript的执行上下文(Execution Conte...
前端性能优化技巧
前端开发
2026-03-23 23:10
前端性能优化技巧大全 前端性能直接影响用户体验和商业转化率。研究表明,页面加载时间每增加1秒,转化率就会下降7%。Google也将页面速度作为搜索排名的因素之一。本文将从网络层、渲染层、代码层三个维度,系统地介绍前端性能优化的策略和具体实施方法。 一、网络层优化 1. 减少HTTP请求 每个HTTP请求都有建立连接的开销,减少请求数是最直接的优化手段: // CSS Sprites合并小...
JavaScript ES6新特性详解
前端开发
2026-03-18 23:10
JavaScript ES6+新特性详解 ECMAScript 6(ES6)于2015年发布,是JavaScript语言历史上最大的一次更新。此后每年都有新版本发布(ES7-ES13),统称为ES6+。这些新特性极大地改变了JavaScript的编程方式,让代码更简洁、更安全、更易维护。本文将系统介绍最重要的新特性及其在实际开发中的应用。 一、let与const:块级作用域 var有变量提升...
PHP数组操作技巧大全
前端开发
2026-03-16 23:10
PHP数组操作技巧大全 PHP中的数组是最常用也最灵活的数据结构之一。与许多其他语言不同,PHP数组实际上是有序映射(ordered map),可以同时作为数组、列表、哈希表、栈、队列等数据结构使用。本文将全面介绍PHP数组操作的各种技巧,从基础到高级,帮助你更高效地处理数组数据。 一、数组创建与初始化 PHP提供了多种创建数组的方式: // 使用array()函数 $arr1 = arr...
文章分类
全部文章
前端开发
后端开发
DevOps运维
数据库技术
工具使用
编程思维
开发心得
基本
文件
流程
错误
SQL
调试
请求信息 : 2026-04-16 03:55:53 HTTP/2.0 GET : www.xpwl.work/index/article?category_id=15
运行时间 : 0.066277s [ 吞吐率:15.09req/s ] 内存消耗:3,715.60kb 文件加载:79
查询信息 : 7 queries 1 writes
缓存信息 : 1 reads,1 writes
配置加载 : 76
/www/wwwroot/www.xpwl.work/public/index.php ( 0.88 KB )
/www/wwwroot/www.xpwl.work/thinkphp/start.php ( 0.72 KB )
/www/wwwroot/www.xpwl.work/thinkphp/base.php ( 2.60 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Loader.php ( 21.07 KB )
/www/wwwroot/www.xpwl.work/vendor/composer/autoload_static.php ( 10.49 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/deprecation-contracts/function.php ( 0.98 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-php80/bootstrap.php ( 1.50 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
/www/wwwroot/www.xpwl.work/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
/www/wwwroot/www.xpwl.work/vendor/guzzlehttp/guzzle/src/functions_include.php ( 0.16 KB )
/www/wwwroot/www.xpwl.work/vendor/guzzlehttp/guzzle/src/functions.php ( 5.54 KB )
/www/wwwroot/www.xpwl.work/vendor/symfony/polyfill-php73/bootstrap.php ( 0.99 KB )
/www/wwwroot/www.xpwl.work/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-helper/src/helper.php ( 2.88 KB )
/www/wwwroot/www.xpwl.work/vendor/fastadminnet/fastadmin-addons/src/common.php ( 15.67 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Route.php ( 60.23 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Config.php ( 6.38 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Hook.php ( 4.71 KB )
/www/wwwroot/www.xpwl.work/vendor/overtrue/wechat/src/Kernel/Support/Helpers.php ( 2.54 KB )
/www/wwwroot/www.xpwl.work/vendor/overtrue/wechat/src/Kernel/Helpers.php ( 1.89 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-captcha/src/helper.php ( 1.94 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Validate.php ( 42.78 KB )
/www/wwwroot/www.xpwl.work/vendor/topthink/think-queue/src/common.php ( 1.19 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Console.php ( 23.13 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Error.php ( 3.75 KB )
/www/wwwroot/www.xpwl.work/thinkphp/convention.php ( 10.37 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/App.php ( 21.58 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Request.php ( 49.78 KB )
/www/wwwroot/www.xpwl.work/application/config.php ( 12.00 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Env.php ( 1.21 KB )
/www/wwwroot/www.xpwl.work/application/database.php ( 2.17 KB )
/www/wwwroot/www.xpwl.work/application/extra/addons.php ( 0.19 KB )
/www/wwwroot/www.xpwl.work/application/extra/queue.php ( 0.55 KB )
/www/wwwroot/www.xpwl.work/application/extra/site.php ( 0.87 KB )
/www/wwwroot/www.xpwl.work/application/extra/upload.php ( 1.05 KB )
/www/wwwroot/www.xpwl.work/application/tags.php ( 1.23 KB )
/www/wwwroot/www.xpwl.work/application/common.php ( 15.57 KB )
/www/wwwroot/www.xpwl.work/thinkphp/helper.php ( 17.30 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Debug.php ( 7.13 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Log.php ( 6.05 KB )
/www/wwwroot/www.xpwl.work/addons/summernote/Summernote.php ( 1.42 KB )
/www/wwwroot/www.xpwl.work/vendor/fastadminnet/fastadmin-addons/src/Addons.php ( 7.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Cache.php ( 6.10 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/cache/driver/File.php ( 7.27 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/cache/Driver.php ( 5.98 KB )
/www/wwwroot/www.xpwl.work/application/common/behavior/Common.php ( 3.02 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Lang.php ( 7.42 KB )
/www/wwwroot/www.xpwl.work/thinkphp/lang/zh-cn.php ( 11.81 KB )
/www/wwwroot/www.xpwl.work/application/index/lang/zh-cn.php ( 10.79 KB )
/www/wwwroot/www.xpwl.work/extend/fast/Form.php ( 39.79 KB )
/www/wwwroot/www.xpwl.work/application/index/controller/Article.php ( 2.71 KB )
/www/wwwroot/www.xpwl.work/application/index/controller/Base.php ( 3.15 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Controller.php ( 6.07 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/traits/controller/Jump.php ( 4.92 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/View.php ( 6.77 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/view/driver/Think.php ( 5.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Template.php ( 44.92 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/template/driver/File.php ( 2.24 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/Article.php ( 0.58 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Model.php ( 69.55 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Db.php ( 6.67 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/connector/Mysql.php ( 3.89 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Connection.php ( 29.97 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Query.php ( 93.80 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/builder/Mysql.php ( 4.53 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Builder.php ( 31.81 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/relation/BelongsTo.php ( 7.75 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/relation/OneToOne.php ( 10.03 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/model/Relation.php ( 3.61 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/Category.php ( 0.14 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/paginator/driver/Bootstrap.php ( 5.23 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Paginator.php ( 9.94 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/db/Expression.php ( 1.11 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Collection.php ( 11.10 KB )
/www/wwwroot/www.xpwl.work/application/admin/model/ToolUsageStats.php ( 0.37 KB )
/www/wwwroot/www.xpwl.work/runtime/temp/f129fe533e1b896832fbaa77dcac8f47.php ( 10.64 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Url.php ( 12.72 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/Response.php ( 8.28 KB )
/www/wwwroot/www.xpwl.work/thinkphp/library/think/debug/Html.php ( 4.17 KB )
[ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000028s ]
[ CACHE ] INIT File
[ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002073s ]
[ BEHAVIOR ] Run app\common\behavior\Common @app_init [ RunTime:0.000734s ]
[ LANG ] /www/wwwroot/www.xpwl.work/thinkphp/lang/zh-cn.php
[ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000036s ]
[ ROUTE ] array ( 'type' => 'module', 'module' => array ( 0 => 'index', 1 => 'article', 2 => NULL, ), )
[ HEADER ] array ( 'accept-encoding' => 'gzip, br, zstd, deflate', 'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'accept' => '*/*', 'host' => 'www.xpwl.work', 'content-length' => '', 'content-type' => '', )
[ PARAM ] array ( 'category_id' => '15', )
[ LANG ] /www/wwwroot/www.xpwl.work/public/../application/index/lang/zh-cn.php
[ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002152s ]
[ RUN ] app\index\controller\Article->index[ /www/wwwroot/www.xpwl.work/application/index/controller/Article.php ]
[ DB ] INIT mysql
[ VIEW ] /www/wwwroot/www.xpwl.work/public/../application/index/view/article/index.html [ array ( 0 => 'site', 1 => 'canonical_url', 2 => 'seo', 3 => 'list', 4 => 'categories', 5 => 'currentCategoryId', ) ]
0.067155s