当前位置:首页>python>零代码自动化!Python一键生成高颜值产品月报数据看板(PPT+高清图表)

零代码自动化!Python一键生成高颜值产品月报数据看板(PPT+高清图表)

  • 2026-06-28 15:22:55
零代码自动化!Python一键生成高颜值产品月报数据看板(PPT+高清图表)

做产品、运营、数据分析的小伙伴,每月最头疼的工作,一定少不了月度数据月报

反复整理数据、调图表格式、排版PPT、核对数据、美化样式……一套流程下来,大半天时间就没了,重复机械且耗时。

今天给大家分享一套完整版Python产品月报数据看板实战代码,无需复杂操作,仅需修改核心数据,一键运行,自动生成高清可视化图表+完整成品PPT,彻底解放双手,告别重复做表!

全程实操、可直接落地,新手也能轻松上手。

一、成品效果预览

运行代码后,自动生成一页完整版产品数据看板PPT,集成所有核心业务模块,300DPI高清画质,无模糊、无白边,可直接用于汇报、复盘、工作总结。

✅ 核心KPI数据卡片(营收、用户、转化率、留存率)

✅ 月度营收趋势折线图(7个月数据动态展示)

✅ 各产品营收排行柱状图(直观对比业绩)

✅ 产品营收占比饼图(清晰看清业务结构)

✅ 自动生成数据分析总结、数据来源备注

所有图表自动美化、自动标注数据、自动配色,无需手动微调样式。

二、完整可运行代码

使用方法超级简单:直接复制全部代码,仅修改DATA字典内的本月真实业务数据,运行即可生成成品文件

