当前位置:首页>python>500 张参赛图手动判原创?1 个 Python 脚本搞定!县级小发明评选效率飙升 90%

500 张参赛图手动判原创?1 个 Python 脚本搞定!县级小发明评选效率飙升 90%

  • 2026-03-04 15:39:26
500 张参赛图手动判原创?1 个 Python 脚本搞定!县级小发明评选效率飙升 90%

导语:谁懂啊!手动检测原创,累到怀疑人生…

作为县级小发明、小制作评选的工作人员,你是不是也遇到过这样的崩溃时刻?

  • 参赛图片堆成山,500 张 JPG/PNG 要逐张上传;
  • 每张都要手动输入 “这是不是淘宝买的” 指令;
  • 盯着屏幕逐一记录结果,眼睛酸、手抽筋,还容易漏判;
  • 一整天下来,啥也没干就光跟图片 “较劲”,评选进度慢到离谱!

手动检测原创性,不仅耗时耗力,还可能因为疲劳导致判断失误,影响评选公平性。难道就没有更高效的方法吗?

答案是:当然有!今天给大家分享一个 “神器”——Python 自动化脚本,让 500 张参赛图的原创性检测,从 “一整天” 压缩到 “半小时”,全程自动运行,结果自动存档,彻底解放你的双手!

一、先看效果:自动化 vs 手动,差距一目了然

操作方式

500 张图耗时

操作步骤

出错率

手动上传

8-10 小时

打开页面→上传图片→输入指令→复制结果→记录存档

15%+(疲劳漏看)

Python 脚本

30-60 分钟

运行脚本→等待结果→查看 CSV

<1%(程序自动处理)

关键优势:

✅ 无需逐张上传:脚本自动读取文件夹内所有图片;

✅ 无需重复输入指令:预设 “是否淘宝购买” 判断逻辑;

✅ 无需手动记录:结果自动保存为 CSV,含选手编号、判断结果、理由;

✅ 支持批量 500 张:一次运行搞定,还能按选手编号排序。

二、核心原理:Python 脚本到底在帮你做什么?

这个自动化脚本就像一个 “智能助手”,全程模拟人工操作,还比人更高效:

  1. 自动找图片:精准读取 D 盘 “参赛图片” 文件夹,只筛选 JPG/PNG 格式,自动提取选手编号(如 001、212);
  1. 自动转格式:把图片转为 API 可识别的 Base64 编码,兼容所有参赛图片格式;
  1. 自动发请求:调用豆包 API,批量上传图片 + 发送判断指令,无需人工干预;
  1. 自动收结果:接收豆包返回的 “是 / 否 / 无法判断” 结果 + 理由,自动按选手编号排序;
  1. 自动存档案:把所有结果保存为 CSV 文件,打开就能直接用于评选审核。

三、3 步上手:零基础也能搞定的实操指南

不用懂复杂编程,跟着步骤走,5 分钟就能搭建好自动化工具!

