当前位置:首页>python>Python项目96:模拟电商销售数据大屏可视化(dash+plotly+pandas)

Python项目96:模拟电商销售数据大屏可视化(dash+plotly+pandas)

  • 2026-02-10 00:57:02
Python项目96:模拟电商销售数据大屏可视化(dash+plotly+pandas)

Python,速成心法

敲代码,查资料,问Ai

练习,探索,总结,优化

博文创作不易,我的博文不需要打赏,也不需要知识付费,可以白嫖学习编程小技巧。使用代码的过程中,如有疑问的地方,欢迎大家指正留言交流。喜欢的老铁可以多多点赞+收藏分享+置顶,小红牛在此表示感谢。

------★Python练手项目源码------

Python项目94:全球疫情模拟数据可视化大屏(dash+plotly+pandas)

Python项目91:绘制红楼梦人物关系图(NetworkX+Matplotlib)

Python项目89:NetworkX最短路径规划(城市交通)

Python项目88:文件备份与压缩系统2.0(tkinter+shutil+zipfile)

Python项目86:增强版画板2.0(tk.Canvas)

Python项目81:Excel数据统计工具3.0

Python项目81:Excel工作表批量重命名工具1.0(tkinter+openpyxl)

Python项目80:Excel数据统计工具2.0

Python项目78:学生成绩分析系统(Tkinter+SQLite3)

Python项目77:模拟炒股训练系统3.0(Mplfinance+tkinter)

Python项目76:员工排班表系统1.0(tkinter+sqlite3+tkcalendar)

Python项目74:多线程数据可视化工具2.0(tkinter+matplotlib+mplcursors)

Python项目73:自动化文件备份系统1.0(tkinter)

Python项目源码71:药品管理系统1.0(tkinter+sqlite3)

Python项目源码69:Excel数据筛选器1.0(tkinter+sqlite3+pandas)

Python项目源码63:病历管理系统1.0(tkinter+sqlite3+matplotlib)

Python源码62:酒店住房管理系统1.0(tkinter+sqlite3)

Python项目源码57:数据格式转换工具1.0(csv+json+excel+sqlite3)

Python项目源码56:食堂饭卡管理系统1.0(tkinter+splite3)

Python项目源码54:员工信息管理系统2.0(tkinter+sqlite3)

Python项目源码52:模拟银行卡系统1.0(账户管理、存款、取款、转账和交易记录查询)

Python项目源码51:五子棋对战2.0(Pygame)

Python项目源码50:理发店会员管理系统1.0(tkinter+sqlite3)

Python项目源码48:正则表达式调试工具3.0(tkinter+re+requests)

Python项目源码44:图书管理系统1.0(tkinter+sqlite3)

Python项目源码42:仓库商品管理系统1.0(tkinter+sqlite3+Excel)

Python项目源码40:字符串处理工具(tkinter+入门练习)

Python项目源码39:学生积分管理系统1.0(命令行界面+Json)

Python项目源码35:音乐播放器2.0(Tkinter+mutagen)

Python项目源码33:待办事项列表应用2.0(命令行界面+Json+类)

Python项目32:订单销售额管理系统1.0(Tkinter+CSV)

Python项目源码29:学生缴费管理系统(Tkinter+CSV)

Python项目28:设计日志管理系统2.0(Tkinter+Json)

Python项目26:设计学生成绩管理系统(简易版)

1.安装依赖

pip install dash pandas plotly numpy dash-bootstrap-components

运行py代码后,在浏览器中访问:http://localhost:8050

2.功能特点📊 核心功能:实时KPI监控:销售额、订单量、访客数、转化率,销售趋势分析:24小时销售趋势图(双Y轴),品类分布:环形饼图显示各品类销售占比,地理分布:柱状图显示各地区销售情况,商品排行榜:实时热门商品销售排名,交易流水:实时交易记录表格⚡ 

3.技术特性:实时更新:每10秒自动刷新数据,响应式设计:适配不同屏幕尺寸,暗色主题:适合大屏展示,交互式图表:支持鼠标悬停查看详情,模拟数据:使用随机数据模拟实时数据流🎨

