当前位置:首页>python>实战:从Python到Codex,一个数据可视化网站的两种开发方式

实战:从Python到Codex,一个数据可视化网站的两种开发方式

  • 2026-09-02 16:03:58
实战:从Python到Codex,一个数据可视化网站的两种开发方式

大家好,我是J哥。

有一段时间没有更新了,因为我最近一直在用AI Agent做实战项目。今天,我要用AI智能体Codex复刻一个老项目,一个可视化的网站。

长这样:

说实话,以前我用Python做这个项目还有点费劲,前前后后敲了几百行代码。但这次不一样,我全程用 Codex,从采集数据、数据处理到可视化图表网站生成,没写一行代码,十来分钟就搞定了!

OK,开始实操!

创建项目

打开Codex,直接选择创建新项目豆瓣250。PS:如果你没用过Codex,没关系,最近我会推出Codex保姆级安装、配置和使用教程,避开各种坑,让你快速上手。

获取数据

原来用Python爬取豆瓣电影数据,我得啰嗦一大篇,教你怎么构造 url、怎么翻页、怎么导出。现在不用了,你只需要对 Codex 说:

采集豆瓣电影Top250数据,采集完成后预览前10条数据。

Codex 拿到需求后,自动干了一堆活:

  1. 写出爬虫脚本 douban_top250.py(requests + BeautifulSoup);
  2. 自动遍历 10 个分页(start=0、25、…、225),每页 25 条,一共 250 条;
  3. 把排名、片名、年份、地区、类型、评分、评价人数、经典台词等字段全部解析出来;
  4. 乖乖预览前 10 条给你看,并存成 csv 和 json 两个文件。

Codex自动写的Python爬虫代码如下(片段):

import requestsfrom bs4 import BeautifulSoupdefparse_page(html):    soup = BeautifulSoup(html, "html.parser")    movies = []for li in soup.select("ol.grid_view > li"):        rank   = li.select_one(".pic em").get_text(strip=True)        title  = li.select_one(".hd .title").get_text(strip=True)        rating = li.select_one(".rating_num").get_text(strip=True)# 评价人数、经典台词、年份/地区/类型……        movies.append({...})return moviesfor start in range(025025):    html = fetch_page(start)   # 带 UA、带重试、带限速    movies.extend(parse_page(html))

比我原来手搓的代码优雅多了!

不过别高兴太早,中间还有两个小插曲,正好体现 AI 的价值:

  • 网络被拦了:沙箱环境访问要授权,点一下同意就好;
  • 豆瓣改版了:新版页面里"评价人数"和"经典台词"的 HTML 结构变了,旧的选择器抓不到数据。Codex 二话不说,抓了一页 HTML 自查,改好选择器重新采集,搞定!

清洗数据

数据爬下来之后,咱得稍微清洗下,并存储下来,这里因为数据量小,我直接让Codex存为Excel。

跟 Codex 说:

选取排名、片名、年份、地区、类型、评分、评价人数、经典台词字段,原始信息字段切割为导演和主演字段,其余字段删除,数据导出为Excel文件movie.xlsx。

Codex 三下五除二:

  • 只保留 8 个有用字段,其余删光;
  • 把"原始信息"按 导演:主演: 切成导演主演两列;
  • 评分转成数字、评价人数去掉千分位;
  • 导出 movie.xlsx,Excel 双击就能打开。

Codex自动导出核心代码就几行,以前用Python的pandas库清洗数据,要构思逻辑、编写代码、调试BUG,现在Codex几秒钟自动搞定!

import pandas as pddf = pd.DataFrame(rows, columns=["排名""片名""年份""地区""类型","评分""评价人数""经典台词""导演""主演"])df.to_excel("movie.xlsx", index=False, sheet_name="豆瓣电影Top250")

制作网站主页

做网站最头疼的就是前端:配色、字号、间距,调来调去眼睛都要花了。以前要么自己啃 CSS,要么去网上扒模板。这次我直接甩给 Codex 一张网页截图1.png,让他照着做。

对Codex说:

帮我设计一个主页,完全模仿图片1.png

你可能要问:Codex 是文本模型,它怎么"看懂"图片?办法总比困难多,它用了三招:

  1. OCR 识别文字:先用 rapidocr_onnxruntime 把截图里的文字全认出来;
  2. 像素级分析:用 PIL 逐块取色、量字号、量间距、定位坐标;
  3. 无头浏览器校准:用 headless Chrome 渲染自己的页面,再 OCR 对比,反复微调到对齐。

等待一小会,主页就被Codex还原出来了,几乎和原网站一模一样。

主页核心结构:

<navclass="navbar">…Logo + 导航链接…</nav><headerclass="hero"><h1>豆瓣电影数据分析</h1><p>应用Python爬虫、Flask框架、Echarts、WordCloud等技术实现</p></header><sectionclass="stats-section"><divclass="stats-box"><!-- 4 张统计卡片:彩色图标 + 数字 + 标签 --></div></section><footerclass="footer">…版权信息…</footer>

数据渲染到主页

网站架子有了,但卡片上的数字还是占位的,这不带劲,不是来自movie.xlsx中的数据。跟 Codex 说:

数字250改为电影总数,1改为评分平均分,5693改为评价人数总数且单位换成百万,4改为最早的年份

Codex 直接读表中的数据,把硬编码的占位数字换成了真实统计:

