增加回调函数不需要经过权限认证
This commit is contained in:
parent
0eae352872
commit
9083474f86
|
@ -25,6 +25,7 @@ use support\Log;
|
||||||
|
|
||||||
class WithdrawController
|
class WithdrawController
|
||||||
{
|
{
|
||||||
|
protected $noNeedLogin = ['callback'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Apidoc\Title("1.0 查询当前用户提现订单")
|
* @Apidoc\Title("1.0 查询当前用户提现订单")
|
||||||
|
@ -126,7 +127,7 @@ class WithdrawController
|
||||||
|
|
||||||
//获取刚刚存入数据库的id(订单号)
|
//获取刚刚存入数据库的id(订单号)
|
||||||
$orderId = $withdraw->id;
|
$orderId = $withdraw->id;
|
||||||
$res = PaymentNew::pushMoney($money, $userbank->bank_username, $userbank->account, $userbank->bank_name,$orderId);
|
$res = PaymentNew::pushMoney($money, $userbank->bank_username, $userbank->account, $userbank->bank_name, $orderId);
|
||||||
// //逻辑错误需要修改
|
// //逻辑错误需要修改
|
||||||
if ($res['Success']) {
|
if ($res['Success']) {
|
||||||
$withdraw->update([
|
$withdraw->update([
|
||||||
|
@ -161,6 +162,5 @@ class WithdrawController
|
||||||
'status_text' => '支付失败: ' . $failedMessage,
|
'status_text' => '支付失败: ' . $failedMessage,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue