跳到内容
当前位置:首页>刷短剧>刷短剧总刹不住车?我Vibe Coding了一款本地安卓自律 APP

刷短剧总刹不住车?我Vibe Coding了一款本地安卓自律 APP

  • 2026-11-18 19:41:56
刷短剧总刹不住车?我Vibe Coding了一款本地安卓自律 APP

我刷短剧,最熟悉的操作就是“看完这一集就退出”。说的时候挺认真,下一集开始得也挺及时。误会还没解释,反转刚起个头,手指已经替自己做了决定。

短剧可以放松,问题是我很难在原本打算停下来的时候停下来。睡前打开应用时,想的是看一会儿;真要退出时,想的又成了再看一会儿。

后来我琢磨,既然很难在刷得起劲时重新做决定,能不能提前把决定做完:每天看多久,什么时间能看,先设好。到了边界,手机帮我拦一下。

于是有了「自律时光」,一款用 AI 辅助开发的安卓自律 APP。我提需求,让 AI 写代码和调整界面,再装到手机上测试,遇到问题就录视频、描述复现步骤,接着改。

技术上用的是 Kotlin 和 Jetpack Compose,规则和记录存在手机本地。AI 参与开发,装好后的 APP 离线运行,无需配置大模型或 API Key。

最开始以为,做个倒计时,再加个拦截页,应该就差不多了。

后来发现,倒计时归零,只是事情的开头。

先说怎么用:给容易刷过头的应用定个规矩

自律时光目前提供两种模式,每个应用选择其中一种。

第一种,按每日分钟数。

比如给刷短剧的应用设每天 30 分钟。中午用 10 分钟,晚上用 20 分钟,就把今天的额度用完了。按已记录的有效前台时长累计,熄屏和后台播放不计入。

权限有效、服务正常运行时,额度耗尽会显示拦截页,上面一句话:“今天先到这里。”

第二种,按每天的可用时段。

比如只允许中午 12:00—12:30、晚上 20:00—21:00 使用。可以添加多个时间段,也支持跨午夜。任一允许时段内可以使用,空档期拦截;这种模式不再额外叠加分钟额度。

安装后,按说明开启使用情况访问和无障碍服务,在运行诊断里确认实际连接,再添加应用、保存规则。首页能看到今天生效的额度或时段,以及当前状态。

先从一个最容易刷过头的应用开始,就够了。

接下来,是这款小工具开发过程中遇到的五个问题。

第一个坑:剩余时间是零,番茄还是能用

测试时出现过一个很直接的问题:给番茄免费小说设了每日额度,页面已经显示“剩余 0 分 0 秒”,切过去,照样能继续使用。

从页面上看,计算似乎已经完成。真正缺的那一步,是执行拦截的服务没有连上。

计时记录、预算判断、前台识别、拦截层显示,这几件事要接得起来。数据库里算出额度耗尽,不代表屏幕上已经有人负责把它拦住。

后来我把运行状态单独展示出来。无障碍服务没有连接,就明确显示“限制未生效”,应用卡片也说明原因。剩余时间继续如实展示,但不能拿这个数字证明拦截正在工作。

最近又把“系统授权已开启”和“服务实际已连接”分开了。前者是设置状态,后者才说明这次运行中的服务连接已经建立。

自律工具需要说清楚,今天还剩多少时间,以及现在到底有没有在执行限制。

第二个坑:拦截页出来了,划一下又回去了

服务连上之后,拦截页终于出现。接着又发现,返回手势或者底部上滑之后,仍有机会回到番茄继续刷。

这就碰到安卓交互里更麻烦的部分了。返回桌面、打开最近任务、再切回同一个应用,未必每次都会产生最初预想的那种应用切换事件。屏幕上的覆盖层也可能已经丢失,程序却还记着它“正在显示”。

于是补返回操作的处理,补覆盖层失焦和窗口变化的检查,再补前台恢复核对。目标应用重新回到前台时,要重新判断今日规则,并检查拦截层是否仍然存在。

这里还得留住正常操作:用户应该能回桌面、开系统设置、切换到其他应用。通知栏和键盘出现,也不能随便把焦点抢回来。

做这一段时,我才体会到,一个看起来只有一页的拦截界面,真正需要处理的是它前后的一整套操作。

相关恢复逻辑已经补进代码,但手机上的手势和任务切换路径仍需继续实机复测。

第三个坑:30 分钟用完,改成 60 分钟就行了

这个漏洞很符合想继续刷时的心理。

