From dc1ee1a2269cffb62ff84992da22523834df11da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=80=E6=9C=AF=E8=80=81=E8=83=A1?= <1094551889@qq.com> Date: Tue, 18 Feb 2025 13:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=94=AF=E4=BB=98=E5=AE=9D?= =?UTF-8?q?=E8=B4=A6=E5=8D=95=E6=9F=A5=E8=AF=A2=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- app/controller/InstallController.php | 2 +- config/extend/payplugin.php | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 292a32f..52e0b6e 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -APP_DEBUG = false +APP_DEBUG = true DB_TYPE = mysql DB_HOST = 127.0.0.1 diff --git a/app/controller/InstallController.php b/app/controller/InstallController.php index ef324c6..f5e780b 100644 --- a/app/controller/InstallController.php +++ b/app/controller/InstallController.php @@ -149,7 +149,7 @@ EOT; `password` varchar(255) NOT NULL DEFAULT '' COMMENT '密码', `state` tinyint(4) NOT NULL DEFAULT '1' COMMENT '启用', `pattern` tinyint(4) NOT NULL DEFAULT '1' COMMENT '账号监听模式', - `params` varchar(255) NOT NULL DEFAULT '' COMMENT '自定义查询', + `params` text NOT NULL DEFAULT '' COMMENT '自定义查询', `delete_time` timestamp NULL DEFAULT NULL COMMENT '软删除', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;"; diff --git a/config/extend/payplugin.php b/config/extend/payplugin.php index 205112e..0b0ccdb 100644 --- a/config/extend/payplugin.php +++ b/config/extend/payplugin.php @@ -51,4 +51,17 @@ return array ( 'type' => '30', ), ), + 3 => + array ( + 'platform' => 'alipayb', + 'name' => '支付宝账单', + 'class_name' => 'AliPayb', + 'price' => '99.00', + 'describe' => '支付宝账单查询回调,免挂机,稳定不掉线', + 'website' => 'https://open.alipay.com/', + 'state' => 1, + 'query' => + array ( + ), + ), );