当前位置:首页>php>PHP微信模板消息推送服务 开发的微信测试公众号模板消息推送服务 极简且免费 测试公众号每天有10万次额度

PHP微信模板消息推送服务 开发的微信测试公众号模板消息推送服务 极简且免费 测试公众号每天有10万次额度

  • 2026-01-31 05:42:56
PHP微信模板消息推送服务 开发的微信测试公众号模板消息推送服务 极简且免费 测试公众号每天有10万次额度

一个基于PHP开发的微信模板消息推送服务支持PHP5.6+版本。开源地址:https://gitee.com/web/php-wxpush

功能特性

  • ✅ 支持GET和POST请求方式

  • ✅ 支持JSON和表单参数解析

  • ✅ 微信AccessToken自动获取与缓存

  • ✅ 支持多appid独立缓存

  • ✅ 自动处理AccessToken过期

  • ✅ 消息详情页面展示

  • ✅ 动态粒子背景效果

  • ✅ 响应式设计,适配各种设备

  • ✅ 兼容PHP5.6+版本

  • ✅ 支持自定义时区

  • ✅ 完整的错误处理机制

⚠️ 部署条件

  • 微信公众平台接口测试帐号申请  :https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login

  • 获取appid 、appsecret 

  • 关注测试公众号,获取userid(微信号),新增测试模板(注意模版内容填写格式 内容: {{content.DATA}}) 获取template_id(模板ID) 

  • 将以上获取到的参数代入下面使用即可 (我的手机出不来,下面的弹框只能到公众号里才能看到。可能和手机有关系,也可能是微信改版了)

体验接口权限

接口
官方文档
每日调用上限/次
获取access_token
https://developers.weixin.qq.com/doc/service/api/base/api_getstableaccesstoken.html
2000
模板消息(业务通知)
https://mp.weixin.qq.com/debug/cgi-bin/readtmpl?t=tmplmsg/faq_tmpl
100000

安装部署

环境要求

  • PHP 5.6 或更高版本

  • cURL 扩展

  • JSON 扩展

部署步骤

下载项目文件

git clone https://gitee.com/web/php-wxpush.gitcd php-wxpush

配置默认参数和API密钥

    • 编辑 config.php 文件,配置默认参数和API密钥

    • 可以根据不同appid配置不同的默认参数

    • 可以配置API密钥,增强API调用安全性

    • 示例配置:

return [    // 默认模板配置    'default' => [        'template_id' => 'your_template_id',        'title' => '默认标题',        'content' => '默认内容',        'base_url' => 'https://your-domain.com',        'tz' => 'Asia/Shanghai',    ],    // API密钥配置(可选,用于增强API安全性)    // 默认为空数组,不启用API密钥验证    // 配置后,调用/wxsend接口必须传递有效的apikey参数    'apikeys' => [        'your_api_key_1',        'your_api_key_2',    ],    // 按appid配置不同的默认参数    'appids' => [        'your_appid_here' => [            'template_id' => 'your_template_id',            'title' => '应用专属标题',            'content' => '应用专属内容',            'base_url' => 'https://your-domain.com',            'tz' => 'Asia/Shanghai',        ],    ],    // 系统配置    'system' => [        'cache_dir' => './cache/',        'timezone' => 'Asia/Shanghai',    ],];

部署到Web服务器

    • 将项目文件上传到Web服务器的根目录或子目录

    • 确保Web服务器配置正确,能够解析PHP文件

    • 确保缓存目录有写入权限

配置Web服务器

    • Apache:确保.htaccess文件配置正确(可选)

    • Nginx:示例配置

server {    listen 80;    server_name your-domain.com;    root /path/to/php-wxpush;    index index.php;    location / {        try_files $uri $uri/ /index.php$is_args$args;    }    location ~ \.php$ {        fastcgi_pass 127.0.0.1:9000;        fastcgi_index index.php;        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;        include fastcgi_params;    }}

测试域名(仅供测试,请勿用于生效环境)

https://wxpush.bitefu.net/wxsend

使用方法

1. 通过HTTP请求使用

发送微信模板消息

GET请求(完整参数)

http://your-domain/index.php/wxsend?appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&title=测试标题&content=测试内容

GET请求(使用默认参数)

http://your-domain/index.php/wxsend?appid=your_appid&secret=your_secret&userid=your_userid

GET请求(使用API密钥)

http://your-domain/index.php/wxsend?appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&apikey=your_api_key

POST请求(JSON,完整参数)

curl -X POST -H "Content-Type: application/json" -d '{     "appid": "your_appid",     "secret": "your_secret",     "userid": "your_userid",     "template_id": "your_template_id",     "title": "测试标题",     "content": "测试内容" }' http://your-domain/index.php/wxsend

POST请求(JSON,使用默认参数)

curl -X POST -H "Content-Type: application/json" -d '{     "appid": "your_appid",     "secret": "your_secret",     "userid": "your_userid" }' http://your-domain/index.php/wxsend

POST请求(JSON,使用API密钥)

curl -X POST -H "Content-Type: application/json" -d '{     "appid": "your_appid",     "secret": "your_secret",     "userid": "your_userid",     "template_id": "your_template_id",     "apikey": "your_api_key" }' http://your-domain/index.php/wxsend

POST请求(表单,完整参数)

curl -X POST -d "appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&title=测试标题&content=测试内容" http://your-domain/index.php/wxsend

POST请求(表单,使用默认参数)

curl -X POST -d "appid=your_appid&secret=your_secret&userid=your_userid" http://your-domain/index.php/wxsend

POST请求(表单,使用API密钥)

curl -X POST -d "appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&apikey=your_api_key" http://your-domain/index.php/wxsend
ThinkPHP伪静态模式

GET请求(使用s参数)

http://your-domain/index.php?s=/wxsend&appid=your_appid&secret=your_secret&userid=your_userid

GET请求(使用s参数和API密钥)

http://your-domain/index.php?s=/wxsend&appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&apikey=your_api_key

POST请求(JSON,使用s参数)

curl -X POST -H "Content-Type: application/json" -d '{"appid":"your_appid","secret":"your_secret","userid":"your_userid"}' "http://your-domain/index.php?s=/wxsend"

POST请求(JSON,使用s参数和API密钥)

curl -X POST -H "Content-Type: application/json" -d '{"appid":"your_appid","secret":"your_secret","userid":"your_userid","template_id":"your_template_id","apikey":"your_api_key"}' "http://your-domain/index.php?s=/wxsend"

POST请求(表单,使用s参数)

curl -X POST -d "appid=your_appid&secret=your_secret&userid=your_userid" "http://your-domain/index.php?s=/wxsend"

POST请求(表单,使用s参数和API密钥)

curl -X POST -d "appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&apikey=your_api_key" "http://your-domain/index.php?s=/wxsend"

查看消息详情

标准模式

http://your-domain/index.php/detail?title=测试标题&message=测试内容&date=2023-01-01%2012:00:00

ThinkPHP伪静态模式

http://your-domain/index.php?s=/detail&title=测试标题&message=测试内容&date=2023-01-01%2012:00:00

2. 作为PHP类使用

// 引入微信推送类 require_once 'wxpush.php'// 实例化微信推送类 $wxPush new WxPush(); // 处理请求 $wxPush->handleRequest();

API文档

1. 发送微信模板消息

接口地址/wxsend

请求方式:GET/POST

请求参数

参数名
类型
必选
描述
默认值
appid
string
微信AppID
secret
string
微信AppSecret
userid
string
接收消息的用户openid
template_id
string
模板消息ID
apikey
string
API密钥,当config.php中配置了apikeys时必填
title
string
消息标题
测试标题
content
string
消息内容
测试内容
base_url
string
详情页基础URL
当前域名
tz
string
时区
Asia/Shanghai
template_data
array
完整的模板数据数组,格式:{"keyword1":{"value":"值1"},"keyword2":{"value":"值2"}}
template_params
array
模板参数数组,格式:{"keyword1":{"value":"值1"},"keyword2":{"value":"值2"}}
template_*
mixed
单个模板参数,如template_keyword1=值1,会转换为{"keyword1":{"value":"值1"}}

返回结果

{"errcode": 0,"errmsg": "ok"}

2. 查看消息详情

接口地址/detail

请求方式:GET

请求参数

参数名
类型
必选
描述
默认值
title
string
消息标题
消息推送
message
string
消息内容
无告警信息
date
string
发送时间
无时间信息

返回结果:HTML页面

3. 服务状态

接口地址/

请求方式:GET

返回结果

{"message": "php-wxpush is running..."}

示例代码

1. 直接调用类文件示例

完整参数示例

<?php// 直接调用WxPush类发送消息require_once 'wxpush.php';// 初始化微信推送类$wxPush new WxPush();// 准备发送参数$params = [    'appid' => 'your_appid',    'secret' => 'your_secret',    'userid' => 'your_userid',    'template_id' => 'your_template_id',    'title' => '测试标题',    'content' => '测试内容',    'base_url' => 'https://your-domain.com'// 可选,默认使用当前域名    'tz' => 'Asia/Shanghai' // 可选,默认时区];try {    // 直接调用public方法发送消息(推荐方式)    $result $wxPush->sendMessage($params);    echo "发送结果:\n";    print_r($result);catch(Exception $e) {    echo "发送失败:" . $e->getMessage() . "\n";}

使用自定义模板参数示例

<?php// 直接调用WxPush类发送消息(使用自定义模板参数)require_once 'wxpush.php';// 初始化微信推送类$wxPush new WxPush();// 方式1:使用template_data参数(完整的模板数据)$params1 = [    'appid' => 'your_appid',    'secret' => 'your_secret',    'userid' => 'your_userid',    'template_id' => 'your_template_id',    'template_data' => [        'keyword1' => ['value' => '订单号:123456'],        'keyword2' => ['value' => '支付金额:100元'],        'keyword3' => ['value' => '支付时间:2023-01-01 12:00:00'],        'keyword4' => ['value' => '支付状态:成功']    ]];// 方式2:使用template_params参数(数组形式的模板参数)$params2 = [    'appid' => 'your_appid',    'secret' => 'your_secret',    'userid' => 'your_userid',    'template_id' => 'your_template_id',    'template_params' => [        'keyword1' => ['value' => '订单号:123456'],        'keyword2' => ['value' => '支付金额:100元']    ]];// 方式3:使用单个template_*参数$params3 = [    'appid' => 'your_appid',    'secret' => 'your_secret',    'userid' => 'your_userid',    'template_id' => 'your_template_id',    'title' => '订单通知',    'content' => '您的订单已支付成功',    'template_keyword1' => '订单号:123456',    'template_keyword2' => '支付金额:100元',    'template_keyword3' => ['value' => '支付时间:2023-01-01 12:00:00''color' => '#FF0000']];try {    // 使用方式1发送消息    $result $wxPush->sendMessage($params1);    echo "发送结果:\n";    print_r($result);catch(Exception $e) {    echo "发送失败:" . $e->getMessage() . "\n";}

使用API密钥示例

<?php// 直接调用WxPush类发送消息(使用API密钥)require_once 'wxpush.php';// 初始化微信推送类$wxPush new WxPush();// 当config.php中配置了apikeys时,必须传递apikey参数$params = [    'appid' => 'your_appid',    'secret' => 'your_secret',    'userid' => 'your_userid',    'template_id' => 'your_template_id',    'apikey' => 'your_api_key'// API密钥,与config.php中配置的apikeys数组中的某个值匹配    'title' => '测试标题',    'content' => '测试内容'];try {    // 发送消息    $result $wxPush->sendMessage($params);    echo "发送结果:\n";    print_r($result);catch(Exception $e) {    echo "发送失败:" . $e->getMessage() . "\n";}

2. PHP HTTP请求示例

<?php// 发送HTTP请求示例functionsendWechatMessage($params){    $url = 'http://your-domain/index.php/wxsend';    $ch = curl_init();    curl_setopt($ch, CURLOPT_URL, $url);    curl_setopt($ch, CURLOPT_POST, true);    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params));    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);    curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);    $response = curl_exec($ch);    curl_close($ch);return json_decode($response, true);}// 使用示例$params = ['appid' => 'your_appid','secret' => 'your_secret','userid' => 'your_userid','template_id' => 'your_template_id','title' => '测试标题','content' => '测试内容'];$result = sendWechatMessage($params);print_r($result);

3. Python示例

import requestsimport jsonurl = 'http://your-domain/index.php/wxsend'params = {'appid''your_appid','secret''your_secret','userid''your_userid','template_id''your_template_id','title''测试标题','content''测试内容'}response = requests.post(url, data=json.dumps(params), headers={'Content-Type''application/json'})print(response.json())

4. Shell示例

# GET请求curl "http://your-domain/index.php/wxsend?appid=your_appid&secret=your_secret&userid=your_userid&template_id=your_template_id&title=测试标题&content=测试内容"# POST JSON请求curl -X POST -H "Content-Type: application/json" -d '{"appid":"your_appid","secret":"your_secret","userid":"your_userid","template_id":"your_template_id","title":"测试标题","content":"测试内容"}' http://your-domain/index.php/wxsend

注意事项

  1. 微信模板消息配置

    • 需要在微信公众平台中配置好模板消息

    • 模板消息必须包含titlecontent字段

    • 确保模板ID与实际配置一致

  2. AccessToken缓存

    • AccessToken默认缓存7000秒(约1小时56分钟)

    • 缓存文件存储在./cache/目录下

    • 确保缓存目录有写入权限

    • 每个appid独立缓存,互不影响

  3. 错误处理

    • 接口返回的错误码与微信官方保持一致

    • 详细错误信息可查看服务器日志

  4. 安全性

    • 建议在生产环境中使用HTTPS协议

    • 不要将AppSecret泄露给第三方

    • 建议设置IP白名单限制访问

  5. 性能优化

    • 对于高并发场景,建议使用Redis等内存缓存替代文件缓存

    • 可以根据实际情况调整缓存过期时间

许可证

MIT License

更新日志

v1.0.0 (2026-01-23)

  • 初始版本

  • 实现微信模板消息推送功能

  • 支持GET和POST请求

  • 实现AccessToken缓存机制

  • 提供消息详情页面

  • 兼容PHP5.6+版本

贡献

欢迎提交Issue和Pull Request!

联系方式

如有问题或建议,请通过以下方式联系:

  • Gitee: web/php-wxpush

参考项目

本项目参考了以下优秀项目:

  • go-wxpush - Go语言实现的微信模板消息推送服务

感谢

感谢原项目作者的开源贡献,本项目是基于 go-wxpush 项目的PHP实现,保持了与原项目完全兼容的API功能。


PHP微信模板消息推送服务 - 简单、高效、可靠的微信消息推送解决方案!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-07 20:14:45 HTTP/2.0 GET : https://f.mffb.com.cn/a/468463.html
  2. 运行时间 : 0.121994s [ 吞吐率:8.20req/s ] 内存消耗:4,712.93kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=e1090a5d390286ab96e69e13d2d455af
  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.000905s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001359s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000620s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000545s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001147s ]
  6. SELECT * FROM `set` [ RunTime:0.000450s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001330s ]
  8. SELECT * FROM `article` WHERE `id` = 468463 LIMIT 1 [ RunTime:0.012609s ]
  9. UPDATE `article` SET `lasttime` = 1770466485 WHERE `id` = 468463 [ RunTime:0.011773s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 64 LIMIT 1 [ RunTime:0.000484s ]
  11. SELECT * FROM `article` WHERE `id` < 468463 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001079s ]
  12. SELECT * FROM `article` WHERE `id` > 468463 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000930s ]
  13. SELECT * FROM `article` WHERE `id` < 468463 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001459s ]
  14. SELECT * FROM `article` WHERE `id` < 468463 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.001848s ]
  15. SELECT * FROM `article` WHERE `id` < 468463 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.003867s ]
0.125204s