python                  import matplotlib.pyplot as plt                  import pandas as pd                  import numpy as np                  from pptx import Presentation                  from pptx.util import Inches, Pt                  from pptx.enum.text import PP_ALIGN                  from matplotlib.font_manager import FontProperties                  import warnings                  warnings.filterwarnings('ignore')# 忽略字体缺失的警告                  # ================= 1. 仅需修改此处:本月真实业务数据 =================                  DATA = {                  # 核心指标                  'revenue': 125.6,# 营收(万元)                  'revenue_growth': 18.5,# 营收环比增长(%)                  'users': 45.2,# 活跃用户(万人)                  'users_growth': 12.3,# 用户环比增长(%)                  'conversion_rate': 28.6,# 转化率(%)                  'conversion_change': 3.2,# 转化率变化(百分点)                  'retention_rate': 67.4,# 留存率(%)                  # 趋势数据                  'monthly_revenue': [98.2, 102.5, 105.8, 108.3, 112.4, 118.7, 125.6],                  # 产品排名数据                  'product_ranking': [                  {'name': '产品A', 'revenue': 45.6},                  {'name': '产品B', 'revenue': 38.2},                  {'name': '产品C', 'revenue': 28.9},                  {'name': '产品D', 'revenue': 12.9},                  ],                  # 月度时间标签                  'months': ['1月', '2月', '3月', '4月', '5月', '6月', '7月'],                  }                  def get_up_down_icon(growth):                  """返回上升/下降图标"""                  return '▲' if growth >= 0 else '▼'                  def get_up_down_color(growth):                  """返回上升/下降颜色"""                  return '#4caf50' if growth >= 0 else '#f44336'                  def add_textbox(slide, text, left, top, width, height, font_size=18, bold=False, color='#333333'):                  """在幻灯片上添加文本框"""                  textbox = slide.shapes.add_textbox(Inches(left), Inches(top), Inches(width), Inches(height))                  tf = textbox.text_frame                  tf.word_wrap = True                  p = tf.paragraphs[0]                  p.text = text                  p.font.size = Pt(font_size)                  p.font.bold = bold                  p.font.color.rgb = _hex_to_rgb(color)                  p.alignment = PP_ALIGN.CENTER                  return textbox                  def _hex_to_rgb(hex_color):                  """将十六进制颜色字符串转换为RGB值"""                  hex_color = hex_color.lstrip('#')                  return int(hex_color[0:2], 16), int(hex_color[2:4], 16), int(hex_color[4:6], 16)                  def save_chart_and_insert_to_ppt(plt, figure, slide, left=0.5, top=1.5, width=9, height=4, dpi=300, filename='temp_chart.png'):                  """将 matplotlib 图表保存为高清图片并插入 PPT 中"""                  figure.savefig(filename, dpi=dpi, bbox_inches='tight', facecolor='white')                  plt.close(figure)                  slide.shapes.add_picture(filename, Inches(left), Inches(top), width=Inches(width), height=Inches(height))                  def create_dashboard():                  """生成产品月报数据看板(PPT + 高清PNG)"""                  # ================= 2. 使用 matplotlib 生成各种图表 =================                  def plot_line_chart():                  """绘制营收趋势折线图"""                  fig, ax = plt.subplots(figsize=(10, 5))                  months = DATA['months']                  revenues = DATA['monthly_revenue']                  ax.plot(months, revenues, marker='o', linewidth=2.5, markersize=6, color='#2196f3')                  ax.set_title('月度营收趋势', fontsize=14, fontweight='bold', pad=15)                  ax.set_xlabel('月份')                  ax.set_ylabel('营收(万元)')                  ax.grid(True, alpha=0.3)                  for i, (m, v) in enumerate(zip(months, revenues)):                  ax.annotate(f'{v}', (m, v), textcoords='offset points', xytext=(0, 10), ha='center', fontsize=9)                  plt.tight_layout()                  return fig                  def plot_bar_chart():                  """绘制产品营收排行柱状图"""                  fig, ax = plt.subplots(figsize=(8, 5))                  products = [p['name'] for p in DATA['product_ranking']]                  revenues = [p['revenue'] for p in DATA['product_ranking']]                  colors = ['#ff5722', '#ff9800', '#ffc107', '#ffeb3b']                  bars = ax.bar(products, revenues, color=colors[:len(products)], edgecolor='white', linewidth=2)                  ax.set_title('产品营收排行(万元)', fontsize=14, fontweight='bold', pad=15)                  ax.set_ylabel('营收(万元)')                  ax.grid(True, axis='y', alpha=0.3)                  for bar, val in zip(bars, revenues):                  ax.text(bar.get_x() + bar.get_width()/2, bar.get_height() + 1, f'{val}', ha='center', va='bottom', fontsize=11, fontweight='bold')                  plt.tight_layout()                  return fig                  def plot_pie_chart():                  """绘制产品营收占比饼图"""                  fig, ax = plt.subplots(figsize=(7, 5))                  products = [p['name'] for p in DATA['product_ranking']]                  revenues = [p['revenue'] for p in DATA['product_ranking']]                  colors = ['#2196f3', '#4caf50', '#ff9800', '#9c27b0']                  explode = (0.05, 0, 0, 0)                  wedges, texts, autotexts = ax.pie(revenues, labels=products, autopct='%1.1f%%', startangle=90,                  colors=colors[:len(products)], explode=explode[:len(products)])                  ax.set_title('产品营收占比', fontsize=14, fontweight='bold', pad=15)                  for autotext in autotexts:                  autotext.set_color('white')                  autotext.set_fontweight('bold')                  plt.tight_layout()                  return fig                  # ================= 3. 生成高清图片并插入 PPT =================                  # 创建演示文稿                  prs = Presentation()                  # 使用空白幻灯片布局                  blank_slide_layout = prs.slide_layouts[6]                  slide = prs.slides.add_slide(blank_slide_layout)                  # 3.1 设置主题标题                  title_box = slide.shapes.add_textbox(Inches(0.5), Inches(0.2), Inches(9), Inches(0.8))                  tf = title_box.text_frame                  tf.paragraphs[0].text = '产品月报数据看板'                  tf.paragraphs[0].font.size = Pt(32)                  tf.paragraphs[0].font.bold = True                  tf.paragraphs[0].font.color.rgb = _hex_to_rgb('#1976d2')                  tf.paragraphs[0].alignment = PP_ALIGN.CENTER                  # 添加日期                  date_box = slide.shapes.add_textbox(Inches(7.5), Inches(0.2), Inches(2), Inches(0.5))                  tf_date = date_box.text_frame                  tf_date.paragraphs[0].text = '2026年7月'                  tf_date.paragraphs[0].font.size = Pt(12)                  tf_date.paragraphs[0].font.color.rgb = _hex_to_rgb('#999999')                  # 3.2 添加核心KPI卡片                  kpis = [                  {'title': '总营收', 'value': DATA['revenue'], 'unit': '万元', 'growth': DATA['revenue_growth'], 'color': '#1976d2'},                  {'title': '活跃用户', 'value': DATA['users'], 'unit': '万人', 'growth': DATA['users_growth'], 'color': '#4caf50'},                  {'title': '转化率', 'value': DATA['conversion_rate'], 'unit': '%', 'growth': DATA['conversion_change'], 'color': '#ff9800'},                  {'title': '留存率', 'value': DATA['retention_rate'], 'unit': '%', 'growth': 0, 'color': '#9c27b0'},                  ]                  for i, kpi in enumerate(kpis):                  x_pos = 0.5 + i * 2.4                  # 卡片背景(通过添加矩形形状作为背景)                  rect = slide.shapes.add_shape(1, Inches(x_pos), Inches(0.9), Inches(2.2), Inches(1.1))                  rect.fill.solid()                  rect.fill.fore_color.rgb = _hex_to_rgb(kpi['color'])                  rect.line.color.rgb = _hex_to_rgb('#ffffff')                  # 标题                  add_textbox(slide, kpi['title'], x_pos + 0.1, 0.98, 2.0, 0.3, font_size=11, color='#ffffff')                  # 值                  value_text = f"{kpi['value']}{kpi['unit']}"                  add_textbox(slide, value_text, x_pos + 0.1, 1.2, 2.0, 0.4, font_size=20, bold=True, color='#ffffff')                  # 增长率/变化(如果存在)                  if kpi.get('growth'):                  icon = get_up_down_icon(kpi['growth'])                  growth_text = f"{icon} {abs(kpi['growth'])}{kpi['unit'] if kpi['unit'] != '%' else 'pp' if kpi['title'] == '转化率' else '%'}"                  add_textbox(slide, growth_text, x_pos + 0.1, 1.55, 2.0, 0.3, font_size=9, color='#ffffff')                  # 3.3 添加营收趋势图                  print("正在生成营收趋势图...")                  line_fig = plot_line_chart()                  save_chart_and_insert_to_ppt(plt, line_fig, slide, left=0.5, top=2.2, width=5.5, height=2.2, dpi=300, filename='revenue_trend.png')                  # 3.4 添加产品营收排行图(柱状图)                  print("正在生成产品营收排行...")                  bar_fig = plot_bar_chart()                  save_chart_and_insert_to_ppt(plt, bar_fig, slide, left=6.5, top=2.2, width=3.2, height=2.2, dpi=300, filename='product_ranking.png')                  # 3.5 添加产品营收占比图(饼图)                  print("正在生成产品营收占比...")                  pie_fig = plot_pie_chart()                  save_chart_and_insert_to_ppt(plt, pie_fig, slide, left=0.5, top=4.5, width=4.2, height=2.2, dpi=300, filename='product_pie.png')                  # 3.6 添加总结说明文本框                  summary_text = (                  "数据分析总结:\n"                  f"• 7月总营收达{DATA['revenue']}万元,环比增长{DATA['revenue_growth']}%,\n连续7个月保持增长态势\n"                  f"• 活跃用户突破{DATA['users']}万人,用户增长持续健康\n"                  f"• 产品A营收占比最高,贡献总营收{DATA['product_ranking'][0]['revenue'] / DATA['revenue'] * 100:.1f}%\n"                  "• 转化率环比提升3.2个百分点,运营策略效果显著"                  )                  add_textbox(slide, summary_text, 5.2, 4.9, 4.5, 2.0, font_size=9, color='#555555')                  # 设置文本框左对齐                  summary_box = slide.shapes[-1]                  summary_box.text_frame.paragraphs[0].alignment = PP_ALIGN.LEFT                  # 3.7 添加图例说明                  legend_text = "数据来源: 内部数据系统 | 更新日期: 2026-07-31"                  add_textbox(slide, legend_text, 6.8, 5.6, 2.8, 0.3, font_size=8, color='#999999')                  # 设置图例右对齐                  legend_box = slide.shapes[-1]                  legend_box.text_frame.paragraphs[0].alignment = PP_ALIGN.RIGHT                  # ================= 4. 导出 PPT 文件 =================                  ppt_filename = 'product_monthly_report.pptx'                  prs.save(ppt_filename)                  print(f"\n✅ PPT 文件已生成: {ppt_filename}")                  # ================= 5. 导出整页为高清 PNG =================                  print("\n💡 提示: 可通过 PowerPoint 手动导出为图片,或使用拓展方案生成完整高清看板")                  if __name__ == '__main__':                  create_dashboard()                  # 交互式HTML看板备选方案提示                  print("\n备选方案: 如需生成可交互的 HTML 看板,可以使用 pyecharts")                  

