From 7cea59579a5235d1fa7933eb56277ae86bcbe2bf Mon Sep 17 00:00:00 2001 From: mzeros Date: Sat, 7 Dec 2024 12:45:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(channel):=20=E6=B7=BB=E5=8A=A0dy=E9=80=9A?= =?UTF-8?q?=E9=81=93=E6=B5=8B=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 dy 方法用于代付通道测试 - 该方法接收 param 参数,进行参数校验后提交到 submit 方法处理- 参数校验包括 account 和 cash 字段 --- app/channel/service/system/Test.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/channel/service/system/Test.php b/app/channel/service/system/Test.php index 8a19ac6..ac1ac4b 100644 --- a/app/channel/service/system/Test.php +++ b/app/channel/service/system/Test.php @@ -130,6 +130,15 @@ class Test extends Core ); return $this->submit($param, $check); } + public function dy($param) + { + $check = array + ( + 'account' => 'account', + 'cash' => 'cash', + ); + return $this->submit($param, $check); + } # 通知处理 主要返回状态 2是成功 3是失败 public function notify($data)