第一步:准备工作(5 分钟)

  1. 安装必备工具:电脑上已安装 Python(建议 3.8 以上版本,官网可下);
  1. 安装依赖库:打开 “命令提示符”(Win+R 输入 cmd),复制粘贴以下代码,按回车:
  1. 获取 API 密钥:
  • 打开【豆包开放平台】(https://www.doubao.com/platform),注册账号并创建应用;
  • 应用创建后,在 “密钥管理” 中找到「API_KEY」和「API_SECRET」,复制保存好(后续要用)。

第二步:配置脚本(3 分钟)

  1. 新建一个文本文件,把下面的完整代码复制粘贴进去;
  1. 按自己的需求修改 3 个关键配置(其他不用动!):
  • FOLDER_PATH = r"D:\参赛图片":确认图片文件夹路径是否正确;
  • 运行脚本后,会自动生成「.env」文件,打开后填写 API 密钥:
  1. 把文本文件的后缀名改为「.py」(比如「原创性检测脚本.py」),保存到电脑桌面。

第三步:运行脚本(1 分钟)

  1. 确保所有参赛图片都已放在「D:\ 参赛图片」文件夹,且图片命名为选手编号(如 001.jpg、212.png);
  1. 双击运行「原创性检测脚本.py」,或打开命令提示符,输入以下代码运行:
  1. 等待脚本运行完成(500 张图约 30 分钟),桌面会生成「原创性检测结果.csv」文件;
  1. 打开 CSV 文件,就能看到所有选手的编号、判断结果(是 / 否 / 无法判断)和详细理由,直接用于评选审核!

四、核心代码:

from dotenv import load_dotenv

# 加载环境变量(密钥存在.env文件,安全不泄露)

load_dotenv()

API_KEY = os.getenv("DOUBAO_API_KEY")

API_SECRET = os.getenv("DOUBAO_API_SECRET")

# 核心配置(按实际情况修改3行!)

FOLDER_PATH = r"D:\参赛图片"# 图片文件夹路径

RESULT_FILE = "原创性检测结果.csv"# 结果保存文件名

BATCH_SIZE = 500# 单次批量处理数量(最500张)

defget_access_token():

"""自动获API访问令牌(有效24小时)"""

    url = "https://open.doubao.com/oauth/2.0/token"

    params = {

"grant_type""client_credentials",

"client_id": API_KEY,

"client_secret": API_SECRET

    }

try:

        response = requests.get(url, params=params, timeout=30)

        response.raise_for_status()

return response.json().get("access_token")

except Exception as e:

五、使用注意事项(避坑指南)

  1. 密钥安全:不要把 API_KEY 和 API_SECRET 直接写在脚本里,.env 文件要妥善保存;
  1. 图片要求:必须以选手编号命名(如 001.jpg、212.png),仅支持 JPG/PNG 格式;
  1. 限流处理:脚本已设置 0.5 秒间隔,若仍提示限流,可time.sleep(0.5)time.sleep(1)
  1. 结果查看:CSV 文件可用 Excel 打开,“判断结果” 列直接筛选 “是”“否”,快速筛选非原创作品;
  1. 模型选择:默认使doubao-pro模型,若需更精准结果,可在开放平台替换为其他模型(doubao-max)。

结语:让技术为评选赋能,告别重复劳动!

县级小发明、小制作评选的核心是 “公平公正”,而 Python 自动化脚本不仅能帮你节省 90% 的时间,还能减少人工操作的失误,让你把更多精力放在作品本身的创意和价值上。

不用懂复杂编程,复制脚本、填写密钥、运行即可!500 张图片的原创性检测,从此不再是难题~

如果运行中遇到问题,欢迎在评论区留言,我们一起交流解决!

#Python 自动化 #评选工作效率 #原创性检测 #小发明评选

附:完整代码(无关请直接滑过)

import os

import base64

import csv

import time

import requests

from dotenv import load_dotenv

加载环境变量(建议把密钥存在.env文件,避免硬编码)

load_dotenv()

API_KEY = os.getenv("DOUBAO_API_KEY")

API_SECRET = os.getenv("DOUBAO_API_SECRET")

配置项(根据你的实际情况修改)

FOLDER_PATH = r"D:\参赛图片" # 图片文件夹路径

RESULT_FILE = "原创性检测结果.csv" # 结果保存文件

BATCH_SIZE = 500 # 单次批量处理数量

TIMEOUT = 30 # 请求超时时间(秒)

RETRY_TIMES = 2 # 失败重试次数

def get_access_token():

"""获取豆包API的访问令牌(有效期通常24小时)"""

url = "https://open.doubao.com/oauth/2.0/token"

params = {

"grant_type": "client_credentials",

"client_id": API_KEY,

"client_secret": API_SECRET

}

try:

response = requests.get(url, params=params, timeout=TIMEOUT)

response.raise_for_status()

token_data = response.json()

return token_data.get("access_token")

except Exception as e:

print(f"获取令牌失败:{e}")

return None

def image_to_base64(image_path):

"""将图片转为Base64编码"""

try:

with open(image_path, "rb") as f:

base64_data = base64.b64encode(f.read()).decode("utf-8")

return base64_data

except Exception as e:

print(f"图片{image_path}Base64失败:{e}")

return None

def check_originality(token, image_base64, player_id):

"""调用豆包API判断图片是否为淘宝购买(原创性检测)"""

url = "https://open.doubao.com/api/v1/chat/completions"

headers = {

"Authorization": f"Bearer {token}",

"Content-Type": "application/json"

}

构造请求体:传入图片和判断指令

data = {

"model": "doubao-pro",  # 豆包专业版模型,也可根据需求换其他模型

"messages": [

{

"role": "user",

"content": [

{

"type": "text",

"text": "这是县级小发明小制作评选的参赛作品图片,请判断这个作品是不是从淘宝上购买的,仅回答「是」「否」或「无法判断」,并简要说明理由(不超过50字)。"

},

{

"type": "image_url",

"image_url": {

"url": f"data:image/jpeg;base64,{image_base64}"  # 兼容jpg/png

}

}

]

}

],

"temperature": 0.1,  # 降低随机性,让回答更稳定

"max_tokens": 200  # 限制回答长度

}

失败重试逻辑

for i in range(RETRY_TIMES + 1):

try:

response = requests.post(url, headers=headers, json=data, timeout=TIMEOUT)

response.raise_for_status()

result = response.json()

answer = result["choices"][0]["message"]["content"].strip()

return {

"选手编号": player_id,

"判断结果": answer.split("")[0] if "" in answer else answer,

"理由": answer.split("")[1] if "" in answer else ""

}

except Exception as e:

print(f"{i+1}次调用API失败(选手{player_id}):{e}")

if i == RETRY_TIMES:

return {"选手编号": player_id, "判断结果": "调用失败", "理由": str(e)}

time.sleep(1)  # 重试前等待1

return {"选手编号": player_id, "判断结果": "调用失败", "理由": "重试次数用尽"}

def batch_process_images():

"""批量处理图片并检测原创性"""

# 1. 获取访问令牌

token = get_access_token()

if not token:

print("获取令牌失败,程序终止")

return

# 2. 遍历文件夹,筛选图片文件

image_files = []

for filename in os.listdir(FOLDER_PATH):

if filename.lower().endswith((".jpg", ".png")):

提取选手编号(去掉后缀)

player_id = os.path.splitext(filename)[0]

file_path = os.path.join(FOLDER_PATH, filename)

image_files.append({"player_id": player_id, "path": file_path})

按选手编号排序(确保顺序正确)

image_files.sort(key=lambda x: x["player_id"])

# 3. 批量处理(单次最多500条)

total = len(image_files)

print(f"共发现{total}张参赛图片,开始批量检测...")

初始化结果文件

with open(RESULT_FILE, "w", newline="", encoding="utf-8") as f:

writer = csv.DictWriter(f, fieldnames=["选手编号", "判断结果", "理由"])

writer.writeheader()

分批次处理(如果总数超过500,自动分多批)

for batch_start in range(0, total, BATCH_SIZE):

batch_end = min(batch_start + BATCH_SIZE, total)

batch_files = image_files[batch_start:batch_end]

print(f"处理第{batch_start+1}-{batch_end}张图片...")

逐个处理批次内的图片

for file_info in batch_files:

player_id = file_info["player_id"]

image_path = file_info["path"]

Base64

base64_data = image_to_base64(image_path)

if not base64_data:

result = {"选手编号": player_id, "判断结果": "图片读取失败", "理由": "Base64转换失败"}

else:

调用API检测

result = check_originality(token, base64_data, player_id)

保存结果到CSV

with open(RESULT_FILE, "a", newline="", encoding="utf-8") as f:

writer = csv.DictWriter(f, fieldnames=["选手编号", "判断结果", "理由"])

writer.writerow(result)

避免请求过快触发限流

time.sleep(0.5)

print(f"批量检测完成!结果已保存至:{RESULT_FILE}")

if __name__ == "__main__":

创建.env文件(如果不存在),方便填写密钥

if not os.path.exists(".env"):

with open(".env", "w", encoding="utf-8") as f:

f.write('DOUBAO_API_KEY="你的API_KEY"\n')

f.write('DOUBAO_API_SECRET="你的API_SECRET"\n')

print("已创建.env文件,请填写你的API_KEYAPI_SECRET后重新运行!")

else:

batch_process_images()

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-03-06 07:40:49 HTTP/2.0 GET : https://f.mffb.com.cn/a/477673.html
  2. 运行时间 : 0.200869s [ 吞吐率:4.98req/s ] 内存消耗:4,985.93kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=52658f3ae6415d63c6ec114fb0beabad
  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.000969s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001493s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000660s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000663s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001233s ]
  6. SELECT * FROM `set` [ RunTime:0.000559s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001645s ]
  8. SELECT * FROM `article` WHERE `id` = 477673 LIMIT 1 [ RunTime:0.001043s ]
  9. UPDATE `article` SET `lasttime` = 1772754049 WHERE `id` = 477673 [ RunTime:0.001404s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.003869s ]
  11. SELECT * FROM `article` WHERE `id` < 477673 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001193s ]
  12. SELECT * FROM `article` WHERE `id` > 477673 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.009759s ]
  13. SELECT * FROM `article` WHERE `id` < 477673 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.004125s ]
  14. SELECT * FROM `article` WHERE `id` < 477673 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.002464s ]
  15. SELECT * FROM `article` WHERE `id` < 477673 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.024053s ]
0.205179s