4. UI组件:Bootstrap卡片布局,Plotly交互式图表,彩色指标卡片,实时状态指示器,操作按钮组。

↓ 完整源码如下 ↓

# -*- coding: utf-8 -*-# @Author : 小红牛# 微信公众号:wdPythonimport dashfrom dash import dcc, html, Input, Output, State, callbackimport dash_bootstrap_components as dbcimport plotly.graph_objects as goimport plotly.express as pximport pandas as pdimport numpy as npfrom datetime import datetime, timedeltaimport time# 初始化Dash应用app = dash.Dash(    __name__,    external_stylesheets=[dbc.themes.DARKLY],    meta_tags=[{"name""viewport""content""width=device-width, initial-scale=1"}])app.title = "电商实时销售监控大屏"# 生成模拟数据函数def generate_mock_data():    """生成模拟的电商销售数据"""    np.random.seed(42)    # 生成时间序列数据    end_time = datetime.now()    start_time = end_time - timedelta(days=30)    date_range = pd.date_range(start=start_time, end=end_time, freq='H')    data = {        'timestamp': date_range,        'sales': np.random.normal(5000015000len(date_range)).clip(10000100000),        'orders': np.random.poisson(200len(date_range)).clip(50500),        'visitors': np.random.normal(100003000len(date_range)).clip(200020000),        'conversion_rate': np.random.beta(595len(date_range)) * 100,        'avg_order_value': np.random.normal(25050len(date_range)).clip(100500)    }    return pd.DataFrame(data)def generate_realtime_data():    """生成实时数据"""    current_time = datetime.now()    # 实时指标    realtime_metrics = {        'current_sales': np.random.normal(6000010000),        'current_orders': np.random.poisson(250),        'current_visitors': np.random.normal(120002000),        'current_conversion': np.random.beta(595) * 100,        'hourly_sales_growth': np.random.uniform(-510)    }    # 产品类别销售数据    categories = ['电子产品''服装''家居''美妆''食品''图书']    category_sales = {cat: np.random.uniform(500030000for cat in categories}    # 地理分布数据    regions = ['华东''华北''华南''华中''西南''东北''西北']    region_sales = {reg: np.random.uniform(1000080000for reg in regions}    # 热门商品    products = [        {'name''iPhone 15 Pro''sales'1250'growth'12.5},        {'name''无线耳机''sales'980'growth'8.2},        {'name''运动鞋''sales'750'growth'15.3},        {'name''智能手表''sales'620'growth'22.1},        {'name''笔记本电脑''sales'580'growth'5.7},    ]    return {        'timestamp': current_time,        'metrics': realtime_metrics,        'categories': category_sales,        'regions': region_sales,        'products': products    }# 初始化数据df = generate_mock_data()realtime_data = generate_realtime_data()# 应用布局app.layout = dbc.Container([    # 标题栏    dbc.Row([        dbc.Col([            html.Div([                html.H1("📊 电商实时销售监控大屏", className="display-4 mb-0"),                html.P("实时数据监控 | 销售分析 | 业务洞察"                      className="lead text-muted")            ], className="text-center")        ], width=12)    ], className="mb-4 py-3 border-bottom"),    # KPI指标卡片    dbc.Row([        dbc.Col([            dbc.Card([                dbc.CardBody([                    html.H5("💰 实时销售额", className="card-title"),                    html.H2([                        f"¥{realtime_data['metrics']['current_sales']:,.0f}",                        html.Span([                            html.I(className="fas fa-arrow-up me-1"),                            f"{realtime_data['metrics']['hourly_sales_growth']:.1f}%"                        ], className="text-success small ms-2")                    ], className="card-text"),                    html.P("今日累计", className="text-muted small")                ])            ], className="shadow-sm", color="primary", inverse=True)        ], md=3, className="mb-3"),        dbc.Col([            dbc.Card([                dbc.CardBody([                    html.H5("🛒 实时订单量", className="card-title"),                    html.H2(f"{realtime_data['metrics']['current_orders']:,.0f}"                           className="card-text"),                    html.P("今日累计", className="text-muted small")                ])            ], className="shadow-sm", color="success", inverse=True)        ], md=3, className="mb-3"),        dbc.Col([            dbc.Card([                dbc.CardBody([                    html.H5("👥 实时访客数", className="card-title"),                    html.H2(f"{realtime_data['metrics']['current_visitors']:,.0f}"                           className="card-text"),                    html.P("在线用户", className="text-muted small")                ])            ], className="shadow-sm", color="info", inverse=True)        ], md=3, className="mb-3"),        dbc.Col([            dbc.Card([                dbc.CardBody([                    html.H5("📈 转化率", className="card-title"),                    html.H2(f"{realtime_data['metrics']['current_conversion']:.2f}%"                           className="card-text"),                    html.P("支付转化率", className="text-muted small")                ])            ], className="shadow-sm", color="warning", inverse=True)        ], md=3, className="mb-3")    ], className="mb-4"),    # 第一行图表    dbc.Row([        # 销售趋势图        dbc.Col([            dbc.Card([                dbc.CardHeader([                    html.H5("📈 销售趋势分析", className="mb-0"),                    html.Small("最近30天销售数据", className="text-muted")                ]),                dbc.CardBody([                    dcc.Graph(                        id='sales-trend-chart',                        config={'displayModeBar'False}                    )                ])            ], className="shadow-sm h-100")        ], lg=8, className="mb-3"),        # 品类销售占比        dbc.Col([            dbc.Card([                dbc.CardHeader([                    html.H5("🛍️ 品类销售分布", className="mb-0"),                    html.Small("各品类销售占比", className="text-muted")                ]),                dbc.CardBody([                    dcc.Graph(                        id='category-pie-chart',                        config={'displayModeBar'False}                    )                ])            ], className="shadow-sm h-100")        ], lg=4, className="mb-3")    ], className="mb-4"),    # 第二行图表    dbc.Row([        # 地理分布图        dbc.Col([            dbc.Card([                dbc.CardHeader([                    html.H5("🗺️ 地区销售分布", className="mb-0"),                    html.Small("各地区销售额分布", className="text-muted")                ]),                dbc.CardBody([                    dcc.Graph(                        id='region-bar-chart',                        config={'displayModeBar'False}                    )                ])            ], className="shadow-sm h-100")        ], lg=6, className="mb-3"),        # 热门商品排行榜        dbc.Col([            dbc.Card([                dbc.CardHeader([                    html.H5("🔥 热门商品榜", className="mb-0"),                    html.Small("今日销量TOP5", className="text-muted")                ]),                dbc.CardBody([                    html.Div(id='product-rank-list')                ])            ], className="shadow-sm h-100")        ], lg=6, className="mb-3")    ], className="mb-4"),    # 第三行:实时数据表格和操作面板    dbc.Row([        dbc.Col([            dbc.Card([                dbc.CardHeader([                    html.H5("🔄 实时交易数据", className="mb-0"),                    html.Small("最近交易记录", className="text-muted")                ]),                dbc.CardBody([                    html.Div(id='realtime-data-table'),                    dbc.Row([                        dbc.Col([                            html.Div([                                html.Small(f"最后更新时间: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}"                                         className="text-muted"),                                dbc.Badge("实时更新中", color="success", className="ms-2")                            ], className="mt-3")                        ]),                        dbc.Col([                            dbc.ButtonGroup([                                dbc.Button("刷新数据"id="refresh-btn", color="primary", size="sm"),                                dbc.Button("导出报表"id="export-btn", color="secondary", size="sm"),                                dbc.Button("报警设置"id="alert-btn", color="warning", size="sm")                            ], className="float-end")                        ])                    ])                ])            ], className="shadow-sm")        ], width=12, className="mb-3")    ]),    # 隐藏的定时器组件    dcc.Interval(        id='interval-component',        interval=10*1000,  # 10秒更新一次        n_intervals=0    ),    # 存储数据    dcc.Store(id='data-store'),    # 页脚    dbc.Row([        dbc.Col([            html.Hr(),            html.P([                "© 2023 电商数据监控平台 | ",                html.Span("系统状态: ", className="text-muted"),                dbc.Badge("正常", color="success", className="ms-1"),                html.Span(" | 数据延迟: ", className="text-muted ms-3"),                html.Span("<1s", className="text-success ms-1"),                html.Span(" | 版本: v2.1.0", className="text-muted ms-3")            ], className="text-center small")        ], width=12)    ], className="mt-4")], fluid=True, className="p-3")# 创建销售趋势图@app.callback(    Output('sales-trend-chart''figure'),    Input('interval-component''n_intervals'))def update_sales_trend(n):    # 生成一些新的数据点    new_sales = np.random.normal(500001500024).clip(10000100000)    new_orders = np.random.poisson(20024).clip(50500)    # 创建时间序列    times = pd.date_range(end=datetime.now(), periods=24, freq='H')    fig = go.Figure()    # 销售额线    fig.add_trace(go.Scatter(        x=times,        y=new_sales,        mode='lines+markers',        name='销售额',        line=dict(color='#1f77b4', width=3),        marker=dict(size=6)    ))    # 订单量线(次坐标轴)    fig.add_trace(go.Scatter(        x=times,        y=new_orders,        mode='lines',        name='订单量',        yaxis='y2',        line=dict(color='#ff7f0e', width=2, dash='dash')    ))    fig.update_layout(        template='plotly_dark',        plot_bgcolor='rgba(0,0,0,0)',        paper_bgcolor='rgba(0,0,0,0)',        xaxis=dict(            title='时间',            gridcolor='rgba(255,255,255,0.1)'        ),        yaxis=dict(            title='销售额 (元)',            gridcolor='rgba(255,255,255,0.1)',            tickformat=',.0f'        ),        yaxis2=dict(            title='订单量',            overlaying='y',            side='right',            gridcolor='rgba(255,255,255,0.1)'        ),        legend=dict(            orientation='h',            yanchor='bottom',            y=1.02,            xanchor='right',            x=1        ),        hovermode='x unified'    )    return fig# 创建品类饼图@app.callback(    Output('category-pie-chart''figure'),    Input('interval-component''n_intervals'))def update_category_pie(n):    categories = list(realtime_data['categories'].keys())    sales = list(realtime_data['categories'].values())    colors = px.colors.qualitative.Set3    fig = go.Figure(data=[go.Pie(        labels=categories,        values=sales,        hole=.4,        marker=dict(colors=colors),        textinfo='percent+label',        textposition='outside',        hoverinfo='label+value+percent'    )])    fig.update_layout(        template='plotly_dark',        plot_bgcolor='rgba(0,0,0,0)',        paper_bgcolor='rgba(0,0,0,0)',        showlegend=False,        annotations=[dict(            text='品类分布',            x=0.5, y=0.5,            font_size=14,            showarrow=False        )]    )    return fig# 创建地区柱状图@app.callback(    Output('region-bar-chart''figure'),    Input('interval-component''n_intervals'))def update_region_chart(n):    regions = list(realtime_data['regions'].keys())    sales = list(realtime_data['regions'].values())    # 按销售额排序    sorted_data = sorted(zip(regions, sales), key=lambda x: x[1], reverse=True)    regions = [x[0for x in sorted_data]    sales = [x[1for x in sorted_data]    fig = go.Figure(data=[go.Bar(        x=regions,        y=sales,        marker_color=px.colors.sequential.Viridis,        text=[f'¥{x:,.0f}' for x in sales],        textposition='auto'    )])    fig.update_layout(        template='plotly_dark',        plot_bgcolor='rgba(0,0,0,0)',        paper_bgcolor='rgba(0,0,0,0)',        xaxis=dict(            title='地区',            gridcolor='rgba(255,255,255,0.1)'        ),        yaxis=dict(            title='销售额 (元)',            gridcolor='rgba(255,255,255,0.1)',            tickformat=',.0f'        )    )    return fig# 更新商品排行榜@app.callback(    Output('product-rank-list''children'),    Input('interval-component''n_intervals'))def update_product_rank(n):    products = realtime_data['products']    rank_items = []    for i, product in enumerate(products):        rank_color = "#FFD700" if i == 0 else "#C0C0C0" if i == 1 else "#CD7F32" if i == 2 else "inherit"        item = dbc.Row([            dbc.Col([                html.Div([                    html.Span(f"{i+1}"                             style={                                 'display''inline-block',                                 'width''24px',                                 'height''24px',                                 'backgroundColor': rank_color,                                 'color''white' if i < 3 else 'black',                                 'textAlign''center',                                 'borderRadius''50%',                                 'lineHeight''24px',                                 'marginRight''10px'                             }),                    html.Strong(product['name'], className="ms-2")                ], className="d-flex align-items-center")            ], md=4),            dbc.Col([                html.Span(f"销量: {product['sales']:,}", className="text-info")            ], md=3),            dbc.Col([                html.Span([                    html.I(className="fas fa-arrow-up me-1"),                    f"{product['growth']}%"                ], className="text-success" if product['growth'] > 0 else "text-danger")            ], md=3)        ], className="mb-2 p-2 border-bottom")        rank_items.append(item)    return rank_items# 更新实时数据表格@app.callback(    Output('realtime-data-table''children'),    Input('interval-component''n_intervals'))def update_realtime_table(n):    # 生成模拟的实时交易数据    transactions = []    for i in range(8):        transaction_id = f"TRX{np.random.randint(100000999999)}"        customer = np.random.choice(['张三''李四''王五''赵六''钱七'])        amount = np.random.uniform(999999)        status = np.random.choice(['成功''成功''成功''待支付'], p=[0.70.10.10.1])        status_color = "success" if status == '成功' else "warning"        time_ago = f"{np.random.randint(160)}分钟前"        transaction = dbc.Row([            dbc.Col([html.Code(transaction_id)], md=2),            dbc.Col([customer], md=2),            dbc.Col([html.Strong(f"¥{amount:,.2f}")], md=2),            dbc.Col([                dbc.Badge(status, color=status_color)            ], md=2),            dbc.Col([time_ago], md=2),            dbc.Col([                dbc.Button("详情", size="sm", color="outline-info")            ], md=2)        ], className="mb-2 py-2 border-bottom")        transactions.append(transaction)    # 表头    header = dbc.Row([        dbc.Col([html.Strong("订单号")], md=2),        dbc.Col([html.Strong("客户")], md=2),        dbc.Col([html.Strong("金额")], md=2),        dbc.Col([html.Strong("状态")], md=2),        dbc.Col([html.Strong("时间")], md=2),        dbc.Col([html.Strong("操作")], md=2)    ], className="mb-3 py-2 border-bottom fw-bold")    return [header] + transactions# 主函数if __name__ == '__main__':    app.run(debug=True, port=8050)

