当前位置:首页>python>本地AI完全自由|7大平台+Python调用+本地训练,一站式搭建私有大模型

本地AI完全自由|7大平台+Python调用+本地训练,一站式搭建私有大模型

  • 2026-07-01 12:52:00
本地AI完全自由|7大平台+Python调用+本地训练,一站式搭建私有大模型

字数 2502,阅读大约需 13 分钟

还在为云端大模型的这些问题头疼?

  • • 输入敏感数据,担心隐私泄露?
  • • 离线环境下,AI直接「罢工」?
  • • 被平台限流、涨价,用得提心吊胆?
  • • 想定制专属AI,却被云端功能绑死?

本地AI模型搭建,就是解决这些痛点的终极方案:数据100%可控、离线随时可用、按需深度定制,真正把AI的主权握在自己手里。

今天整理了7个本地AI搭建全链路平台,从「找模型」到「跑模型」再到「管模型」一站式覆盖!

全球核心模型宝库

1. Hugging Face

全球最大的AI开源社区与模型托管平台适合人群:所有需要找开源模型的个人开发者、企业

  • • 地址:https://huggingface.co/ | 国内镜像:https://hf-mirror.com/
  • • 百万级开源模型库,LLaMA、Qwen、Mistral等几乎所有主流开源大模型全覆盖,是本地部署的「原料库」
  • • 配套完整的推理、训练工具链,支持模型二次开发、微调
  • • 国内镜像完美解决海外访问慢、下载失败的问题,国内用户直接用,速度拉满
  • • Python调用:支持transformers库原生调用,一行代码加载本地模型
  • • 本地训练:内置Trainer训练API,支持私有数据微调、全量训练

2. 魔搭社区(ModelScope)

国产开源「模型即服务」共享平台适合人群:国内用户、中文场景、新手开发者

  • • 地址:https://modelscope.cn/models
  • • 本土适配拉满,汇聚海量中文优化大模型(通义千问、Qwen系列等),中文语境表现更优秀
  • • 提供一键部署脚本、Docker镜像,国内访问速度快,新手也能快速跑通
  • • 免费开源资源丰富,适合国内个人、中小企业快速落地
  • • Python调用:专属Python SDK,极简代码调用本地模型
  • • 本地训练:提供轻量化微调工具,适配国产显卡,新手友好

3. Github-LLM

全球最前沿的开源大模型框架聚集地适合人群:技术极客、AI框架开发者、想深度定制模型的用户

  • • 地址:https://github.com/topics/llm
  • • 实时同步全球最新的LLM项目、训练框架、微调工具、部署方案,追AI前沿技术的源头
  • • 全量开源源码,支持深度二次开发、定制化改造
  • • Python调用:全开源Python训练&推理代码,深度定制
  • • 本地训练:专业级训练方案,适合科研、企业级模型定制

零门槛把模型跑在本地

1. Ollama

本地运行开源大模型的「轻量神器」适合人群:新手、个人用户、普通电脑用户,本地部署首选

  • • 地址:https://ollama.com/
  • • 极简操作:一行命令 ollama run 模型名 就能拉起大模型服务,自动完成环境配置、模型量化、依赖管理
  • • 轻量化适配:普通电脑8G显存就能流畅跑7B量化模型,16G显存可跑13B模型,门槛极低
  • • 生态完善:完美兼容OpenAI API格式,无缝对接各类前端应用、AI Agent框架
  • • 本地训练:支持基础模型微调,搭配Python脚本快速训练
  • • 亮点:普通电脑8G显存就能流畅运行7B模型

2. OpenRouter

AI模型聚合与统一API平台适合人群:AI应用开发者、需要多模型统一调度的团队

  • • 地址:https://openrouter.ai/
  • • 统一接口:屏蔽不同大模型的底层差异,提供标准化API,不用为每个模型单独写对接代码
  • • 一站式调度:同时对接本地部署模型、云端大模型,适合本地AI应用、Agent开发的模型路由
  • • 支持国内外上百款主流模型,灵活切换
  • • Python调用:标准化Python接口,兼容OpenAI格式
  • • 本地训练:可对接训练后的私有模型,统一调度

可视化掌控本地AI生态

1. Cherry Studio

高颜值多模型管理桌面客户端适合人群:普通用户、不想敲命令的开发者,本地AI可视化管理首选

  • • 地址:https://docs.cherry-ai.com/cherry-studio/download
  • • 全平台支持:Windows/Mac/Linux全覆盖,界面友好,不用敲命令,可视化操作
  • • 多模型统一管理:同时接入本地部署模型、云端大模型,一键切换对话,对比模型效果
  • • 插件生态丰富,可自定义打造专属AI工作台

2. AnythingLLM

