当前位置:首页>python>Python项目93:智慧城市运行管理中心,大屏可视化(dash+plotly+pandas)

Python项目93:智慧城市运行管理中心,大屏可视化(dash+plotly+pandas)

  • 2026-02-07 18:34:23
Python项目93:智慧城市运行管理中心,大屏可视化(dash+plotly+pandas)

Python,速成心法

敲代码,查资料,问Ai

练习,探索,总结,优化

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

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

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.功能说明:KPI指标卡:显示交通指数、空气质量指数、能耗指数和安全指数。交通流量图:显示24小时交通流量变化趋势。空气质量图:比较不同区域的空气质量指标。能源消耗图:展示各类能源消耗的月度趋势

人口热力图:可视化城市人口密度分布,时间选择器:允许用户选择数据时间范围,实时更新:显示数据最后更新时间

2.安装所需依赖:

pip install dash plotly pandas numpy dash-bootstrap-components

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

3.扩展建议:添加实时数据接口,连接实际数据源,增加更多可视化图表类型(如3D地图、网络拓扑图等),实现数据预警功能,当指标超过阈值时发出警报,添加用户登录和权限管理功能,优化移动端显示效果,集成机器学习模型,提供预测分析功能。

↓ 完整源码如下 ↓

# 安装依赖:pip install dash plotly pandas numpy# -*- coding: utf-8 -*-# @Author : 小红牛# 微信公众号:wdPythonimport dashfrom dash import dcc, html, Input, Outputimport plotly.graph_objects as goimport plotly.express as pximport pandas as pdimport numpy as npfrom datetime import datetime, timedeltaimport dash_bootstrap_components as dbc# 初始化Dash应用app = dash.Dash(__name__, external_stylesheets=[dbc.themes.DARKLY])app.title = "智慧城市运营管理中心"# 生成模拟数据def generate_data():    np.random.seed(42)    # 交通流量数据    hours = list(range(24))    traffic_data = []    for i in range(7):  # 一周的数据        base = np.random.randint(200500)        for h in hours:            if 7 <= h <= 9 or 17 <= h <= 19:  # 高峰时段                traffic = base + np.random.randint(300600)            elif 22 <= h <= 5:  # 夜间                traffic = base + np.random.randint(0100)            else:  # 平峰时段                traffic = base + np.random.randint(100300)            traffic_data.append({                'date': (datetime.now() - timedelta(days=6-i)).strftime('%Y-%m-%d'),                'hour': h,                'traffic_volume': traffic            })    # 空气质量数据    districts = ['市中心''高新区''工业区''居民区''开发区']    air_quality_data = []    for district in districts:        for i in range(30):  # 30天数据            date = (datetime.now() - timedelta(days=29-i)).strftime('%Y-%m-%d')            pm25 = np.random.normal(3010)            pm10 = pm25 + np.random.normal(105)            no2 = np.random.normal(208)            air_quality_data.append({                'district': district,                'date': date,                'PM2.5'max(5, pm25),                'PM10'max(10, pm10),                'NO2'max(5, no2)            })    # 能源消耗数据    energy_data = []    energy_types = ['居民用电''工业用电''商业用电''公共设施']    for i in range(12):  # 12个月        month = i + 1        for energy_type in energy_types:            if energy_type == '居民用电':                consumption = np.random.normal(50050) + 50 * np.sin(month * 0.5)            elif energy_type == '工业用电':                consumption = np.random.normal(800100) + 30 * np.cos(month * 0.3)            elif energy_type == '商业用电':                consumption = np.random.normal(60080) + 40 * np.sin(month * 0.4)            else:                consumption = np.random.normal(30030)            energy_data.append({                'month': month,                'energy_type': energy_type,                'consumption'max(100, consumption)            })    # 人口热力图数据    population_data = []    for lat in np.linspace(30.630.820):        for lon in np.linspace(104.0104.220):            # 模拟市中心人口密度高            center_dist = np.sqrt((lat - 30.7)**2 + (lon - 104.1)**2)            density = max(101000 * np.exp(-center_dist * 10))            population_data.append({                'lat': lat,                'lon': lon,                'density': density + np.random.normal(0100)            })    return {        'traffic': pd.DataFrame(traffic_data),        'air_quality': pd.DataFrame(air_quality_data),        'energy': pd.DataFrame(energy_data),        'population': pd.DataFrame(population_data)    }# 生成数据data = generate_data()# 应用布局app.layout = dbc.Container(    fluid=True,    children=[        # 标题栏        dbc.Row([            dbc.Col([                html.H1("智慧城市运营管理中心", className="text-center mb-4 mt-3"),                html.P("实时监控城市运行状态与关键指标", className="text-center text-muted mb-4")            ])        ]),        # 第一行:KPI指标        dbc.Row([            dbc.Col([                dbc.Card([                    dbc.CardBody([                        html.H4("交通指数", className="card-title"),                        html.H2("78.5", className="card-text text-success"),                        html.P("较昨日↑2.3%", className="card-text text-muted")                    ])                ], className="text-center shadow")            ], width=3),            dbc.Col([                dbc.Card([                    dbc.CardBody([                        html.H4("空气质量指数", className="card-title"),                        html.H2("42", className="card-text text-info"),                        html.P("优良", className="card-text text-muted")                    ])                ], className="text-center shadow")            ], width=3),            dbc.Col([                dbc.Card([                    dbc.CardBody([                        html.H4("能耗指数", className="card-title"),                        html.H2("65.2", className="card-text text-warning"),                        html.P("较上周↓1.5%", className="card-text text-muted")                    ])                ], className="text-center shadow")            ], width=3),            dbc.Col([                dbc.Card([                    dbc.CardBody([                        html.H4("安全指数", className="card-title"),                        html.H2("94.7", className="card-text text-success"),                        html.P("较上月↑0.8%", className="card-text text-muted")                    ])                ], className="text-center shadow")            ], width=3)        ], className="mb-4"),        # 第二行:主要图表        dbc.Row([            # 交通流量图            dbc.Col([                dbc.Card([                    dbc.CardHeader("交通流量实时监控"),                    dbc.CardBody([                        dcc.Graph(id='traffic-chart', style={'height''300px'})                    ])                ], className="shadow")            ], width=6, className="mb-4"),            # 空气质量图            dbc.Col([                dbc.Card([                    dbc.CardHeader("区域空气质量"),                    dbc.CardBody([                        dcc.Graph(id='air-quality-chart', style={'height''300px'})                    ])                ], className="shadow")            ], width=6, className="mb-4")        ]),        # 第三行:更多图表        dbc.Row([            # 能源消耗图            dbc.Col([                dbc.Card([                    dbc.CardHeader("能源消耗分析"),                    dbc.CardBody([                        dcc.Graph(id='energy-chart', style={'height''300px'})                    ])                ], className="shadow")            ], width=6, className="mb-4"),            # 人口热力图            dbc.Col([                dbc.Card([                    dbc.CardHeader("人口密度热力图"),                    dbc.CardBody([                        dcc.Graph(id='population-chart', style={'height''300px'})                    ])                ], className="shadow")            ], width=6, className="mb-4")        ]),        # 第四行:时间选择器        dbc.Row([            dbc.Col([                dbc.Card([                    dbc.CardBody([                        html.P("选择时间范围:", className="mb-2"),                        dcc.DatePickerRange(                            id='date-picker',                            min_date_allowed=(datetime.now() - timedelta(days=30)).strftime('%Y-%m-%d'),                            max_date_allowed=datetime.now().strftime('%Y-%m-%d'),                            start_date=(datetime.now() - timedelta(days=7)).strftime('%Y-%m-%d'),                            end_date=datetime.now().strftime('%Y-%m-%d'),                            display_format='YYYY-MM-DD',                            className="mb-3"                        ),                        html.P("更新时间: " + datetime.now().strftime("%Y-%m-%d %H:%M:%S"),                                id='update-time', className="text-muted text-end")                    ])                ])            ], width=12)        ])    ])# 回调函数更新图表@app.callback(    [Output('traffic-chart''figure'),     Output('air-quality-chart''figure'),     Output('energy-chart''figure'),     Output('population-chart''figure'),     Output('update-time''children')],    [Input('date-picker''start_date'),     Input('date-picker''end_date')])def update_charts(start_date, end_date):    # 更新时间显示    update_time = "更新时间: " + datetime.now().strftime("%Y-%m-%d %H:%M:%S")    # 1. 交通流量图    traffic_fig = go.Figure()    # 获取最近一天的数据    latest_date = data['traffic']['date'].max()    day_traffic = data['traffic'][data['traffic']['date'] == latest_date]    traffic_fig.add_trace(go.Scatter(        x=day_traffic['hour'],        y=day_traffic['traffic_volume'],        mode='lines+markers',        name='交通流量',        line=dict(color='#00b4d8', width=3),        fill='tozeroy',        fillcolor='rgba(0, 180, 216, 0.2)'    ))    traffic_fig.update_layout(        template='plotly_dark',        plot_bgcolor='rgba(0,0,0,0)',        paper_bgcolor='rgba(0,0,0,0)',        xaxis_title="时间 (时)",        yaxis_title="车流量 (辆/小时)",        margin=dict(l=40, r=20, t=20, b=40)    )    # 2. 空气质量图    latest_air_date = data['air_quality']['date'].max()    latest_air_data = data['air_quality'][data['air_quality']['date'] == latest_air_date]    air_fig = go.Figure()    for district in latest_air_data['district'].unique():        district_data = latest_air_data[latest_air_data['district'] == district]        air_fig.add_trace(go.Bar(            x=['PM2.5''PM10''NO2'],            y=[district_data['PM2.5'].mean(), district_data['PM10'].mean(), district_data['NO2'].mean()],            name=district        ))    air_fig.update_layout(        template='plotly_dark',        plot_bgcolor='rgba(0,0,0,0)',        paper_bgcolor='rgba(0,0,0,0)',        barmode='group',        xaxis_title="污染物",        yaxis_title="浓度 (μg/m³)",        margin=dict(l=40, r=20, t=20, b=40)    )    # 3. 能源消耗图    energy_fig = px.line(        data['energy'],         x='month'        y='consumption'        color='energy_type',        markers=True    )    energy_fig.update_layout(        template='plotly_dark',        plot_bgcolor='rgba(0,0,0,0)',        paper_bgcolor='rgba(0,0,0,0)',        xaxis_title="月份",        yaxis_title="消耗量 (万kWh)",        legend_title="能源类型",        margin=dict(l=40, r=20, t=20, b=40)    )    # 4. 人口热力图    population_fig = go.Figure(go.Densitymapbox(        lat=data['population']['lat'],        lon=data['population']['lon'],        z=data['population']['density'],        radius=15,        colorscale='Viridis'    ))    population_fig.update_layout(        mapbox_style="carto-darkmatter",        mapbox_center={"lat"30.7"lon"104.1},        mapbox_zoom=10,        margin=dict(l=20, r=20, t=20, b=20),        height=300    )    return traffic_fig, air_fig, energy_fig, population_fig, update_timeif __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-07 22:20:08 HTTP/2.0 GET : https://f.mffb.com.cn/a/474190.html
  2. 运行时间 : 0.310754s [ 吞吐率:3.22req/s ] 内存消耗:4,510.15kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=3322cb25167562594150f54792cdb3b4
  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.001030s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001470s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.003064s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.011060s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001588s ]
  6. SELECT * FROM `set` [ RunTime:0.053712s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001766s ]
  8. SELECT * FROM `article` WHERE `id` = 474190 LIMIT 1 [ RunTime:0.014427s ]
  9. UPDATE `article` SET `lasttime` = 1770474008 WHERE `id` = 474190 [ RunTime:0.009857s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.005346s ]
  11. SELECT * FROM `article` WHERE `id` < 474190 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002035s ]
  12. SELECT * FROM `article` WHERE `id` > 474190 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.002683s ]
  13. SELECT * FROM `article` WHERE `id` < 474190 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.028985s ]
  14. SELECT * FROM `article` WHERE `id` < 474190 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.003618s ]
  15. SELECT * FROM `article` WHERE `id` < 474190 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.091420s ]
0.312361s