修改bug

dev
ljl 1 year ago
parent 447d9eb1ad
commit 95b9b5ea9e

@ -46,7 +46,7 @@ class MineCommand extends HyperfCommand
public function handle(): void public function handle(): void
{ {
$this->unbindWithdrawEntrust(); $this->transferWithdraw();
return; return;
$this->getBalance(); $this->getBalance();
$this->getRequestData(); $this->getRequestData();

@ -103,3 +103,52 @@ const STATUS_REFUND = 'REFUND'; // 已退款
const STATUS_PROCESS = 'PROCESS'; // 处理中 const STATUS_PROCESS = 'PROCESS'; // 处理中
const STATUS_SUCCESS = 'SUCCESS'; // 成功 const STATUS_SUCCESS = 'SUCCESS'; // 成功
const STATUS_FAILED = 'FAILED'; // 失败 const STATUS_FAILED = 'FAILED'; // 失败
/**
* 委托提现授权
* url: payment/sign-withdraw-entrust
*
*/
$data = [
'userId' => 'ELF1990',
];
/*
同步返回结果data
{
"url": "xxxxxxxx",
}
*/
/**
* 解除委托提现授权
* url: payment/unbind-withdraw-entrust
*
*/
$data = [
'userId' => 'ELF1990',
];
/*
同步返回结果data
{
"url": "xxxxxxxx",
}
*/
/**
* 委托提现授权结果查询
* url: payment/query-sign-entrust
*
*/
$data = [
'userId' => 'ELF1990',
];
/*
同步返回结果data
{
"result": true,
}
*/
// 委托提现接口同提现接口: payment/withdraw
// 新增参数 withdrawType (normal: 普通提现(默认) entrust: 委托授权提现)
Loading…
Cancel
Save