From e051c1405ae07718c6163e562bb629c34e91c71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 19 Oct 2026 09:35:17 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=B3=A8=E9=87=8A):=20=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=E5=92=8C=E5=BE=AE=E4=BF=A1=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 背景与目的:应用同步组件后仍有旧行注释文件头及带多余斜线的 PHPDoc 头,需要统一到 CS-Fixer 的文件头模板。 主要改动:清理微信模块重复头,统一 HTTP 与命令行入口的 ThinkAdmin 标题、版权年份、仓库及会员说明。 影响范围与兼容性:仅调整文件头注释和相邻空行,不改变业务逻辑及权限注解。 验证入口及实际结果:最终文件与开发仓库对应组件一致;PHP 语法与差异检查通过,暂存差异已与审核内容核对。本次未运行完整 CS-Fixer 规则。 --- app/wechat/controller/api/Push.php | 12 ------------ app/wechat/service/WechatService.php | 11 ----------- public/index.php | 28 +++++++++++++-------------- think | 29 ++++++++++++++-------------- 4 files changed, 28 insertions(+), 52 deletions(-) diff --git a/app/wechat/controller/api/Push.php b/app/wechat/controller/api/Push.php index 8cbd40fcd..5c8a21905 100644 --- a/app/wechat/controller/api/Push.php +++ b/app/wechat/controller/api/Push.php @@ -1,17 +1,5 @@ -// +---------------------------------------------------------------------- -// | 官方网站: https://thinkadmin.top -// +---------------------------------------------------------------------- -// | 开源协议 ( https://mit-license.org ) -// | 免责声明 ( https://thinkadmin.top/disclaimer ) -// +---------------------------------------------------------------------- -// |+---------------------------------------------------------------------- - declare(strict_types=1); /** * +---------------------------------------------------------------------- diff --git a/app/wechat/service/WechatService.php b/app/wechat/service/WechatService.php index 298143f71..843858f9c 100644 --- a/app/wechat/service/WechatService.php +++ b/app/wechat/service/WechatService.php @@ -17,17 +17,6 @@ declare(strict_types=1); * | github 代码仓库:https://github.com/zoujingli/ThinkAdmin * +---------------------------------------------------------------------- */ -// | Wechat Plugin for ThinkAdmin -// +---------------------------------------------------------------------- -// | 版权所有 2014~2025 Anyon -// +---------------------------------------------------------------------- -// | 官方网站: https://thinkadmin.top -// +---------------------------------------------------------------------- -// | 开源协议 ( https://mit-license.org ) -// | 免责声明 ( https://thinkadmin.top/disclaimer ) -// +---------------------------------------------------------------------- -// || github 代码仓库:https://github.com/zoujingli/think-plugs-wechat -// +---------------------------------------------------------------------- namespace app\wechat\service; diff --git a/public/index.php b/public/index.php index 8e17dcd85..d8d08c97f 100644 --- a/public/index.php +++ b/public/index.php @@ -2,20 +2,20 @@ declare(strict_types=1); /** - * // +---------------------------------------------------------------------- - * // | Payment Plugin for ThinkAdmin - * // +---------------------------------------------------------------------- - * // | 版权所有 2014~2026 ThinkAdmin [ thinkadmin.top ] - * // +---------------------------------------------------------------------- - * // | 官方网站: https://thinkadmin.top - * // +---------------------------------------------------------------------- - * // | 开源协议 ( https://mit-license.org ) - * // | 免责声明 ( https://thinkadmin.top/disclaimer ) - * // | 会员免费 ( https://thinkadmin.top/vip-introduce ) - * // +---------------------------------------------------------------------- - * // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin - * // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin - * // +---------------------------------------------------------------------- + * +---------------------------------------------------------------------- + * | ThinkAdmin Plugin for ThinkAdmin + * +---------------------------------------------------------------------- + * | 版权所有 2014~2026 ThinkAdmin [ thinkadmin.top ] + * +---------------------------------------------------------------------- + * | 官方网站: https://thinkadmin.top + * +---------------------------------------------------------------------- + * | 开源协议 ( https://mit-license.org ) + * | 免责声明 ( https://thinkadmin.top/disclaimer ) + * | 会员特权 ( https://thinkadmin.top/vip-introduce ) + * +---------------------------------------------------------------------- + * | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin + * | github 代码仓库:https://github.com/zoujingli/ThinkAdmin + * +---------------------------------------------------------------------- */ use think\admin\service\RuntimeService; diff --git a/think b/think index b9110a48e..d085513d4 100644 --- a/think +++ b/think @@ -1,21 +1,20 @@ #!/usr/bin/env php