完毕!!感谢您的收看

------★历史博文集合★------

Python入门篇  进阶篇  视频教程  Py安装

py项目Python模块 Python爬虫  Json

Xpath正则表达式SeleniumEtreeCss

Gui程序开发TkinterPyqt5 列表元组字典

数据可视化 matplotlib  词云图Pyecharts

海龟画图PandasBug处理电脑小知识

自动化脚本编程工具NumPy CSVWeb

Pygame  图像处理  机器学习数据库

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-10 10:42:30 HTTP/2.0 GET : https://f.mffb.com.cn/a/474691.html
  2. 运行时间 : 0.382047s [ 吞吐率:2.62req/s ] 内存消耗:5,340.21kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=4b15e1be5c7f10b70e273e32fb9ba94a
  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.000724s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001200s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.100953s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.100982s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001054s ]
  6. SELECT * FROM `set` [ RunTime:0.062745s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001003s ]
  8. SELECT * FROM `article` WHERE `id` = 474691 LIMIT 1 [ RunTime:0.020866s ]
  9. UPDATE `article` SET `lasttime` = 1770691351 WHERE `id` = 474691 [ RunTime:0.004068s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000378s ]
  11. SELECT * FROM `article` WHERE `id` < 474691 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002384s ]
  12. SELECT * FROM `article` WHERE `id` > 474691 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.003447s ]
  13. SELECT * FROM `article` WHERE `id` < 474691 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001255s ]
  14. SELECT * FROM `article` WHERE `id` < 474691 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.001146s ]
  15. SELECT * FROM `article` WHERE `id` < 474691 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.002734s ]
0.384885s