一站式本地知识库+大模型管理系统适合人群:企业、隐私敏感用户、需要搭建私有知识库的用户

  • • 地址:https://anythingllm.com/
  • • 核心能力:不仅能管理本地大模型,还能一键对接本地PDF/Word/Excel等文档,快速搭建私有RAG知识库
  • • 完全本地化:数据全程在本地,不经过云端,完美满足隐私合规需求
  • • 一键Docker部署,适合企业搭建内部私有问答机器人、个人知识库助手

Python直接调用本地模型

1. Ollama Python调用

# -*- coding:utf-8 -*-from ollama import chatimport jsonimport osfrom datetime import datetimeclass OllamaChatSession:    def __init__(self, model_name, system_prompt=None):        self.model_name = model_name        self.messages = []        # 添加系统提示(可选)        if system_prompt:            self.messages.append({'role': 'system', 'content': system_prompt})        self.conversation_history = []    def chat_loop(self):        """主对话循环"""        print(f"🤖 Ollama对话系统 - 模型: {self.model_name}")        print("命令: quit/exit=退出, clear=清空历史, save=保存对话, load=加载对话")        print("=" * 40)        while True:            try:                user_input = input("\n👤 你: ").strip()                # 处理命令                if self._handle_commands(user_input):                    continue                # 添加用户消息                self.messages.append({'role': 'user', 'content': user_input})                # 获取AI响应                response = self._get_ai_response()                # 记录对话历史                self.conversation_history.append({                    'timestamp': datetime.now().isoformat(),                    'user': user_input,                    'assistant': response                })            except KeyboardInterrupt:                print("\n\n⚠️ 对话中断")                break            except Exception as e:                print(f"\n❌ 错误: {e}")    def _get_ai_response(self):        """获取AI响应"""        print("\n🤖 AI: ", end='', flush=True)        stream = chat(            model=self.model_name,            messages=self.messages,            stream=True,        )        response = ''        for chunk in stream:            if 'message' in chunk and 'content' in chunk['message']:                content = chunk['message']['content']                print(content, end='', flush=True)                response += content        # 添加AI响应到消息历史        if response:            self.messages.append({'role': 'assistant', 'content': response})        return response    def _handle_commands(self, user_input):        """处理用户命令"""        cmd = user_input.lower()        if cmd in ['quit', 'exit', 'q']:            print("\n👋 再见!")            exit(0)        elif cmd in ['clear', 'reset']:            self.messages = [msg for msg in self.messages if msg['role'] == 'system'] if any(msg['role'] == 'system' for msg in self.messages) else []            print("🗑️ 对话历史已清空")            return True        elif cmd == 'save':            self.save_conversation()            return True        elif cmd == 'load':            self.load_conversation()            return True        elif cmd == 'history':            self.show_history()            return True        return False    def save_conversation(self, filename=None):        """保存对话历史到文件"""        if not filename:            timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")            filename = f"conversation_{timestamp}.json"        try:            with open(filename, 'w', encoding='utf-8') as f:                json.dump({                    'model': self.model_name,                    'timestamp': datetime.now().isoformat(),                    'conversation': self.conversation_history                }, f, ensure_ascii=False, indent=2)            print(f"💾 对话已保存到: {filename}")        except Exception as e:            print(f"❌ 保存失败: {e}")    def load_conversation(self, filename=None):        """从文件加载对话历史"""        if not filename:            # 列出所有对话文件            files = [f for f in os.listdir('.') if f.startswith('conversation_') and f.endswith('.json')]            if not files:                print("📁 未找到对话文件")                return            print("可加载的对话文件:")            for i, f in enumerate(files, 1):                print(f"  {i}. {f}")            try:                choice = int(input("选择文件编号: ")) - 1                filename = files[choice]            except:                print("❌ 无效选择")                return        try:            with open(filename, 'r', encoding='utf-8') as f:                data = json.load(f)                self.conversation_history = data.get('conversation', [])                # 重建消息历史                self.messages = []                if 'system' in [msg.get('role') for msg in data.get('messages', [])]:                    # 如果有系统消息,保留它                    system_msg = next(msg for msg in data.get('messages', []) if msg.get('role') == 'system')                    self.messages.append(system_msg)                print(f"📂 已加载对话: {filename}")                print(f"📊 包含 {len(self.conversation_history)} 轮对话")        except Exception as e:            print(f"❌ 加载失败: {e}")    def show_history(self):        """显示最近的对话历史"""        if not self.conversation_history:            print("📭 对话历史为空")            return        print(f"\n📜 最近 {min(5, len(self.conversation_history))} 轮对话:")        for i, conv in enumerate(self.conversation_history[-5:], 1):            print(f"\n{i}. [{conv['timestamp'][11:19]}]")            print(f"   你: {conv['user'][:50]}...")            print(f"   AI: {conv['assistant'][:50]}...")# 使用示例if __name__ == "__main__":    # 可以自定义系统提示    system_prompt = "你是一个有帮助的AI助手,请用中文简洁明了地回答问题。"    # 创建对话会话    chat_session = OllamaChatSession(        model_name='deepseek-r1',        system_prompt=system_prompt    )    # 开始对话    chat_session.chat_loop()

