mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-08 04:48:10 +08:00
Replace header text "Payment Plugin for ThinkAdmin" with "ThinkAdmin Plugin for ThinkAdmin" across project files (configs, controllers, plugins, php-cs-fixer, etc.) to unify branding. Add a new composer script "rewrite-model" to regenerate models and run php-cs-fixer. Also apply a minor newline fix in .copilot-commit-message-instructions.md.
53 lines
2.3 KiB
PHP
53 lines
2.3 KiB
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
/**
|
||
* +----------------------------------------------------------------------
|
||
* | 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
|
||
* +----------------------------------------------------------------------
|
||
*/
|
||
// | Worker Plugin for ThinkAdmin
|
||
// +----------------------------------------------------------------------
|
||
// | 版权所有 2014~2025 ThinkAdmin [ thinkadmin.top ]
|
||
// +----------------------------------------------------------------------
|
||
// | 官方网站: https://thinkadmin.top
|
||
// +----------------------------------------------------------------------
|
||
// | 免责声明 ( https://thinkadmin.top/disclaimer )
|
||
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
// | 配置参考 ( https://www.workerman.net/doc/workerman/worker/properties.html )
|
||
// +----------------------------------------------------------------------
|
||
// | gitee 代码仓库:https://gitee.com/zoujingli/think-plugs-worker
|
||
// | github 代码仓库:https://github.com/zoujingli/think-plugs-worker
|
||
// +----------------------------------------------------------------------
|
||
// | 配置参数参数:https://www.workerman.net/doc/workerman/worker/properties.html
|
||
// +----------------------------------------------------------------------
|
||
|
||
return [
|
||
// 服务监听地址
|
||
'host' => '127.0.0.1',
|
||
// 服务监听端口
|
||
'port' => 2346,
|
||
// 套接字上下文选项
|
||
'context' => [],
|
||
// 高级自定义服务类
|
||
'classes' => '',
|
||
// 消息请求回调处理
|
||
'callable' => null,
|
||
// 服务进程参数配置
|
||
'worker' => [
|
||
'name' => 'ThinkAdmin',
|
||
'count' => 4,
|
||
],
|
||
];
|