feat(channel): 添加dy通道测试接口

- 新增 dy 方法用于代付通道测试
- 该方法接收 param 参数,进行参数校验后提交到 submit 方法处理- 参数校验包括 account 和 cash 字段
This commit is contained in:
mzeros 2024-12-07 12:45:38 +08:00
parent 3f0d061c76
commit 7cea59579a

View File

@ -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)