当前位置:首页>python>miniQMT 装不上?Python 版本选错才是最大元凶

miniQMT 装不上?Python 版本选错才是最大元凶

  • 2026-07-02 16:31:08
miniQMT 装不上?Python 版本选错才是最大元凶

一个 pip install 让你怀疑人生

新手第一天,看完教程,兴冲冲打开终端:

pip install xtquant

期望:装上、能跑。

实际:

ERROR: Could not find a version that satisfies the requirement xtquant
ERROR: No matching distribution found for xtquant

新手第一反应:

"网络问题?换个源?"

换了清华源、阿里源、豆瓣源 —— 全部失败。

折腾 1 小时,才在某个犄角旮旯的论坛看到:

"xtquant 没上 PyPI,要装在 miniQMT 客户端目录的 xtquant 文件夹里。"

——这个坑,官方文档藏得太深。


一、根因 1:xtquant 不在 PyPI 上

最大的认知错误:以为 xtquant 像 numpy / pandas 那样能 pip install

真相:xtquant 不是公开的 PyPI 包。它跟着 miniQMT 客户端一起发布,装在客户端目录里

打开你装 miniQMT 的目录,找到:

C:\国金证券QMT交易端\
├── bin.x64\
├── datadir\
├── userdata_mini\
└── bin.x64\Lib\site-packages\xtquant\   ← 在这里!

正确的"安装"方式

importsys

# 把 xtquant 所在目录加到 Python 搜索路径
sys.path.append(r'C:\国金证券QMT交易端\bin.x64\Lib\site-packages')

# 现在可以 import 了
fromxtquantimportxtdataxtconstant
fromxtquant.xttraderimportXtQuantTraderXtQuantTraderCallback

二、根因 2:Python 版本必须匹配

即使路径加对了,Python 版本不对也会失败

fromxtquantimportxtdata
# ImportError: DLL load failed while importing xtdatacenter:
# 找不到指定的模块

xtquant 是和 miniQMT 客户端配套发布的,它依赖客户端目录里的 .dll / .pyd

当前主流 miniQMT 客户端的 Python 兼容性

miniQMT 版本推荐 Python也能用不能用
2023 及之前3.63.73.8+
20243.83.93.10+
2025(最新)3.113.10、3.123.13、3.6、3.7

⚠️ 请以你的客户端目录下的 Python 实际版本为准——下面教你怎么查。


三、查客户端自带的 Python 版本

# 进入客户端 bin.x64 目录
cd C:\国金证券QMT交易端\bin.x64

# 看 Python 版本
python.exe --version

输出例子:

Python 3.11.6

你自己的 Python 环境也要装这个版本——版本号至少要对齐前两位(如 3.11.x)。


四、3 种 Python 环境,怎么选?

方案 A:直接用客户端自带 Python ⭐ 推荐

# 直接用客户端的 python.exe 跑脚本
C:\国金证券QMT交易端\bin.x64\python.exe my_strategy.py

优点

  • ✅ 版本一定匹配

  • ✅ xtquant 不用配 path

  • ✅ 零踩坑

缺点

  • ❌ 安装第三方包要用客户端的 pip

  • ❌ 跟你日常用的 Python 环境隔离

# 给客户端 Python 装包
C:\国金证券QMT交易端\bin.x64\python.exe -m pip install pandas numpy

方案 B:conda 创建独立环境

# 用 conda 创建匹配版本
conda create -n miniqmt python=3.11
conda activate miniqmt

# 必须把 xtquant 所在目录加到 sys.path
# (在代码里 sys.path.append)

优点

  • ✅ 环境干净

  • ✅ 可以装任何你想装的包

  • ✅ 多个量化项目隔离

缺点

  • ❌ 每次脚本都要写 sys.path.append

  • ❌ Python 版本必须和客户端对齐

方案 C:venv

C:\国金证券QMT交易端\bin.x64\python.exe -m venv .venv
.venv\Scripts\activate
pip install pandas numpy

跟 conda 类似,但更轻量。只适合纯 Python 项目