卡片
数字
说明
电影数量
250
一共 250 部
评分平均分
8.95
250 部电影评分取平均
评价人数总数
218.78(百万)
全部评价人数求和,换算成百万
最早的年份
1931
《城市之光》

顺手我还让 Codex 改了些小细节:"网页制作哥"改成"网页制作J哥"、副标题删掉"Mysql数据库、"……都是动动嘴的事。看看效果:

制作评分子网页

主页搞定了,咱再加个"评分"子页面,展示不同评分的电影数量。还是老规矩,一步步提需求:

接着制作评分子网页,子网页显示不同评分的电影数量图片帮我换成ECharts图表表头删除,柱状图样式用最基础的柱状图,青绿色显示每个柱形显示数字标签

我原网站图表是用ECharts图表生成的,因此我加了提示词“帮我换成ECharts图表”。

Codex 依次搞定:

  1. 先算出评分分布:8.4 ~ 9.7 共 14 档,8.8 分最多(41 部);
  2. 把 echarts.min.js 下载到本地(约 1MB),断网也能用
  3. 生成基础柱状图:青绿色 #00B090,每根柱顶显示数字。

看看效果:

ECharts 配置其实很简单,核心就这几行:

var option = {xAxis: { type'category'data: ["8.4""8.5", …, "9.7"] },yAxis: { type'value' },series: [{type'bar',data: [1821334139232617239621],itemStyle: { color'#00b090' },label: { showtrueposition'top' }  }]};

当然,如果你对图表有更精细化要求,也可以截图发给Codex照着做。(我这里为了省点Token没有这样干)

对了,Codex 还挺靠谱:做完会用 node 检查 JS 语法,用无头浏览器截图确认图表真的渲染出来了,而不是"看起来对"。

成果一览

项目目录/├── douban_top250.py        # 爬虫脚本├── douban_top250.csv       # 原始数据├── douban_top250.json      # 原始数据(JSON)├── movie.xlsx              # 清洗后的 Excel└── site/                   # 网站    ├── index.html          # 主页    ├── rating.html         # 评分页(ECharts)    ├── css/style.css    ├── js/echarts.min.js    └── data/douban_top250.json

写在最后

我把这次用到的"魔法咒语"整理好了,你可以参考试试看:

需求
提示词
数据采集
采集xxx网站数据,采集完成后预览前10条
数据清洗
选取xx字段,xx字段切割为xx,导出为Excel
复刻网站
主页完全模仿图片1.png
数据渲染
数字250改为电影总数,1改为评分平均分……
数据可视化
制作xx子网页,显示xx图表
换图表库
帮我换成ECharts图表
微调样式
表头删除,用最基础柱状图,青绿色显示,柱顶加数字

剩下的电影列表页、词云页、团队页,也是相同的方法让Codex去完成,还可以让Codex部署到服务器,以后只要定时跑一遍爬虫,网站内容就自动更新啦。

OK,我们下期再见~

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-09-03 14:08:16 HTTP/2.0 GET : https://f.mffb.com.cn/a/512388.html
  2. 运行时间 : 0.059880s [ 吞吐率:16.70req/s ] 内存消耗:5,128.57kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=69c5a86a822846e711399f1094bc9748
  1. /www/wwwroot/mffb/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /www/wwwroot/mffb/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /www/wwwroot/mffb/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /www/wwwroot/mffb/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/mffb/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /www/wwwroot/mffb/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/mffb/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /www/wwwroot/mffb/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/mffb/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/mffb/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /www/wwwroot/mffb/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /www/wwwroot/mffb/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /www/wwwroot/mffb/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /www/wwwroot/mffb/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /www/wwwroot/mffb/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /www/wwwroot/mffb/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /www/wwwroot/mffb/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /www/wwwroot/mffb/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/mffb/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/mffb/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/mffb/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /www/wwwroot/mffb/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /www/wwwroot/mffb/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /www/wwwroot/mffb/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /www/wwwroot/mffb/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /www/wwwroot/mffb/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /www/wwwroot/mffb/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /www/wwwroot/mffb/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /www/wwwroot/mffb/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /www/wwwroot/mffb/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /www/wwwroot/mffb/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /www/wwwroot/mffb/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /www/wwwroot/mffb/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /www/wwwroot/mffb/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /www/wwwroot/mffb/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /www/wwwroot/mffb/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /www/wwwroot/mffb/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /www/wwwroot/mffb/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /www/wwwroot/mffb/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /www/wwwroot/mffb/f.mffb.com.cn/runtime/temp/ee3f15ab4905c6d51f7fc3c6e12961f5.php ( 11.95 KB )
  140. /www/wwwroot/mffb/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000408s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000527s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000249s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000227s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000419s ]
  6. SELECT * FROM `set` [ RunTime:0.000206s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000444s ]
  8. SELECT * FROM `article` WHERE `id` = 512388 LIMIT 1 [ RunTime:0.000344s ]
  9. UPDATE `article` SET `lasttime` = 1788415696 WHERE `id` = 512388 [ RunTime:0.003287s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000455s ]
  11. SELECT * FROM `article` WHERE `id` < 512388 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000317s ]
  12. SELECT * FROM `article` WHERE `id` > 512388 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000336s ]
  13. SELECT * FROM `article` WHERE `id` < 512388 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000491s ]
  14. SELECT * FROM `article` WHERE `id` < 512388 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.000948s ]
  15. SELECT * FROM `article` WHERE `id` < 512388 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.001002s ]
0.067682s