今天的额度已经用完,返回设置,把 30 分钟改成 60 分钟,再打开目标应用。如果新设置立刻替换旧设置,自律计划就可以随时商量。

所以后来把两件事分开保存:今天已经生效的约定,以及接下来要用的新配置。

已有启用规则提高额度,明天生效;降低额度,可以今天就收紧。停用、删除整条规则,也要保留今天的约束,不能靠删掉再添加来增加当天额度。

比如今天的 30 分钟已经耗尽,即使设置里改成 60 分钟,今天仍按原额度执行,明天才换成新额度。

这条规则会让设置少一点随意,但我做这个工具,本来就希望它能在“再看一会儿”的时候,替提前定好的计划坚持一下。

临时确实需要收尾,分钟模式还有每天全设备一次的紧急延长:等待 15 秒确认,增加 5 分钟。没有把临时需要完全堵死,也给自己留了一次重新考虑的机会。

第四个坑:分钟模式拦住了,切成时段模式又放行

加入可用时间段之后,又出现了一个更隐蔽的问题:分钟额度已经用完,再设置一个包含当前时间的可用时段,应用竟然又能用了。

后来还得反过来检查:原本处在禁止使用的时段,切回分钟模式,会不会也绕过当天限制?

处理这件事,光把两个模式各自写对还不够。界面上保存的新配置、今天有效的规则,以及服务正在执行的规则,需要保持一致。

现在每个应用只选一种模式。已有启用规则切换模式,次日生效;今天继续执行原来的约定。新增或扩大允许时段也是次日生效,删除或缩短允许时段则可以立即收紧。

代码里还补了一步:保存规则后,通知监控重新核对。即使这次只改了明天的模式,服务也要回头确认当前前台应用,继续按今天的规则处理。

多时段也有自己的细节。比如允许 12:00—13:00、20:00—21:00,中间的空档要拦;跨午夜的时段要正确拆分和判断;重复、重叠的时段不能随便存进去。

这些边界都加入了实现和回归检查,手机上的表现还要接着验证。

第五个坑:刚装好能用,运行久了又变成未生效

这个问题目前还在排查。

实际遇到的现象是,刚开始限制正常,运行一段时间后,页面又显示“限制未生效”。我怀疑过后台进程被手机清理,但当时没有系统退出记录,不能直接给它定原因。

也可能是服务中断、应用崩溃,或者内部工作任务没有正常恢复。

针对代码里找到的恢复缺口,后来调整了服务重连逻辑:每次系统重新连接服务,都重建监控任务;旧连接迟到的退出回调不能覆盖新连接;重复检查合并处理,正常任务取消也不再被误报成存储故障。

接着,在设置里增加“后台运行设置”,展示系统电池优化状态、省电模式,以及系统提供的本应用上次进程退出原因和时间。

如果记录显示内存不足回收,可以沿这条线查;如果显示崩溃,就继续查程序。没有记录,或者只有一个含糊的终止原因,就保留这个不确定性。

我希望下次再出现问题时,至少能带着记录继续排查。手机的后台策略和长时间运行情况,还得靠实际设备验证。

页面尽量简单,状态尽量说清楚

界面最后选了森林绿和米白色。首页放应用规则、用量和当前状态;需要检查权限时,再进入运行诊断。

首页和拦截页都有每天轮换的一句励志语。同一天看到的是同一句,跨天再换,希望提醒能温和一点。

当前版本没有账号、广告或付费 SDK,不申请网络权限,规则和记录保存在本地。无障碍处理应用和窗口变化的元数据,用来识别前台并显示拦截层,不读取页面文字、聊天内容或密码。

它目前是 0.5.2 安卓内测版,支持 Android 10 及以上。无障碍关闭、强行停止或进程被结束,都会影响限制;分屏、小窗、分身和不同厂商后台策略,还没有完成全面验证。

这些边界会在使用说明和诊断里继续写清楚。

做个自己愿意用,也能继续改的小工具

回头看,这次 Vibe Coding 最有意思的地方,是需求会被自己的使用过程不断改写。

最初只说“到时间就拦截”,装到手机上才会继续问:返回一下呢?改大额度呢?切个模式呢?锁屏再回来呢?

AI 帮我把这些想法逐步写进代码,测试再把没考虑到的地方带回来。每改完一处,都要重新走一遍原来的操作。

我做自律时光的起点很小,就是希望自己少在短剧里多待一会儿。能按原计划停下来,去睡觉、散步,或者把手边那件事做完,就值得继续做。

如果你也有类似需求,欢迎在留言区说说:你最想限制哪个 APP?更需要每天的分钟额度,还是固定的可用时段?

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