2. Hugging Face原生调用

#Hugging Face Transformers :提供丰富的预训练LLM 需要能上外网https://huggingface.cofrom transformers import AutoTokenizer, AutoModelForCausalLM# 加载预训练模型gpt2tokenizer = AutoTokenizer.from_pretrained("gpt2")model = AutoModelForCausalLM.from_pretrained("gpt2")# 写提示词,生成后续文本prompt = "马上要五一了,你有什么旅行推荐"inputs = tokenizer.encode(prompt, return_tensors="pt") #编码outputs = model.generate(inputs["input_ids"], max_length=100, num_return_sequences=1, no_repeat_ngram_size=2)print("gpt生成的文本:", tokenizer.decode(outputs[0], skip_special_tokens=True))# 使用 BERT 进行情感分析from transformers import pipelinesentiment_analysis = pipeline("sentiment-analysis")text = "I do not want to work, i want go home for new year"# 情感分析print("情感分析结果:", sentiment_analysis(text))#使用BERT进行NER(命名实体识别)from transformers import BertTokenizer, BertForTokenClassificationfrom transformers import pipeline# 加载预训练的 BERT 模型和分词器tokenizer = BertTokenizer.from_pretrained('dbmdz/bert-large-cased-finetuned-conll03-english')model = BertForTokenClassification.from_pretrained('dbmdz/bert-large-cased-finetuned-conll03-english')# 创建 NER pipelinenlp_ner = pipeline("ner", model=model, tokenizer=tokenizer)# 示例文本text = "苹果公司总部位于美国加利福尼亚州的库比蒂诺市。"# 进行命名实体识别ner_results = nlp_ner(text)# 输出识别结果for entity in ner_results:    print(f"实体: {entity['word']}, 类别: {entity['entity']}, 分数: {entity['score']:.4f}")

3. Langchain原生调用

from langchain.llms import OpenAIfrom langchain.chains import LLMChainfrom langchain.prompts import PromptTemplate# 初始化LLMllm = OpenAI(temperature=0.7)# 创建提示模板template = "Tell me a {adjective} story about {topic}"prompt = PromptTemplate(input_variables=["adjective", "topic"], template=template)# 创建链chain = LLMChain(llm=llm, prompt=prompt)# 运行链result = chain.run(adjective="funny", topic="robots")print(result)

本地搭建避坑

  1. 1. 硬件要求:新手优先选7B参数量化模型,8G+显存即可流畅运行;13B/70B模型建议16G+显存,或用Ollama自动量化优化
  2. 2. 网络问题:国内用户优先用Hugging Face国内镜像、魔搭社区,避免海外网络卡顿、下载失败
  3. 3. 量化选择:新手不要下原版大模型,直接选量化版,体积缩小70%,性能损失极小,运行更流畅
  4. 4. 数据安全:本地部署全程不要用第三方云端中转接口,确保数据100%留在本地,满足合规要求

结语本地AI早已不是技术极客的专属,7大平台覆盖模型下载、一键部署、Python调用、本地训练全流程,真正实现数据可控、离线可用、自定义定制。无论是个人用Python开发AI工具,还是企业本地训练私有模型,这套方案都能完美满足需求。告别云端限制,把AI的控制权牢牢握在自己手中!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-04 12:29:15 HTTP/2.0 GET : https://f.mffb.com.cn/a/487968.html
  2. 运行时间 : 0.109143s [ 吞吐率:9.16req/s ] 内存消耗:4,498.92kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=40653cfed016536537f6358b4455d846
  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.000697s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000954s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000430s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000317s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000598s ]
  6. SELECT * FROM `set` [ RunTime:0.000304s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000628s ]
  8. SELECT * FROM `article` WHERE `id` = 487968 LIMIT 1 [ RunTime:0.000777s ]
  9. UPDATE `article` SET `lasttime` = 1783139355 WHERE `id` = 487968 [ RunTime:0.012167s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000419s ]
  11. SELECT * FROM `article` WHERE `id` < 487968 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000706s ]
  12. SELECT * FROM `article` WHERE `id` > 487968 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000408s ]
  13. SELECT * FROM `article` WHERE `id` < 487968 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.003823s ]
  14. SELECT * FROM `article` WHERE `id` < 487968 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.000828s ]
  15. SELECT * FROM `article` WHERE `id` < 487968 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000632s ]
0.110695s