当前位置:首页>python>《懒人福音!票证歪斜不用愁!Python调用Ai大模型,自动批量矫正所有票据,彻底解放双手!》-附源码和exe

《懒人福音!票证歪斜不用愁!Python调用Ai大模型,自动批量矫正所有票据,彻底解放双手!》-附源码和exe

  • 2026-01-31 04:12:02
《懒人福音!票证歪斜不用愁!Python调用Ai大模型,自动批量矫正所有票据,彻底解放双手!》-附源码和exe

“带你横跨办公自动化的数据江海”

@摸鱼

闻道有先后,术业有专攻。各位大佬们大家好!~我是你们的老朋友摸鱼~,本人在十多年的日常工作中摸爬滚打攒了不少Python办公自动化的实用项目技巧,自创立"码海听潮"公众号以来,已经陆续分享60多篇原创文章啦!里面满满的办公实操干货,希望能与各位大佬共同探讨办公效率提升之道,实现不加班自由。

好叻,多了不说,少了不唠,咱直接上干货。

办公需求场景

从崩溃到优雅的进化

有一个神秘票证图片文件夹,里面有各种各样东倒西歪的票证图片,现在要把这些票证图片全都给矫正并保存,要是这种类似的需求你的Big Boss安排你去完成,请问阁下该如何应对?

需求的文件夹如下图:

办公痛点分析

