当前位置:首页>python>海天气象官方标准Python库正式发布

海天气象官方标准Python库正式发布

  • 2026-07-02 23:18:36
海天气象官方标准Python库正式发布

为便于用户更加方便快捷获取历史天气数据和天气预报数据,海天气象开发团队近日完成海天气象数据信息服务平台(https://htqx.cn/)官方Python库开发测试并在Pypi平台发布,库名为HtMeteo,地址如下:https://pypi.org/project/HtMeteo/

现在用户可通过pip工具一键安装HtMeteo库:

pip install HtMeteo

借助HtMeteo库,用户可以脱离海天气象平台网页端获取站点气象数据,不再依赖人工查找、下载数据再进行统计分析,而是自动完成数据拉取到本地并自动处理分析,目前支持的气象数据包括以下内容:

  1. 全国3191个市区县逐小时历史天气数据(2000年至今)
  2. 全国3191市区县未来10日逐小时天气预报数据

如果对海天气象平台数据内容还不熟悉,可以通过数据开发文档(https://htqx.cn/meteo/doc/)了解。

以上数据包括气温、气压、相对湿度、风速风向、降水量、云量、能见度、天气现象、短波辐射、散射辐射、地面辐射、土壤温度、土壤湿度、大气边界层高度、参考蒸散量等40余种,时间分辨率均达到小时级。

通过HtMeteo库用户可依靠纯命令行实现以下功能:

  1. 批量下载多个地点历史天气数据到本地
  2. 批量下载多个地点天气预报数据到本地
  3. 调取任意时段的历史天气数据
  4. 调取任意时段的天气预报数据
  5. 历史天气数据的统计分析(最大值、最小值、平均值、累积值)
  6. 天气预报数据的统计分析(最大值、最小值、平均值、累积值)

该库可跨平台运行,同时支持Windows、Linux和OS X平台,通过HtMeteo库用户不再需要从网页端人工下载历史天气数据进行统计分析,HtMeteo已为用户封装了常用气象研究应用场景下的常见功能,示例如下:

  • 获取西安市2024年6月的最高气温、平均相对湿度
  • 获取上海市2014年至2025年的年平均气温
  • 获取越秀区2018年9月12日到2019年4月9日的逐小时短波辐射
  • 获取柳林县2008年5月至今的月累积降水量
  • 获取北京市2010年12月的逐小时气压
  • 获取武汉市未来10日逐小时降水预报
  • 获取长沙市未来10日逐日最高和最低气温

以上示例简单呈现了HtMeteo库能调取哪些数据和实现哪些统计分析功能,总的来说它能够帮助用户快速获取全国任意市区县的任意气象要素任意时间的原始数值和统计分析数值,它的所有方法返回的数据类型均为pandas dataframe,如果内置的统计分析形式满足不了用户需求,用户可以至今调取原始数据自行完成统计分析。

如需使用HtMeteo库,仅需2行命令即可完成:

from HtMeteo import HtMeteoh = HtMeteo(username='test@htqx.cn', password='123456')  # 指定海天气象用户名和密码

以上2行命令可以导入HtMeteo库,通过设定用户名和密码来完成用户验证,然后即可实现上述所有数据拉取、处理、统计分析功能。

现在HtMeteo同时完善了海天气象数据信息服务平台数据批量下载功能,如需下载多个地点的历史天气数据,仅需如下2行命令即可实现:

locations = ['南京市''疏勒县''顺德区''大理白族自治州']h.fetch_locations_data(locations)

第一行命令构建一个待下载历史天气数据的地名列表,第二行命令会将列表内所有地点的历史天气数据下载到本地,包括2000年至今的所有年份的逐小时历史天气数据和逐日、逐月、逐年的统计分析数据,运行以上命令之后,屏幕将会出现以下输出:

顺德区 工作目录已创建:././data/history/顺德区顺德区 2000 逐小时历史数据不存在。顺德区 2001 逐小时历史数据不存在。顺德区 2002 逐小时历史数据不存在。顺德区 2003 逐小时历史数据不存在。顺德区 2004 逐小时历史数据不存在。顺德区 2005 逐小时历史数据不存在。顺德区 2006 逐小时历史数据不存在。顺德区 2007 逐小时历史数据不存在。顺德区 2008 逐小时历史数据不存在。顺德区 2009 逐小时历史数据不存在。顺德区 2010 逐小时历史数据不存在。顺德区 2011 逐小时历史数据不存在。顺德区 2012 逐小时历史数据不存在。顺德区 2013 逐小时历史数据不存在。顺德区 2014 逐小时历史数据不存在。顺德区 2015 逐小时历史数据不存在。顺德区 2016 逐小时历史数据不存在。顺德区 2017 逐小时历史数据不存在。顺德区 2018 逐小时历史数据不存在。顺德区 2019 逐小时历史数据不存在。顺德区 2020 逐小时历史数据不存在。顺德区 2021 逐小时历史数据不存在。顺德区 2022 逐小时历史数据不存在。顺德区 2023 逐小时历史数据不存在。顺德区 2024 逐小时历史数据不存在。顺德区 2025 逐小时历史数据不存在。顺德区 2026 逐小时历史数据不存在。顺德区 逐日历史数据不存在。顺德区 逐月历史数据不存在。顺德区 逐年历史数据不存在。顺德区 天气预报数据不存在。顺德区 数据存在缺失,现在开始从云端拉取缺失数据。用户登录状态正常。正在从云端拉取 顺德区 逐小时历史气象数据: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 27/27 [00:18<00:00,  1.48it/s]顺德区 逐小时历史气象数据拉取完毕。顺德区 逐日历史气象数据拉取完毕。顺德区 逐月历史气象数据拉取完毕。顺德区 逐年历史气象数据拉取完毕。正在从云端拉取 顺德区 最新天气预报数据······顺德区 今日天气预报数据拉取完毕。任务进度:75.0%。已完成3个地点,共计4个。

所有历史天气数据csv文件将会被下载至./data/temp/目录,并被处理成为Parquet格式分类存放在./data/history/目录。

如果需要下载全国天气预报数据,则执行以下命令即可:

h.fetch_all_latest_forecast_data()

全国所有3191个市区县的最新天气预报数据压缩文件会被下载至./data/temp/目录,并自动解压至./data/forecast/目录,文件格式均为csv,用户可以用Excel和文本查看软件直接打开查看或者编写程序处理。

HeMeteo库的所有属性和方法如下表所示:

属性/方法名称
功能说明
1.账户管理属性
——————————————————
account_info
详细的海天气象账户信息
username
用户名
password
密码
account_type
账户类型
api_key
api_key
subscribe_days
订阅天数
session
连接会话
2.数据调取属性
——————————————————
location
当前设定地点
locations
地点列表
history_mode
历史天气数据模式
forecast_mode
天气预报数据模式
years
历史数据年份列表2000~2025
3.工作目录属性
——————————————————
work_dirs
全部工作目录列表
temp_data_path
缓存目录
hourly_history_meteo_data_path
逐小时统计分析数据目录
daily_history_meteo_data_path
逐日统计分析数据目录
monthly_history_meteo_data_path
逐月统计分析数据目录
yearly_history_meteo_data_path
逐年统计分析数据目录
forecast_data_path
预报数据目录
4.账户管理方法
——————————————————
login_account
登录海天账户
create_work_dirs
创建所有工作目录
set_forecast_mode
设定天气预报数据模式
set_history_mode
设定历史天气数据模式
set_location
设定地点
5.数据拉取方法
——————————————————
data_status_check()
数据完整性校验
fetch_data()
从云端拉取数据
fetch_locations_data()
拉取多个地点数据
fetch_all_latest_forecast_data()
拉取全国城市天气预报数据
6.历史天气数据调取方法
——————————————————
hourly_value()
调取某小时历史天气数据
daily_value()
调取某天统计分析历史天气数据
monthly_value()
调取某月统计分析历史天气数据
yearly_value()
调取某年统计分析历史天气数据
hourly_series()
调取起止小时时段统计分析历史天气数据
daily_series()
调取起止天时段统计分析历史天气数据
monthly_series()
调取起止月时段统计分析历史天气数据
yearly_series()
调取起止年时段年统计分析历史天气数据
7.天气预报数据调取方法
——————————————————
forecast_hourly_series()
调取未来10日逐小时天气预报数据
forecast_daily_series()
调取未来10日逐日统计分析天气预报数据
8.在线接口API使用
——————————————————
api_history_hourly_of_day()
仅查看某天的逐小时历史天气数据
api_history_hourly_of_month()
仅查看某月的逐小时历史天气数据
api_history_hourly_of_year()
仅查看某年的逐小时历史天气数据
api_history_analysis()
仅查看日、月、年统计分析历史天气数据
api_forecast_hourly()
仅查看某地点的逐小时天气预报数据
api_forecast_hourly_by_coords()
仅查看某坐标的逐小时天气预报数据
find_location_by_coords()
查询某坐标的地名信息
9.其他方法
——————————————————
clear_data_dir()
清空工作目录内的所有数据

现在用户使用pip命令安装HeMeteo库之后可以在安装目录打开basic_usage.py文件查看所有的示例源代码,通过源代码详细的注释可以深入了解所有的用法。

"""海天气象HtMeteo超级信息体使用示例代码海天气象HtMeteo超级信息体,是海天气象数据信息服务平台开发的,基于平台数据合集和在线API的Python程序库,它能够实现账户认证、气象数据下载、气象数据统计分析、气象数据在线API调用等功能,将海天气象平台的所有数据资源和在线接口整合在了一个Python库中,因此形象被命名为“超级信息体”。开发它的初衷是为了变革气象领域科研人员、应用人员、学生获取地面气象数据的方式,无论是历史天气数据还是天气预报数据,它能够最大限度减少气象数据用户在数据查找、统计分析、整理订正、存储调取环节的时间耗费,一站式解决所有的科研任务和实践应用的数据准备问题,让用户不再受制于数据准备的羁绊,从而专注于对气象数据的潜能开发和价值创造。在线支持:https://htqx.cn/meteo/doc"""from HtMeteo import HtMeteo# DATA_DIR = './'  # 手动指定数据存放目录,若不指定则存放在程序运行当前目录# -------------------------基本参数-------------------------location = '西安市'# locations = ['北京市', '三原县', '喀什地区', '贡山独龙族怒族自治县', '海北藏族自治州']meteo_types = ['temperature_2m_max',  # 最高2米气温'surface_pressure_mean',  # 平均地面气压'relative_humidity_2m_mean',  # 平均地面2米相对湿度'wind_speed_10m_mean',  # 平均10米风速'precipitation_sum',  # 累积降水量'shortwave_radiation_min']  # 最小短波辐射# meteo_types 所有可选参数在文档末尾target_year, target_month, target_day, target_hour = 201942018start_year, start_month, start_day, start_hour = 2019122518end_year, end_month, end_day, end_hour = 202032618# -------------------------用户认证 示例代码-------------------------# 初始化HtMeteo超级信息体h = HtMeteo(username='test@htqx.cn', password='123456')  # 指定海天气象用户名和密码,实例化超级信息体# h = HtMeteo()  # 不指定用户名和密码,无法拉取在线数据,只能分析本地数据h.login_account()  # 通过用户名和密码登录海天气象print(h.account_info)  # 查看账户信息print(h.username, h.password, h.api_key, h.account_type, h.subscribe_days)  # 分别查看用户名、密码、api_key、用户类型、订阅时间# time.sleep(1000)# -------------------------历史天气数据统计分析 示例代码-------------------------h.set_location('西安市')  # 设定地点,会自动检测目录数据状态,如果数据缺失会自动从云端拉取,默认只拉区历史数据,如果需要预报数据需开启预报模式# 1.获取单一时间历史气象数据,# 读取西安市2019年4月20日18时历史气象数据,包含气象要素:2米气温、平均地面气压、平均2米相对湿度、10米平均风速、累积降水量和短波辐射# 可以指定meteo_types参数改变气象要素类型,所有的历史气象要素列表在文档末尾,meteo_types是一个列表# meteo_types = history_meteo_types_options  # 指定所有气象要素h.hourly_value(meteo_types=meteo_types, year=target_year, month=target_month, day=target_day, hour=target_hour)# 返回pandas series类型,可以通过气象要素名称索引meteo_data = h.hourly_value(meteo_types=meteo_types, year=target_year, month=target_month, day=target_day,                            hour=target_hour)print(meteo_data['temperature_2m'])  # 输出2米气温数值print(meteo_data.index)  # 查看所有索引# 读取西安市2019年4月20日历史气象数据,气象要素包括最高2米气温、平均地面气压、平均地面2米相对湿度、平均10米风速、累积降水量、最小短波辐射h.daily_value(meteo_types=meteo_types, year=2019, month=4, day=20)# 读取西安市2019年4月历史气象数据,气象要素包括最高2米气温、平均地面气压、平均地面2米相对湿度、平均10米风速、累积降水量、最小短波辐射h.monthly_value(meteo_types=meteo_types, year=2019, month=4)# 读取西安市2019年历史气象数据,气象要素包括最高2米气温、平均地面气压、平均地面2米相对湿度、平均10米风速、累积降水量、最小短波辐射h.yearly_value(meteo_types=meteo_types, year=2019)# 2.获取时间段内连续历史气象数据,气象要素包括最高2米气温、平均地面气压、平均地面2米相对湿度、平均10米风速、累积降水量、最小短波辐射# 读取西安市2019年12月31日0时至2020年1月1日23时历史气象数据h.hourly_series(meteo_types=meteo_types,                start_year=2019, start_month=12, start_day=31, start_hour=0,                end_year=2020, end_month=1, end_day=1, end_hour=23)  # 起止时间都包含,可跨年读取# 返回pandas dataframe,可以通过时间、气象要素名称索引meteo_data = h.hourly_series(meteo_types=meteo_types,                             start_year=2019, start_month=12, start_day=31, start_hour=0,                             end_year=2020, end_month=1, end_day=1, end_hour=23)print(meteo_data['temperature_2m'].iloc[0])  # 输出第一个2米气温数值print(meteo_data['wind_speed_10m'].iloc[-5:].tolist())  # 输出最后5个10米平均风速数值,并转换为列表print(meteo_data.index)  # 查看所有索引print(meteo_data.columns)  # 查看所有列名# 读取西安市2019年12月31日至2020年1月1日历史气象数据h.daily_series(meteo_types=meteo_types,               start_year=2019, start_month=12, start_day=31,               end_year=2020, end_month=1, end_day=1)  # 起止时间都包含,可跨年读取# 读取西安市2019年12月31日至2020年1月1日历史气象数据h.monthly_series(meteo_types=meteo_types,                 start_year=2019, start_month=12,                 end_year=2020, end_month=1)  # 起止时间都包含,可跨年读取# 读取西安市2019年至2025年历史气象数据h.yearly_series(meteo_types=meteo_types,                start_year=2019,                end_year=2025)  # 起止时间都包含,可跨年读取# -------------------------天气预报数据统计分析 示例代码-------------------------# 3.读取预报数据h.set_forecast_mode('on')  # 开启预报模式,预报模式默认为关闭,开启后方能使用预报数据读取功能,如果关闭不会下载天气预报数据h.set_history_mode('off')  # 如果不使用历史数据,可以先关闭它,否则设定地点后,历史数据也会被自动下载,耗费时间h.set_location('三原县')# 读取三原县未来240小时逐小时天气预报原始数据h.forecast_hourly_series()meteo_data = h.forecast_daily_series()print(meteo_data.columns)  # 查看所有气象要素名称# 读取三原县未来10日逐日天气预报统计分析数据h.forecast_daily_series()meteo_data = h.forecast_daily_series()print(meteo_data.columns)  # 查看所有气象要素名称# 4.只想下载数据,或者关注的地点较多,想先下载完数据再读取处理以节省时间locations = ['南京市''疏勒县''顺德区''大理白族自治州']h.set_forecast_mode('on')  # 开启预报数据模式,若关闭则不会下载预报数据h.set_history_mode('on')  # 开启历史数据模式,否则不会下载历史数据# 如果不设定历史数据模式或者预报数据模式,则只下载历史数据,因为预报数据模式默认为关闭状态# 批量下载多个地点的天气预报数据和历史天气数据h.fetch_locations_data(locations)# 5.批量下载全国3191个市区县预报数据3191h.fetch_all_latest_forecast_data()# 6.需要查询经纬度所在地名和海拔lon, lat = 11640h.find_location_by_coords(lon, lat)location_name = h.find_location_by_coords(lon, lat)  # 将查询到的坐标地点名称赋值给location_nameprint(location_name)  # 输出"门头沟区"# -------------------------在线API 示例代码-------------------------# 7.直接从API调取数据,不再下载数据到本地h.set_forecast_mode('off')  # 关闭预报数据模式,不再从云端下载数据到本地,直接API调取h.set_history_mode('off')  # 关闭历史数据模式,不再从云端下载数据到本地,直接API调取# 通过地名调取未来10日逐小时天气预报数据meteo_data = h.api_forecast_hourly()  # 从API直接调取西安市未来10日逐小时天气预报数据print(meteo_data.index)  # 输出时间索引print(meteo_data.columns)  # 输出气象要素列表# 通过经纬度坐标调取未来10日逐小时天气预报数据lon, lat = 11640meteo_data = h.api_forecast_hourly_by_coords(lon, lat)  # 从API直接调取西安市未来10日逐小时天气预报数据print(meteo_data.index)  # 输出时间索引print(meteo_data.columns)  # 输出气象要素列表# 调取某一天的逐小时历史天气数据year, month, day = 2019420meteo_data = h.api_history_hourly_of_day(year, month, day)  # 从API直接调取西安市2019年4月20日的逐小时历史天气数据print(meteo_data.index)  # 输出时间索引print(meteo_data.columns)  # 输出气象要素列表# 调取某一月的逐小时历史天气数据year, month = 20194meteo_data = h.api_history_hourly_of_month(year, month)  # 从API直接调取西安市2019年4月的逐小时历史天气数据print(meteo_data.index)  # 输出时间索引print(meteo_data.columns)  # 输出气象要素列表# 调取某一年的逐小时历史天气数据year = 2019meteo_data = h.api_history_hourly_of_year(year)  # 从API直接调取西安市2019年的逐小时历史天气数据print(meteo_data.index)  # 输出时间索引print(meteo_data.columns)  # 输出气象要素列表# 调取2000~2025年全时段统计分析历史天气数据time_type = 'monthly'# 'daily''monthly''yearly' 三选一,分别代表日、月、年尺度的统计分析数据meteo_data = h.api_history_analysis(time_type)  # 从API直接调取西安市2000~2025年的月统计分析历史天气数据print(meteo_data.index)  # 输出时间索引print(meteo_data.columns)  # 输出气象要素列表# 8.其他功能# h.clear_work_dirs()  # 清空./data目录内的所有数据,重置工作目录,谨慎操作# 9.注意事项# 全国有大约30个区名重复,冠以所在市名称加以区分,全国市区县地名清单下载地址:https://htqx.cn/meteo/doc

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-04 00:26:48 HTTP/2.0 GET : https://f.mffb.com.cn/a/492483.html
  2. 运行时间 : 0.091877s [ 吞吐率:10.88req/s ] 内存消耗:4,429.10kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=8be2aff96e8a12f518bf59acfce8ab67
  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.000609s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000775s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000314s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000266s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000517s ]
  6. SELECT * FROM `set` [ RunTime:0.000211s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000568s ]
  8. SELECT * FROM `article` WHERE `id` = 492483 LIMIT 1 [ RunTime:0.000854s ]
  9. UPDATE `article` SET `lasttime` = 1783096008 WHERE `id` = 492483 [ RunTime:0.010259s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000401s ]
  11. SELECT * FROM `article` WHERE `id` < 492483 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000656s ]
  12. SELECT * FROM `article` WHERE `id` > 492483 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000345s ]
  13. SELECT * FROM `article` WHERE `id` < 492483 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000700s ]
  14. SELECT * FROM `article` WHERE `id` < 492483 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.001918s ]
  15. SELECT * FROM `article` WHERE `id` < 492483 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000701s ]
0.093552s