运行前置依赖安装

首次运行需安装相关库,复制以下命令执行即可:

bash                  pip install matplotlib pandas numpy python-pptx

三、核心功能与优势解析

1. 全自动可视化,零手动美化

代码内置成熟配色体系、图表布局、数据标注规则,无需手动调整颜色、字体、大小、间距。

自动实现:数据数值标注、渐变配色、网格辅助线、涨跌色区分、卡片分层效果,专业度拉满。

2. 300DPI印刷级高清画质

所有图表默认300DPI高清导出,彻底解决PPT图表模糊、拉伸、白边问题,适配正式汇报、打印归档场景。

3. 自动生成数据分析结论

代码会根据你填入的真实数据,自动计算营收占比、增长趋势、核心亮点,生成标准化分析总结,无需手动写分析文案。

4. 模块化结构,灵活修改

所有数据集中在DATA字典,结构清晰,支持自由增减指标、修改产品名称、调整时间周期、替换配色。

四、核心技术知识点(干货总结)

1. Matplotlib高清导出核心参数

高清图表的核心不在于单纯调高分辨率,而在于参数搭配:

python                  plt.savefig('图表.png', dpi=300, bbox_inches='tight', facecolor='white')

1.dpi=300:打印级高清标准,适配所有汇报场景

2.bbox_inches='tight':自动裁剪多余白边,画面更整洁