01

 痛点1:效率极低,费时费力

    • 每张图片都需要人工手动旋转、裁剪、透视调整,面对大量图片时,操作重复性高,工作量大,处理速度缓慢,难以快速完成批量任务。

    02

     痛点2:矫正标准不一,质量难以保证

      • 不同人员(甚至同一人在不同时间)对“矫正标准”的主观判断可能存在差异(如角度偏差、边缘取舍等),容易导致处理结果不一致,影响后续归档或识别的准确性。

      03

      痛点3:操作繁琐易出错,容错成本高

      • 工调整时容易误操作(如旋转方向错误、裁剪内容缺失等),若未及时发现,可能导致关键信息损坏或丢失。后期核查和修正错误需要额外时间,整体容错成本较高。

      由此可见若操作成百上千个图片的话整个操作流程繁琐且耗时,高频次的鼠标点击和键盘输入使操作者手指疲劳,堪称"键盘敲冒烟"式的体力劳动,加上人工疲劳操作极易导致遗漏文件夹。于是乎这时候,按以往的 “解题套路”,Python 的专属 BGM 该响起来了 ——go~ go~ go~,救苦救难的大救星这不就来了!!

      @摸鱼

      问题拆解思路

      1. 下载大模型

      下载/加载大模型到指定的文件夹

      2. 文件遍历

      递归扫描指定文件夹中的所有的图像文件

      3. 利用大模型对图片进行矫正并保存

      下面,我就用python代码让excel见识一下,什么叫"传统文化遇上赛博效率"(仅展示部分代码,非完整代码,需完整代码看文章末尾说明~)

      import tkinter as tkfrom tkinter import ttk, filedialog, messagebox, scrolledtextimport threadingimport queuefrom datetime import datetimeimport osclass CardCorrectionGUI:    def __init__(self, root):        self.root = root        self.root.title("📷智能票证检测矫正系统(欢迎关注微信公众号:码海听潮)")        self.root.geometry("900x600")        self.root.resizable(FalseFalse)        # 设置主题颜色        self.bg_color = "#f0f0f0"        self.primary_color = "#4a6fa5"        self.secondary_color = "#166088"        self.accent_color = "#59c9a5"        # 创建处理器实例        self.processor = None        self.model_loaded = False        # 创建界面        self.setup_ui()        # 消息队列用于线程通信        self.message_queue = queue.Queue()        # 启动消息处理器        self.root.after(100self.process_messages)    def setup_ui(self):        # 设置窗口样式        self.root.configure(bg=self.bg_color)        # 创建主容器        main_container = tk.Frame(self.root, bg=self.bg_color)        main_container.pack(fill="both", expand=True, padx=20, pady=10)        # 左侧控制面板        control_frame = tk.LabelFrame(            main_container,            text="控制面板",            font=("微软雅黑"12"bold"),            bg=self.bg_color,            relief="groove",            bd=2        )        control_frame.pack(side="left", fill="y", padx=(010))        # 模型设置        model_frame = tk.Frame(control_frame, bg=self.bg_color)        model_frame.pack(fill="x", pady=10, padx=10)        tk.Label(            model_frame,            text="模型设置",            font=("微软雅黑"11"bold"),            bg=self.bg_color        ).pack(anchor="w")        # 缓存目录选择        cache_frame = tk.Frame(model_frame, bg=self.bg_color)        cache_frame.pack(fill="x", pady=5)        tk.Label(            cache_frame,            text="模型缓存目录:",            bg=self.bg_color        ).pack(side="left")        # 默认缓存目录        default_cache = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'models')        self.cache_var = tk.StringVar(value=default_cache)        cache_entry = tk.Entry(            cache_frame,            textvariable=self.cache_var,            width=25        )        cache_entry.pack(side="left", padx=5)        tk.Button(            cache_frame,            text="浏览",            command=self.browse_cache_dir,            bg=self.accent_color,            fg="white",            relief="flat"        ).pack(side="left")        # 模型操作按钮框架        model_buttons_frame = tk.Frame(model_frame, bg=self.bg_color)        model_buttons_frame.pack(fill="x", pady=5)        # 下载模型按钮        self.download_model_btn = tk.Button(            model_buttons_frame,            text="下载模型",            command=self.download_model,            bg=self.secondary_color,            fg="white",            font=("微软雅黑"10),            relief="flat",            width=10        )        self.download_model_btn.pack(side="left", padx=2)        # 加载模型按钮        self.load_model_btn = tk.Button(            model_buttons_frame,            text="加载模型",            command=self.load_model,            bg=self.secondary_color,            fg="white",            font=("微软雅黑"10),            relief="flat",            width=10,            state="disabled"  # 初始禁用,下载完成后启用        )        self.load_model_btn.pack(side="left", padx=2)        # 检查模型按钮        self.check_model_btn = tk.Button(            model_buttons_frame,            text="检查模型",            command=self.check_model,            bg=self.accent_color,            fg="white",            font=("微软雅黑"10),            relief="flat",            width=10        )        self.check_model_btn.pack(side="left", padx=2)        self.model_status_label = tk.Label(            model_frame,            text="模型状态: 未下载",            fg="red",            bg=self.bg_color        )        self.model_status_label.pack(pady=5)        # 模型文件信息标签        self.model_info_label = tk.Label(            model_frame,            text="",            fg="gray",            bg=self.bg_color,            font=("微软雅黑"9)        )        self.model_info_label.pack()        # 分隔线        ttk.Separator(control_frame, orient="horizontal").pack(fill="x", pady=10, padx=10)        # 处理选项        process_frame = tk.Frame(control_frame, bg=self.bg_color)        process_frame.pack(fill="x", pady=10, padx=10)        tk.Label(            process_frame,            text="处理选项",            font=("微软雅黑"11"bold"),            bg=self.bg_color        ).pack(anchor="w")        # 单张图片处理        single_frame = tk.Frame(process_frame, bg=self.bg_color)        single_frame.pack(fill="x", pady=5)        tk.Label(            single_frame,            text="单张图片:",            bg=self.bg_color        ).pack(side="left")        self.single_input_var = tk.StringVar()        tk.Entry(            single_frame,            textvariable=self.single_input_var,            width=25        ).pack(side="left", padx=5)        tk.Button(            single_frame,            text="选择图片",            command=self.select_single_image,            bg=self.accent_color,            fg="white",            relief="flat"        ).pack(side="left")        self.single_process_btn = tk.Button(            single_frame,            text="处理",            command=self.process_single,            bg=self.primary_color,            fg="white",            relief="flat",            state="disabled"  # 初始禁用        )        self.single_process_btn.pack(side="left", padx=5)        # 批量处理        batch_frame = tk.Frame(process_frame, bg=self.bg_color)        batch_frame.pack(fill="x", pady=5)        tk.Label(            batch_frame,            text="批量处理:",            bg=self.bg_color        ).pack(side="left")        self.batch_input_var = tk.StringVar()        tk.Entry(            batch_frame,            textvariable=self.batch_input_var,            width=25        ).pack(side="left", padx=5)        tk.Button(            batch_frame,            text="选择文件夹",            command=self.select_batch_folder,            bg=self.accent_color,            fg="white",            relief="flat"        ).pack(side="left")        self.batch_process_btn = tk.Button(            batch_frame,            text="批量处理",            command=self.process_batch,            bg=self.primary_color,            fg="white",            relief="flat",            state="disabled"  # 初始禁用        )        self.batch_process_btn.pack(side="left", padx=5)        # 输出目录        output_frame = tk.Frame(process_frame, bg=self.bg_color)        output_frame.pack(fill="x", pady=5)        tk.Label(            output_frame,            text="输出目录:",            bg=self.bg_color        ).pack(side="left")        self.output_var = tk.StringVar()        tk.Entry(            output_frame,            textvariable=self.output_var,            width=25        ).pack(side="left", padx=5)        tk.Button(            output_frame,            text="选择",            command=self.select_output_folder,            bg=self.accent_color,            fg="white",            relief="flat"        ).pack(side="left")        # 进度条        self.progress = ttk.Progressbar(            control_frame,            mode='indeterminate'        )        self.progress.pack(fill="x", pady=10, padx=10)        # 右侧日志显示区域        log_frame = tk.LabelFrame(            main_container,            text="处理日志",            font=("微软雅黑"12"bold"),            bg=self.bg_color,            relief="groove",            bd=2        )        log_frame.pack(side="right", fill="both", expand=True)        self.log_text = scrolledtext.ScrolledText(            log_frame,            wrap=tk.WORD,            width=60,            height=30,            font=("Consolas"10)        )        self.log_text.pack(fill="both", expand=True, padx=10, pady=10)        self.log_text.config(state="normal")        self.log_text.insert("end""=== 智能票证检测矫正系统 ===\n")        self.log_text.insert("end", f"启动时间: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}\n")        self.log_text.insert("end""请先下载并加载模型\n")        self.log_text.insert("end""-" * 50 + "\n")        self.log_text.config(state="disabled")        # 状态栏        status_frame = tk.Frame(self.root, bg=self.primary_color, height=30)        status_frame.pack(fill="x", side="bottom")        status_frame.pack_propagate(False)        self.status_label = tk.Label(            status_frame,            text="就绪 - 请先下载并加载模型",            bg=self.primary_color,            fg="white"        )        self.status_label.pack(side="left", padx=10)        self.file_count_label = tk.Label(            status_frame,            text="",            bg=self.primary_color,            fg="white"        )        self.file_count_label.pack(side="right", padx=10)    def log_message(self, message, level="INFO"):        """记录日志消息"""        timestamp = datetime.now().strftime("%H:%M:%S")        if level == "ERROR":            color = "red"        elif level == "WARNING":            color = "orange"        elif level == "SUCCESS":            color = "green"        else:            color = "black"        self.log_text.config(state="normal")        self.log_text.insert("end", f"[{timestamp}] {message}\n", (level,))        self.log_text.tag_config(level, foreground=color)        self.log_text.see("end")        self.log_text.config(state="disabled")    def update_status(self, message):        """更新状态栏"""        self.status_label.config(text=message)    def update_model_status(self, status, color="black"):        """更新模型状态"""        self.model_status_label.config(text=f"模型状态: {status}", fg=color)    def update_model_info(self, info):        """更新模型信息"""        self.model_info_label.config(text=info)    def set_model_button_state(self, download_state="normal", load_state="normal", check_state="normal"):        """设置模型按钮状态"""        self.download_model_btn.config(state=download_state)        self.load_model_btn.config(state=load_state)        self.check_model_btn.config(state=check_state)    def enable_process_buttons(self, enabled=True):        """启用/禁用处理按钮"""        state = "normal" if enabled else "disabled"        self.single_process_btn.config(state=state)        self.batch_process_btn.config(state=state)    def browse_cache_dir(self):        """浏览缓存目录"""        folder = filedialog.askdirectory(title="选择模型缓存目录")        if folder:            self.cache_var.set(folder)            self.log_message(f"设置模型缓存目录: {folder}""INFO")    def select_single_image(self):        """选择单张图片"""        filetypes = [            ("图片文件""*.jpg *.jpeg *.png *.bmp"),            ("所有文件""*.*")        ]        filename = filedialog.askopenfilename(title="选择图片", filetypes=filetypes)        if filename:            self.single_input_var.set(filename)            self.log_message(f"选择单张图片: {filename}""INFO")    def select_batch_folder(self):        """选择批量处理文件夹"""        folder = filedialog.askdirectory(title="选择图片文件夹")        if folder:            self.batch_input_var.set(folder)            self.log_message(f"选择批量处理文件夹: {folder}""INFO")    def select_output_folder(self):        """选择输出文件夹"""        folder = filedialog.askdirectory(title="选择输出文件夹")        if folder:            self.output_var.set(folder)            self.log_message(f"设置输出目录: {folder}""INFO")    def check_model(self):        """检查模型是否存在"""        cache_dir = self.cache_var.get()        if not cache_dir or not os.path.exists(cache_dir):            self.log_message(f"缓存目录不存在: {cache_dir}""WARNING")            self.update_model_status("缓存目录不存在""red")            return        model_path = os.path.join(cache_dir, 'iic''cv_resnet18_card_correction')        if os.path.exists(model_path):            # 统计模型文件            model_files = []            total_size = 0            for root, dirs, files in os.walk(model_path):                for file in files:                    file_path = os.path.join(root, file)                    model_files.append(file)                    total_size += os.path.getsize(file_path)            size_mb = total_size / (1024 * 1024)            self.log_message(f"模型已存在,位于: {model_path}""SUCCESS")            self.log_message(f"模型文件数: {len(model_files)},大小: {size_mb:.2f} MB""INFO")            self.update_model_status("已下载""green")            self.update_model_info(f"{len(model_files)}个文件,{size_mb:.1f}MB")            self.set_model_button_state(download_state="disabled", load_state="normal")        else:            self.log_message(f"模型未下载,请先下载模型""WARNING")            self.update_model_status("未下载""red")            self.update_model_info("")            self.set_model_button_state(download_state="normal", load_state="disabled")    def download_model(self):        """下载模型"""        def download():            try:                self.message_queue.put(("status""正在下载模型..."))                self.message_queue.put(("log""开始下载模型,这可能需要一些时间...""INFO"))                self.message_queue.put(("progress_start",))                self.message_queue.put(("set_model_buttons""disabled""disabled""disabled"))                cache_dir = self.cache_var.get()                if not cache_dir or cache_dir == "":                    cache_dir = None                # 导入必要的库                from modelscope import snapshot_download                # 下载模型                model_dir = snapshot_download(                    'iic/cv_resnet18_card_correction',                    cache_dir=cache_dir                )                self.message_queue.put(("log", f"模型下载完成!保存位置: {model_dir}""SUCCESS"))                self.message_queue.put(("update_model_status""已下载""green"))                self.message_queue.put(("status""模型下载完成"))                self.message_queue.put(("progress_stop",))                self.message_queue.put(("set_model_buttons""disabled""normal""normal"))                # 显示模型信息                model_files = []                total_size = 0                for root, dirs, files in os.walk(model_dir):                    for file in files:                        file_path = os.path.join(root, file)                        model_files.append(file)                        total_size += os.path.getsize(file_path)                size_mb = total_size / (1024 * 1024)                self.message_queue.put(("update_model_info", f"{len(model_files)}个文件,{size_mb:.1f}MB"))                self.message_queue.put(("log", f"模型包含 {len(model_files)} 个文件,总计 {size_mb:.2f} MB""INFO"))            except Exception as e:                import traceback                error_msg = f"模型下载失败: {str(e)}"                self.message_queue.put(("log", error_msg, "ERROR"))                self.message_queue.put(("log", traceback.format_exc(), "ERROR"))                self.message_queue.put(("update_model_status""下载失败""red"))                self.message_queue.put(("status", f"模型下载失败: {str(e)}"))                self.message_queue.put(("progress_stop",))                self.message_queue.put(("set_model_buttons""normal""disabled""normal"))        # 启动下载线程        thread = threading.Thread(target=download)        thread.daemon = True        thread.start()    def load_model(self):        """加载模型"""        def load():            try:                self.message_queue.put(("status""正在加载模型..."))                self.message_queue.put(("log""开始加载模型...""INFO"))                self.message_queue.put(("progress_start",))                self.message_queue.put(("set_model_buttons""disabled""disabled""disabled"))                self.message_queue.put(("enable_process_buttons"False))                cache_dir = self.cache_var.get()                if not cache_dir or cache_dir == "":                    cache_dir = None                # 导入必要的库                from modelscope.pipelines import pipeline                from modelscope.utils.constant import Tasks                # 初始化处理器(这里需要SimpleBatchCardCorrection类的定义)                self.processor = SimpleBatchCardCorrection(cache_dir)                self.model_loaded = True                self.message_queue.put(("log""模型加载完成!""SUCCESS"))                self.message_queue.put(("update_model_status""已加载""green"))                self.message_queue.put(("status""模型加载完成,可以开始处理"))                self.message_queue.put(("progress_stop",))                self.message_queue.put(("enable_process_buttons"True))                self.message_queue.put(("set_model_buttons""disabled""disabled""normal"))            except Exception as e:                import traceback                error_msg = f"模型加载失败: {str(e)}"                self.message_queue.put(("log", error_msg, "ERROR"))                self.message_queue.put(("log", traceback.format_exc(), "ERROR"))                self.message_queue.put(("update_model_status""加载失败""red"))                self.message_queue.put(("status", f"模型加载失败: {str(e)}"))                self.message_queue.put(("progress_stop",))                self.message_queue.put(("enable_process_buttons"False))                self.message_queue.put(("set_model_buttons""disabled""normal""normal"))        # 启动加载线程        thread = threading.Thread(target=load)        thread.daemon = True        thread.start()    def process_single(self):        """处理单张图片"""        if not self.model_loaded or self.processor is None:            messagebox.showwarning("警告""请先加载模型")            return        input_path = self.single_input_var.get()        if not input_path:            messagebox.showwarning("警告""请先选择图片")            return        if not os.path.exists(input_path):            messagebox.showerror("错误""图片文件不存在")            return        output_path = self.output_var.get()        if output_path and output_path.strip():            filename = os.path.basename(input_path)            name, ext = os.path.splitext(filename)            output_path = os.path.join(output_path, f"{name}_corrected.jpg")        else:            output_path = None        def process():            try:                self.message_queue.put(("status", f"正在处理: {os.path.basename(input_path)}"))                self.message_queue.put(("log", f"开始处理单张图片: {input_path}""INFO"))                self.message_queue.put(("progress_start",))                result = self.processor.process_single_image(input_path, output_path)                if result:                    self.message_queue.put(("log", f"处理完成: {result}""SUCCESS"))                    self.message_queue.put(("status""处理完成"))                    self.message_queue.put(("log""图片已保存""INFO"))                else:                    self.message_queue.put(("log""处理失败,未检测到卡片或保存失败""WARNING"))                    self.message_queue.put(("status""处理失败,未检测到卡片"))                self.message_queue.put(("progress_stop",))            except Exception as e:                import traceback                error_msg = f"处理失败: {str(e)}"                self.message_queue.put(("log", error_msg, "ERROR"))                self.message_queue.put(("log", traceback.format_exc(), "ERROR"))                self.message_queue.put(("status""处理失败"))                self.message_queue.put(("progress_stop",))        # 在新线程中处理        thread = threading.Thread(target=process)        thread.daemon = True        thread.start()    def process_batch(self):        """批量处理"""        if not self.model_loaded or self.processor is None:            messagebox.showwarning("警告""请先加载模型")            return        input_folder = self.batch_input_var.get()        if not input_folder or not os.path.exists(input_folder):            messagebox.showwarning("警告""请选择有效的输入文件夹")            return        output_folder = self.output_var.get()        if not output_folder or not output_folder.strip():            # 创建默认输出文件夹            output_folder = os.path.join(input_folder, 'corrected')        def process_batch():            try:                self.message_queue.put(("status""正在批量处理..."))                self.message_queue.put(("log", f"开始批量处理文件夹: {input_folder}""INFO"))                self.message_queue.put(("log", f"输出目录: {output_folder}""INFO"))                self.message_queue.put(("progress_start",))                # 查找图片文件                extensions = ['.jpg''.jpeg''.png''.bmp']                image_files = []                for file in os.listdir(input_folder):                    file_path = os.path.join(input_folder, file)                    if os.path.isfile(file_path):                        if any(file.lower().endswith(ext.lower()) for ext in extensions):                            image_files.append(file_path)                if not image_files:                    self.message_queue.put(("log""文件夹中没有找到图片文件""WARNING"))                    self.message_queue.put(("status""没有找到图片"))                    self.message_queue.put(("progress_stop",))                    return                self.message_queue.put(("log", f"找到 {len(image_files)} 张图片""INFO"))                self.message_queue.put(("file_count", f"0/{len(image_files)}"))                # 处理每张图片                success_count = 0                for i, image_path in enumerate(image_files, 1):                    self.message_queue.put(("status", f"正在处理第 {i}/{len(image_files)} 张图片"))                    self.message_queue.put(("log", f"处理第 {i}/{len(image_files)}: {os.path.basename(image_path)}""INFO"))                    # 生成输出路径                    file_name = os.path.basename(image_path)                    name, ext = os.path.splitext(file_name)                    output_path = os.path.join(output_folder, f"{name}_corrected.jpg")                    # 处理图片                    result = self.processor.process_single_image(image_path, output_path)                    if result:                        success_count += 1                    self.message_queue.put(("file_count", f"{i}/{len(image_files)}"))                self.message_queue.put(("log", f"批量处理完成!成功处理 {success_count}/{len(image_files)} 张图片""SUCCESS"))                self.message_queue.put(("status", f"批量处理完成,成功 {success_count}/{len(image_files)}"))                self.message_queue.put(("progress_stop",))                if success_count > 0:                    self.message_queue.put(("log", f"输出目录: {output_folder}""INFO"))                    self.message_queue.put(("log""可以在文件浏览器中查看处理结果""INFO"))            except Exception as e:                import traceback                error_msg = f"批量处理失败: {str(e)}"                self.message_queue.put(("log", error_msg, "ERROR"))                self.message_queue.put(("log", traceback.format_exc(), "ERROR"))                self.message_queue.put(("status""批量处理失败"))                self.message_queue.put(("progress_stop",))        # 在新线程中处理        thread = threading.Thread(target=process_batch)        thread.daemon = True        thread.start()    def process_messages(self):        """处理消息队列"""        try:            while True:                try:                    msg_type, *args = self.message_queue.get_nowait()                    if msg_type == "log":                        message, level = args                        self.log_message(message, level)                    elif msg_type == "status":                        self.update_status(args[0])                    elif msg_type == "update_model_status":                        status, color = args                        self.update_model_status(status, color)                    elif msg_type == "update_model_info":                        self.update_model_info(args[0])                    elif msg_type == "set_model_buttons":                        download_state, load_state, check_state = args                        self.set_model_button_state(download_state, load_state, check_state)                    elif msg_type == "enable_process_buttons":                        self.enable_process_buttons(args[0])                    elif msg_type == "progress_start":                        self.progress.start()                    elif msg_type == "progress_stop":                        self.progress.stop()                    elif msg_type == "file_count":                        self.file_count_label.config(text=f"进度: {args[0]}")                except queue.Empty:                    break        except Exception as e:            print(f"处理消息时出错: {e}")        # 继续检查消息        self.root.after(100self.process_messages)# 简单的处理器类定义(这是界面中需要的,但没有OpenCV等依赖)class SimpleBatchCardCorrection:    def __init__(self, cache_dir=None):        self.cache_dir = cache_dir    def process_single_image(self, input_path, output_path=None):        # 这里只是一个占位符,实际功能需要完整代码        print(f"处理图片: {input_path}")        return output_pathdef main():    # 创建主窗口    root = tk.Tk()    # 创建应用    app = CardCorrectionGUI(root)    # 运行主循环    root.mainloop()if __name__ == "__main__":    main()

      最终将所有票证图像都矫正保存了,完美实现了既定的需求...

      通过上面Python自动化脚本,仅用几分钟的时间就完成原需手动操作数小时的工作任务。从最初准备手动人工机械操作的麻木到用python实现高效自动化的畅快,工作效率获得指数级提升,终于实现了不加班熬夜的自由!

      大佬们也可以举一反三,参照上面的代码思路根据自己工作中的实际情况来具体问题具体分析,实现自己定制化的需求。

      结语

      当Python遇见办公,牛马打工人终于笑出了猪叫声

      【职场人必看】每天早上一睁眼,想到又要面对:

      1.📊 堆积如山的Excel表格

      2.📑 机械重复的复制粘贴

      3.✍️ 永远改不完的各类文档

      4.诸如此类的更多........

      是不是连Ctrl+Alt+Delete的心都有了?

      别慌!别急,摸鱼这位“职场外挂”已经带着Python代码来拯救你了!

      友情提示:考虑到没有python环境的朋友需要打包好的成品exe,摸鱼早已贴心打包好,本篇文章代码打包的exe截图如下:

      另外,《码海听潮》公众号所有文章码和exe程序已打包好上传绿联nas私有云,有需要的大佬扫一扫上面博主的个人微信二维码,需要的大佬需支付9.9元永久拥有公众号资源(写原创干货费时费力,属实不易),邀请您进入社区群获取下载链接!!,群内提供python办公自动化交流问题,解决问题,且码海听潮微信公众号文章发布会第一时间会更新到群里,非诚勿扰哈!

      码海听潮官方社区群如下:

      赶紧微信扫一扫下方二维码添加摸鱼君微信

      最新文章

      随机文章

      基本 文件 流程 错误 SQL 调试
      1. 请求信息 : 2026-02-08 16:52:10 HTTP/2.0 GET : https://f.mffb.com.cn/a/462903.html
      2. 运行时间 : 0.097003s [ 吞吐率:10.31req/s ] 内存消耗:4,642.42kb 文件加载:140
      3. 缓存信息 : 0 reads,0 writes
      4. 会话信息 : SESSION_ID=c23de564969134c51b13533afb750951
      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.000453s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
      2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000779s ]
      3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000301s ]
      4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000292s ]
      5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000665s ]
      6. SELECT * FROM `set` [ RunTime:0.000236s ]
      7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000604s ]
      8. SELECT * FROM `article` WHERE `id` = 462903 LIMIT 1 [ RunTime:0.002020s ]
      9. UPDATE `article` SET `lasttime` = 1770540730 WHERE `id` = 462903 [ RunTime:0.008883s ]
      10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.001226s ]
      11. SELECT * FROM `article` WHERE `id` < 462903 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.006763s ]
      12. SELECT * FROM `article` WHERE `id` > 462903 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000534s ]
      13. SELECT * FROM `article` WHERE `id` < 462903 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001045s ]
      14. SELECT * FROM `article` WHERE `id` < 462903 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.002775s ]
      15. SELECT * FROM `article` WHERE `id` < 462903 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000879s ]
      0.098589s