当前位置:首页>python>Python项目104:窗口探测系统1.0(tkinter+pywin32)

Python项目104:窗口探测系统1.0(tkinter+pywin32)

  • 2026-07-01 11:55:51
Python项目104:窗口探测系统1.0(tkinter+pywin32)

Python,速成心法

敲代码,查资料,问Ai

练习,探索,总结,优化

博文创作不易,源码使用过程中,如有疑问的地方,欢迎大家指正留言交流。喜欢的老铁可以多多点赞+收藏分享+置顶,小红牛在此表示感谢。

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

Python项目102:Tkinter实现电脑屏幕锁屏,输入正确密码才能解锁

Python项目99:Tkinter十六进制颜色对照表2.0(140种颜色)

Python项目95:json数据调试工具1.0

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:设计学生成绩管理系统(简易版)

需要安装的模块

pip install pywin32

本工具基于 tkinter 和 pywin32 开发,用于实时枚举Windows窗口及控件,支持可视化查看窗口层次结构、控件属性,并提供智能搜索与高亮定位功能。主要特性如下:

1. 顶层窗口管理:自动列出所有可见顶层窗口(标题与句柄),支持手动刷新顶层窗口列表。点击窗口列表项,即可在下方的控件树中加载该窗口的完整控件结构。

2. 控件树展示:以树形结构递归显示目标窗口下的所有子控件(包括按钮、编辑框、列表等)。每个节点自动生成唯一编号,并显示控件的类名、标题、句柄。支持展开/折叠节点,便于浏览复杂窗口的控件布局。
3. 实时属性查看
点击控件树中的任意节点,右侧区域立即显示该控件的详细属性:
基本信息:句柄、类名、标题、控件ID(含十六进制)。
位置大小:左上角坐标、宽度、高度。
状态:是否可见、是否启用、父窗口句柄。
进程信息:所属进程ID、进程可执行文件路径。
窗口样式:标准样式(WS_)与扩展样式(WS_EX_)的解析标志。4. 强大的搜索与定位
4. 搜索与定位
关键字查询:支持按控件编号(如 [5])、类名(如 Button)、标题(部分文本)进行搜索。
高亮所有匹配项:每次查询自动清除旧高亮,并为所有匹配的控件行添加黄色背景,直观区分。
“查找下一个”定位:逐一定位到下一个匹配项,自动展开父节点、滚动到可视区域、选中表格行,并同步更新右侧属性面板。
循环查找:搜索到末尾后自动从头继续,方便反复浏览。
5. 光标探测窗口:点击“探测光标下窗口”按钮,程序会最小化自身,提示用户点击任意目标窗口。自动识别被点击窗口的顶层窗口,并刷新窗口列表与控件树,快速定位到目标。
6. 交互与体验优化
窗口整体采用左右分栏布局:左侧显示属性,右侧分为上下两部分(窗口列表 + 控件树)。两个树形区域均带有垂直滚动条,支持鼠标滚轮操作。查找定位时调用 update_idletasks 强制刷新界面,确保滚动条与选中行实时同步。
适用场景
软件开发调试:快速查看目标窗口的控件层次、样式、进程信息。
UI自动化测试:辅助定位控件句柄、类名,便于编写自动化脚本。
逆向分析:分析未知窗口的控件结构及样式标志。

↓ 完整源码如下 ↓

# -*- coding: utf-8 -*-# @Author : 小红牛# 微信公众号:wdPythonimport tkinter as tkfrom tkinter import ttk, scrolledtextimport win32guiimport win32conimport win32apiimport win32processimport win32fileclass WindowExplorer:    def __init__(self, root):        self.root = root        self.root.title("窗口探测系统1.0")        self.root.geometry("1100x750")        self.hwnd_to_item = {}        self.item_to_hwnd = {}        self.next_control_id = 1        self.last_search_item = None        self.last_search_keyword = ""        self.create_widgets()        self.refresh_top_windows()    def create_widgets(self):        toolbar = tk.Frame(self.root)        toolbar.pack(side=tk.TOP, fill=tk.X, pady=2)        tk.Button(toolbar, text="刷新顶层窗口", command=self.refresh_top_windows).pack(side=tk.LEFT, padx=2)        tk.Button(toolbar, text="刷新控件树", command=self.refresh_control_tree).pack(side=tk.LEFT, padx=2)        tk.Button(toolbar, text="探测光标下窗口", command=self.pick_window_from_cursor).pack(side=tk.LEFT, padx=2)        query_frame = tk.Frame(toolbar)        query_frame.pack(side=tk.LEFT, padx=10)        tk.Label(query_frame, text="查询:").pack(side=tk.LEFT)        self.query_entry = tk.Entry(query_frame, width=20)        self.query_entry.pack(side=tk.LEFT, padx=2)        tk.Button(query_frame, text="查找下一个", command=self.search_control).pack(side=tk.LEFT)        main_pane = tk.PanedWindow(self.root, orient=tk.HORIZONTAL, sashrelief=tk.RAISED, sashwidth=5)        main_pane.pack(fill=tk.BOTH, expand=True)        left_frame = tk.Frame(main_pane)        main_pane.add(left_frame, width=380)        tk.Label(left_frame, text="控件属性", font=("Arial"10"bold")).pack(anchor=tk.W)        self.info_text = scrolledtext.ScrolledText(left_frame, height=20, wrap=tk.WORD)        self.info_text.pack(fill=tk.BOTH, expand=True)        right_frame = tk.Frame(main_pane)        main_pane.add(right_frame, width=650)        right_pane = tk.PanedWindow(right_frame, orient=tk.VERTICAL, sashrelief=tk.RAISED, sashwidth=5)        right_pane.pack(fill=tk.BOTH, expand=True)        top_frame = tk.Frame(right_pane)        right_pane.add(top_frame, height=250)        tk.Label(top_frame, text="顶层窗口列表", font=("Arial"10"bold")).pack(anchor=tk.W)        top_tree_frame = tk.Frame(top_frame)        top_tree_frame.pack(fill=tk.BOTH, expand=True)        self.window_tree = ttk.Treeview(top_tree_frame, columns=("handle",), show="tree headings")        self.window_tree.heading("#0", text="窗口标题")        self.window_tree.heading("handle", text="句柄")        self.window_tree.column("handle", width=80, anchor=tk.CENTER)        vscroll1 = tk.Scrollbar(top_tree_frame, orient=tk.VERTICAL, command=self.window_tree.yview)        self.window_tree.configure(yscrollcommand=vscroll1.set)        vscroll1.pack(side=tk.RIGHT, fill=tk.Y)        self.window_tree.pack(side=tk.LEFT, fill=tk.BOTH, expand=True)        self.window_tree.bind("<<TreeviewSelect>>"self.on_window_selected)        bottom_frame = tk.Frame(right_pane)        right_pane.add(bottom_frame, height=400)        tk.Label(bottom_frame, text="控件树(带编号)", font=("Arial"10"bold")).pack(anchor=tk.W)        bottom_tree_frame = tk.Frame(bottom_frame)        bottom_tree_frame.pack(fill=tk.BOTH, expand=True)        self.control_tree = ttk.Treeview(bottom_tree_frame, columns=("class""text""handle"), show="tree headings")        self.control_tree.heading("#0", text="编号和控件信息")        self.control_tree.heading("class", text="类名")        self.control_tree.heading("text", text="标题")        self.control_tree.heading("handle", text="句柄")        self.control_tree.column("class", width=150)        self.control_tree.column("text", width=200)        self.control_tree.column("handle", width=80)        vscroll2 = tk.Scrollbar(bottom_tree_frame, orient=tk.VERTICAL, command=self.control_tree.yview)        self.control_tree.configure(yscrollcommand=vscroll2.set)        vscroll2.pack(side=tk.RIGHT, fill=tk.Y)        self.control_tree.pack(side=tk.LEFT, fill=tk.BOTH, expand=True)        self.control_tree.bind("<<TreeviewSelect>>"self.on_control_selected)        self.control_tree.tag_configure('highlight', background='yellow')    def get_visible_windows(self):        windows = []        def enum_callback(hwnd, _):            if win32gui.IsWindowVisible(hwnd):                title = win32gui.GetWindowText(hwnd)                windows.append((hwnd, title))            return True        win32gui.EnumWindows(enum_callback, None)        return windows    def refresh_top_windows(self):        for item in self.window_tree.get_children():            self.window_tree.delete(item)        windows = self.get_visible_windows()        for hwnd, title in windows:            display_title = title if title else f"[无标题] {hwnd}"            self.window_tree.insert("", tk.END, text=display_title, values=(hwnd,), tags=(hwnd,))    def refresh_control_tree(self):        selected = self.window_tree.selection()        if not selected:            return        hwnd = self.window_tree.item(selected[0], "values")[0]        self.build_control_tree(hwnd)    def build_control_tree(self, parent_hwnd):        for item in self.control_tree.get_children():            self.control_tree.delete(item)        self.hwnd_to_item.clear()        self.item_to_hwnd.clear()        self.next_control_id = 1        self.last_search_item = None        self.last_search_keyword = ""        root_id = self.next_control_id        self.next_control_id += 1        try:            class_name = win32gui.GetClassName(parent_hwnd)            window_text = win32gui.GetWindowText(parent_hwnd)        except:            class_name = "无法获取"            window_text = "无法获取"        display_text = f"[{root_id}{class_name} - {window_text[:30]}" if window_text else f"[{root_id}{class_name}"        node = self.control_tree.insert("", tk.END, text=display_text,                                        values=(class_name, window_text, parent_hwnd))        self.hwnd_to_item[parent_hwnd] = node        self.item_to_hwnd[node] = parent_hwnd        self.enumerate_child_windows(parent_hwnd, node)        self.control_tree.item(node, open=True)    def enumerate_child_windows(self, parent_hwnd, parent_node):        def enum_child_callback(child_hwnd, _):            if win32gui.IsWindowVisible(child_hwnd):                cid = self.next_control_id                self.next_control_id += 1                try:                    class_name = win32gui.GetClassName(child_hwnd)                    window_text = win32gui.GetWindowText(child_hwnd)                except:                    class_name = "未知"                    window_text = ""                display_text = f"[{cid}{class_name} - {window_text[:30]}" if window_text else f"[{cid}{class_name}"                node = self.control_tree.insert(parent_node, tk.END, text=display_text,                                                values=(class_name, window_text, child_hwnd))                self.hwnd_to_item[child_hwnd] = node                self.item_to_hwnd[node] = child_hwnd                self.enumerate_child_windows(child_hwnd, node)            return True        try:            win32gui.EnumChildWindows(parent_hwnd, enum_child_callback, None)        except Exception as e:            print(f"枚举子窗口出错: {e}")    def highlight_matches(self, keyword):        for item in self.control_tree.get_children():            self._remove_highlight_recursive(item)        if not keyword:            return        for item in self.control_tree.get_children():            self._add_highlight_recursive(item, keyword)    def _remove_highlight_recursive(self, item):        tags = list(self.control_tree.item(item, "tags"))        if 'highlight' in tags:            tags.remove('highlight')            self.control_tree.item(item, tags=tags)        for child in self.control_tree.get_children(item):            self._remove_highlight_recursive(child)    def _add_highlight_recursive(self, item, keyword):        if self._match_item(item, keyword):            tags = list(self.control_tree.item(item, "tags"))            if 'highlight' not in tags:                tags.append('highlight')            self.control_tree.item(item, tags=tags)        for child in self.control_tree.get_children(item):            self._add_highlight_recursive(child, keyword)    def search_control(self):        keyword = self.query_entry.get().strip()        self.highlight_matches(keyword)        if not keyword:            self.last_search_item = None            self.last_search_keyword = ""            return        if keyword != self.last_search_keyword:            self.last_search_item = None            self.last_search_keyword = keyword        root_items = self.control_tree.get_children()        if not root_items:            self.info_text.delete(1.0, tk.END)            self.info_text.insert(tk.END, "控件树为空,请先选择一个顶层窗口。")            return        all_items = []        def dfs(item):            all_items.append(item)            for child in self.control_tree.get_children(item):                dfs(child)        for r in root_items:            dfs(r)        start_idx = 0        if self.last_search_item and self.last_search_item in all_items:            start_idx = all_items.index(self.last_search_item) + 1        found_item = None        for i in range(start_idx, len(all_items)):            if self._match_item(all_items[i], keyword):                found_item = all_items[i]                break        if not found_item and self.last_search_item is not None:            for i in range(0, start_idx - 1):                if self._match_item(all_items[i], keyword):                    found_item = all_items[i]                    break        if found_item:            self.last_search_item = found_item            self._reveal_and_select(found_item)        else:            self.info_text.delete(1.0, tk.END)            self.info_text.insert(tk.END, f"未找到匹配项: {keyword}")            self.last_search_item = None    def _match_item(self, item, keyword):        text = self.control_tree.item(item, "text")        values = self.control_tree.item(item, "values")        class_name = values[0if values else ""        title = values[1if len(values) > 1 else ""        return (keyword.lower() in text.lower() or                keyword.lower() in class_name.lower() or                keyword.lower() in title.lower())    def _reveal_and_select(self, item):        # 收集所有祖先节点(从根到目标)        ancestors = []        node = item        while node:            ancestors.append(node)            node = self.control_tree.parent(node)        # 从根到目标依次展开并滚动        for node in reversed(ancestors):            if node != item:  # 非目标节点只需展开                self.control_tree.item(node, open=True)            self.control_tree.see(node)  # 滚动到当前节点        # 最后选中目标节点,并强制刷新界面使滚动条同步        self.control_tree.selection_set(item)        self.control_tree.focus(item)        self.control_tree.see(item)        self.control_tree.update_idletasks()  # 关键:立即更新界面        self.on_control_selected(None)    def on_window_selected(self, event):        self.refresh_control_tree()    def on_control_selected(self, event):        selected = self.control_tree.selection()        if not selected:            return        node = selected[0]        hwnd = self.item_to_hwnd.get(node)        if not hwnd:            return        try:            class_name = win32gui.GetClassName(hwnd)            window_text = win32gui.GetWindowText(hwnd)            rect = win32gui.GetWindowRect(hwnd)            left, top, right, bottom = rect            width = right - left            height = bottom - top            is_enabled = win32gui.IsWindowEnabled(hwnd)            is_visible = win32gui.IsWindowVisible(hwnd)            control_id = win32gui.GetDlgCtrlID(hwnd)            parent = win32gui.GetParent(hwnd)            _, pid = win32process.GetWindowThreadProcessId(hwnd)            try:                process_handle = win32api.OpenProcess(win32con.PROCESS_QUERY_INFORMATION | win32con.PROCESS_VM_READ, False, pid)                exe_path = win32process.GetModuleFileNameEx(process_handle, 0)                win32api.CloseHandle(process_handle)            except:                exe_path = "无法获取"            style = win32gui.GetWindowLong(hwnd, win32con.GWL_STYLE)            exstyle = win32gui.GetWindowLong(hwnd, win32con.GWL_EXSTYLE)            style_flags = self._parse_style(style)            exstyle_flags = self._parse_exstyle(exstyle)            info = f"""【基本信息】句柄: {hwnd}类名: {class_name}标题: {window_text}控件ID: {control_id} (十六进制: 0x{control_id:04X})【位置大小】位置: ({left}{top})  大小: {width} x {height}【状态】可见: {is_visible}启用: {is_enabled}父窗口句柄: {parent}【进程信息】进程ID: {pid}进程路径: {exe_path}【窗口样式】样式值: 0x{style:08X}样式标志: {', '.join(style_flags) if style_flags else'无'}【扩展样式】扩展样式值: 0x{exstyle:08X}扩展标志: {', '.join(exstyle_flags) if exstyle_flags else'无'}"""            self.info_text.delete(1.0, tk.END)            self.info_text.insert(tk.END, info)        except Exception as e:            self.info_text.delete(1.0, tk.END)            self.info_text.insert(tk.END, f"获取属性失败: {e}")    def _parse_style(self, style):        flags = []        style_map = {            win32con.WS_BORDER: "WS_BORDER",            win32con.WS_CAPTION: "WS_CAPTION",            win32con.WS_CHILD: "WS_CHILD",            win32con.WS_CLIPCHILDREN: "WS_CLIPCHILDREN",            win32con.WS_CLIPSIBLINGS: "WS_CLIPSIBLINGS",            win32con.WS_DISABLED: "WS_DISABLED",            win32con.WS_DLGFRAME: "WS_DLGFRAME",            win32con.WS_GROUP: "WS_GROUP",            win32con.WS_HSCROLL: "WS_HSCROLL",            win32con.WS_ICONIC: "WS_ICONIC",            win32con.WS_MAXIMIZE: "WS_MAXIMIZE",            win32con.WS_MAXIMIZEBOX: "WS_MAXIMIZEBOX",            win32con.WS_MINIMIZE: "WS_MINIMIZE",            win32con.WS_MINIMIZEBOX: "WS_MINIMIZEBOX",            win32con.WS_OVERLAPPED: "WS_OVERLAPPED",            win32con.WS_OVERLAPPEDWINDOW: "WS_OVERLAPPEDWINDOW",            win32con.WS_POPUP: "WS_POPUP",            win32con.WS_POPUPWINDOW: "WS_POPUPWINDOW",            win32con.WS_SIZEBOX: "WS_SIZEBOX",            win32con.WS_SYSMENU: "WS_SYSMENU",            win32con.WS_TABSTOP: "WS_TABSTOP",            win32con.WS_THICKFRAME: "WS_THICKFRAME",            win32con.WS_VISIBLE: "WS_VISIBLE",            win32con.WS_VSCROLL: "WS_VSCROLL",        }        for mask, name in style_map.items():            if style & mask:                flags.append(name)        return flags    def _parse_exstyle(self, exstyle):        flags = []        ex_map = {            win32con.WS_EX_ACCEPTFILES: "WS_EX_ACCEPTFILES",            win32con.WS_EX_APPWINDOW: "WS_EX_APPWINDOW",            win32con.WS_EX_CLIENTEDGE: "WS_EX_CLIENTEDGE",            win32con.WS_EX_CONTEXTHELP: "WS_EX_CONTEXTHELP",            win32con.WS_EX_CONTROLPARENT: "WS_EX_CONTROLPARENT",            win32con.WS_EX_DLGMODALFRAME: "WS_EX_DLGMODALFRAME",            win32con.WS_EX_LAYERED: "WS_EX_LAYERED",            win32con.WS_EX_LEFT: "WS_EX_LEFT",            win32con.WS_EX_LEFTSCROLLBAR: "WS_EX_LEFTSCROLLBAR",            win32con.WS_EX_LTRREADING: "WS_EX_LTRREADING",            win32con.WS_EX_MDICHILD: "WS_EX_MDICHILD",            win32con.WS_EX_NOACTIVATE: "WS_EX_NOACTIVATE",            win32con.WS_EX_NOINHERITLAYOUT: "WS_EX_NOINHERITLAYOUT",            win32con.WS_EX_NOPARENTNOTIFY: "WS_EX_NOPARENTNOTIFY",            win32con.WS_EX_OVERLAPPEDWINDOW: "WS_EX_OVERLAPPEDWINDOW",            win32con.WS_EX_PALETTEWINDOW: "WS_EX_PALETTEWINDOW",            win32con.WS_EX_RIGHT: "WS_EX_RIGHT",            win32con.WS_EX_RIGHTSCROLLBAR: "WS_EX_RIGHTSCROLLBAR",            win32con.WS_EX_RTLREADING: "WS_EX_RTLREADING",            win32con.WS_EX_STATICEDGE: "WS_EX_STATICEDGE",            win32con.WS_EX_TOOLWINDOW: "WS_EX_TOOLWINDOW",            win32con.WS_EX_TOPMOST: "WS_EX_TOPMOST",            win32con.WS_EX_TRANSPARENT: "WS_EX_TRANSPARENT",            win32con.WS_EX_WINDOWEDGE: "WS_EX_WINDOWEDGE",        }        for mask, name in ex_map.items():            if exstyle & mask:                flags.append(name)        return flags    def pick_window_from_cursor(self):        self.root.withdraw()        self.root.update()        self.root.attributes("-topmost"True)        print("请点击目标窗口(5秒内),之后将自动探测...")        self.root.after(1000self._capture_mouse_click)    def _capture_mouse_click(self):        cursor_pos = win32gui.GetCursorPos()        hwnd = win32gui.WindowFromPoint(cursor_pos)        if hwnd:            root_hwnd = win32gui.GetAncestor(hwnd, win32con.GA_ROOT)            self.select_window_by_hwnd(root_hwnd)        self.root.deiconify()        self.root.attributes("-topmost"False)        self.root.lift()    def select_window_by_hwnd(self, hwnd):        self.refresh_top_windows()        for item in self.window_tree.get_children():            values = self.window_tree.item(item, "values")            if values and int(values[0]) == hwnd:                self.window_tree.selection_set(item)                self.window_tree.see(item)                self.on_window_selected(None)                return        try:            title = win32gui.GetWindowText(hwnd)            display_title = title if title else f"[无标题] {hwnd}"            new_item = self.window_tree.insert("", tk.END, text=display_title, values=(hwnd,))            self.window_tree.selection_set(new_item)            self.on_window_selected(None)        except:            passif __name__ == "__main__":    root = tk.Tk()    app = WindowExplorer(root)    root.mainloop()

完毕!!感谢您的收看

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

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

py项目Python模块 Python爬虫  Json

Xpath正则表达式SeleniumEtreeCss

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

数据可视化 matplotlib  词云图Pyecharts

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

自动化脚本编程工具NumPy CSVWeb

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

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-03 19:17:28 HTTP/2.0 GET : https://f.mffb.com.cn/a/494375.html
  2. 运行时间 : 0.247280s [ 吞吐率:4.04req/s ] 内存消耗:4,748.25kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=5191704ded81dbdf6ae5da71b57a5dbe
  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.000482s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000566s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000358s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000331s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000670s ]
  6. SELECT * FROM `set` [ RunTime:0.001395s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000681s ]
  8. SELECT * FROM `article` WHERE `id` = 494375 LIMIT 1 [ RunTime:0.018844s ]
  9. UPDATE `article` SET `lasttime` = 1783077448 WHERE `id` = 494375 [ RunTime:0.000649s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.003822s ]
  11. SELECT * FROM `article` WHERE `id` < 494375 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000540s ]
  12. SELECT * FROM `article` WHERE `id` > 494375 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.015644s ]
  13. SELECT * FROM `article` WHERE `id` < 494375 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.011339s ]
  14. SELECT * FROM `article` WHERE `id` < 494375 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.089558s ]
  15. SELECT * FROM `article` WHERE `id` < 494375 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.034327s ]
0.248875s