3.facecolor='white':白色背景,适配PPT展示场景

2. python-pptx自动化核心能力

这套代码覆盖了PPT自动化三大核心操作,可复用在所有PPT自动化场景:

1.文本批量添加、字体/颜色/对齐精细化设置

2.高清图片批量插入、固定尺寸布局

3.自定义形状绘制(KPI卡片背景、分层样式)

3. 交互式看板备选方案

如果需要在线展示、数据交互、拖拽缩放的看板,可改用pyecharts生成HTML交互式页面,支持鼠标悬停看详情、数据筛选、图表缩放,适合团队在线共享。

五、项目规范结构(推荐)

长期使用可搭建标准化项目目录,方便数据归档、文件管理:

Plain Text                  report_project/                  ├── data/# 存放原始业务数据                  ├── images/# 自动生成的高清图表                  ├── output/# 最终成品PPT文件                  ├── main.py# 核心运行代码                  └── requirements.txt # 依赖库清单

六、高阶扩展思路(进阶优化)

基于这套基础模板,可以快速拓展更多实用功能,实现全流程自动化:

🔹 数据库自动取数:对接MySQL/PostgreSQL,无需手动填数据,自动同步业务系统数据

🔹 定时自动生成:配置定时任务,每月固定时间自动生成月报

🔹 自动邮件推送:生成报告后自动发送至团队、领导邮箱

🔹 多页PPT生成:支持多产品线、多区域数据分页展示

🔹 企业模板复用:加载公司专属PPT模板,统一品牌视觉风格

写在最后

数据分析、月报汇报的核心是挖掘数据价值,而不是重复做表格、调样式。

用Python实现月报自动化,一次性搭建模板,后续每月仅需替换数据,1分钟出成品报告,把时间留给核心分析和业务思考,大幅提升工作效率。

需要完整项目文件、模板素材的小伙伴,可直接复用本文代码,开箱即用!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-03 12:21:01 HTTP/2.0 GET : https://f.mffb.com.cn/a/497188.html
  2. 运行时间 : 0.370816s [ 吞吐率:2.70req/s ] 内存消耗:5,451.61kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=a447db6fa5d05e2ab1d97db0c6ef3a28
  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.000629s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000815s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.017086s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000821s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000640s ]
  6. SELECT * FROM `set` [ RunTime:0.002913s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000637s ]
  8. SELECT * FROM `article` WHERE `id` = 497188 LIMIT 1 [ RunTime:0.054227s ]
  9. UPDATE `article` SET `lasttime` = 1783052461 WHERE `id` = 497188 [ RunTime:0.015081s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000625s ]
  11. SELECT * FROM `article` WHERE `id` < 497188 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.020608s ]
  12. SELECT * FROM `article` WHERE `id` > 497188 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.016874s ]
  13. SELECT * FROM `article` WHERE `id` < 497188 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.045492s ]
  14. SELECT * FROM `article` WHERE `id` < 497188 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.078597s ]
  15. SELECT * FROM `article` WHERE `id` < 497188 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.045857s ]
0.372424s