五、装上了但 import 失败的 7 种报错 + 修复

报错 1:ImportError: DLL load failed

ImportError: DLL load failed while importing xtdatacenter:
找不到指定的模块

原因:Python 版本不匹配,或 .dll 加载失败。

修复:换成客户端目录下的 python.exe

报错 2:ModuleNotFoundError: No module named 'xtquant'

ModuleNotFoundError: No module named 'xtquant'

原因:没把 xtquant 路径加到 sys.path

修复

importsys
sys.path.insert(0r'C:\国金证券QMT交易端\bin.x64\Lib\site-packages')
fromxtquantimportxtdata

报错 3:ImportError: cannot import name 'xtdata'

ImportError: cannot import name 'xtdata' from 'xtquant'

原因:路径加错了——指向了错误的 xtquant(可能是某个旧版本或假包)。

修复

importxtquant
print(xtquant.__file__)
# 应该输出:C:\国金证券QMT交易端\bin.x64\Lib\site-packages\xtquant\__init__.py
# 如果不是,说明 path 配错了

报错 4:OSError: 找不到 vcruntime140.dll

原因:系统缺少 VC++ 运行时。

修复:去微软官网下载 Microsoft Visual C++ Redistributable(x64 版本)安装。

报错 5:ImportError: numpy.core.multiarray failed to import

原因:numpy 版本与 xtquant 不匹配。

修复

pip install "numpy<2.0"

xtquant 老版本不支持 numpy 2.x。

报错 6:ConnectionRefusedError: 端口被占用

原因:上一个 Python 进程没退干净。

修复

# Windows
taskkill /F /IM python.exe

或者重启电脑。

报错 7:SyntaxError: invalid syntax(在 xtquant 内部)

原因:用了不兼容的 Python 版本,xtquant 内部用了新语法。

修复:核对客户端目录下 python.exe 的版本,严格对齐


六、一键诊断脚本(救命用)

"""
miniqmt_diagnose.py —— 一键诊断 xtquant 环境
"""

importos
importsys
importplatform


defdiagnose():
print("="*50)
print("miniQMT 环境诊断")
print("="*50)

# 1) Python 版本
print(f"\n1. Python 版本: {sys.version}")
py_ver = sys.version_info
print(f"   主版本号: {py_ver.major}.{py_ver.minor}")

# 2) 操作系统
print(f"\n2. 操作系统: {platform.system()} {platform.release()}")
print(f"   架构: {platform.architecture()[0]}")

ifplatform.architecture()[0!'64bit':
print("   ⚠️  必须是 64 位 Python")

# 3) 查找 xtquant
print(f"\n3. 查找 xtquant...")

candidates = [
r'C:\国金证券QMT交易端\bin.x64\Lib\site-packages',
r'C:\国泰君安QMT\bin.x64\Lib\site-packages',
r'C:\海通证券QMT\bin.x64\Lib\site-packages',
r'C:\xtdata\bin.x64\Lib\site-packages',
    ]

found = False
forpathincandidates:
ifos.path.exists(os.path.join(path'xtquant')):
print(f"   ✅ 找到: {path}\\xtquant")
sys.path.insert(0path)
found = True
break

ifnotfound:
print("   ❌ 未找到 xtquant,请手动指定路径")
print("   提示:进入客户端目录,找 bin.x64\\Lib\\site-packages\\xtquant")
return

# 4) 尝试 import
print(f"\n4. 尝试 import xtquant...")
try:
importxtquant
print(f"   ✅ xtquant 路径: {xtquant.__file__}")

fromxtquantimportxtdataxtconstant
print(f"   ✅ xtdata import 成功")
print(f"   ✅ xtconstant import 成功")

fromxtquant.xttraderimportXtQuantTrader
print(f"   ✅ XtQuantTrader import 成功")

exceptImportErrorase:
print(f"   ❌ import 失败: {e}")
print(f"\n   常见原因:")
print(f"   - Python 版本与客户端不匹配")
print(f"   - 缺少 Visual C++ Redistributable")
print(f"   - numpy 版本过新(试试 pip install \"numpy<2.0\")")
return

# 5) 尝试连接行情
print(f"\n5. 测试行情连接...")
try:
fromxtquantimportxtdata
result = xtdata.connect()
ifresult == 0:
print(f"   ✅ 行情连接成功")
else:
print(f"   ⚠️  行情连接返回 {result}(可能客户端未启动)")
exceptExceptionase:
print(f"   ❌ 行情连接异常: {e}")

print("\n"+"="*50)
print("诊断完成 🎉")
print("="*50)


if__name__ == '__main__':
diagnose()

用法

python miniqmt_diagnose.py

给小白用:把这个脚本放在桌面,装环境出问题第一时间跑一遍


七、最佳实践组合

我个人的最佳实践配置:

开发环境(写代码)        生产环境(跑实盘)
├── Anaconda 3.11        ├── 客户端自带 Python(3.11)
├── VSCode               ├── 一份独立的策略目录
├── jupyter(探索数据)   ├── 用任务计划程序定时启动
└── pytest(测试)        └── 日志写到独立目录

关键决策

  • 开发用自己熟悉的 Anaconda 环境(写代码舒服)

  • 生产用客户端自带 Python(兼容性最稳)

  • 同一份代码在两个环境下都要能跑(路径用相对路径或环境变量)


八、自查清单

  • xtquant 不在 PyPI 上——不要 pip install xtquant
  • xtquant 在 客户端目录bin.x64\Lib\site-packages\xtquant
  • Python 版本与客户端严格对齐(用 python.exe --version 查)
  • 必须 64 位 Python
  • 安装 Visual C++ Redistributable(x64)
  • numpy 用 <2.0 版本(老版本 xtquant 兼容性)
  • 部署用客户端自带的 python.exe(最稳)

九、彩蛋:能用 Linux / Mac 跑 miniQMT 吗?

不能

miniQMT 客户端只发布 Windows 版本——.exe + Windows 专属 dll。

如果你非要在 Linux 服务器上跑:

  • 装 Windows 虚拟机(VMware / VirtualBox)

  • 用 Wine(不稳定,不推荐

  • 找云厂商的 Windows 服务器(阿里云 / 腾讯云都有)

实盘部署建议直接上 Windows Server 2019 / 2022,最省心。


十、小结

  • xtquant 不在 PyPI 上,是跟客户端打包发布的

  • Python 版本必须和客户端对齐(用 bin.x64\python.exe --version 查)

  • 三种环境方案:客户端自带 ⭐ 最稳 / conda / venv

  • 7 种常见报错都有标准修复方案

  • 装诊断脚本到桌面,环境出问题先跑一遍

  • 只支持 Windows——Linux / Mac 用 VM


写在最后

环境配置是最不光鲜的环节,但所有的策略都要从环境跑起

一份能跑的 Python 环境 + 一份配置好的 miniQMT 客户端,是你所有策略的地基

把今天的诊断脚本放到桌面——下次出问题,3 秒内定位。


下一篇预告

下一篇 实盘踩坑 04 —— 客户端没勾"独立交易",API 完全没响应

  • "极简模式" vs "独立交易模式"区别

  • 一个不起眼的勾选框拦住所有人

  • 切换模式后客户端会重启——避免在盘中切换

  • 不同券商客户端的勾选位置可能不同


留个互动给你

你装 xtquant 的时候,踩过哪个报错?花了多久才解决?

评论区聊聊——你的开发环境是 conda 还是客户端自带 Python?


如果这一篇对你有帮助

  • 点个 在看 + 收藏 ⭐ 让我知道这种"环境配置"内容你需要 👍

  • 转给一个正在被环境折磨的朋友 🔁

  • 关注 + 星标 ⭐ 30 例实盘踩坑,每周不断更


风险提示:本文仅作技术分享与教学用途,不构成任何投资建议。量化交易有风险,实盘需谨慎。投资需谨慎,本金可能亏损。

最新文章

随机文章

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