|
|
|
@ -102,4 +102,53 @@ const STATUS_APPLY_FAILED = 'APPLY_FAILED'; // 申请成功
|
|
|
|
|
const STATUS_REFUND = 'REFUND'; // 已退款
|
|
|
|
|
const STATUS_PROCESS = 'PROCESS'; // 处理中
|
|
|
|
|
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: 委托授权提现)
|