up 供销对接支付系统
This commit is contained in:
parent
a2d65de03e
commit
cc999b400f
@ -73,15 +73,15 @@ class PayController extends BaseApiController
|
|||||||
'order_type' => 101,
|
'order_type' => 101,
|
||||||
'pay_user_role' => $this->userInfo['group_id'],
|
'pay_user_role' => $this->userInfo['group_id'],
|
||||||
'pay_user_info' => $this->userInfo,
|
'pay_user_info' => $this->userInfo,
|
||||||
'business_order_no' => $order['order_no'],
|
'business_order_no' => $order['sn'],
|
||||||
'total_fee' => $order['order_amount'],
|
'total_fee' => $order['order_amount'],
|
||||||
'business_callback_url' => (string)url('pay/notifyApp', [], false, true)
|
'business_callback_url' => (string)url('pay/notifyApp', [], false, true)
|
||||||
];
|
];
|
||||||
$result = PayRequestLogic::getPrePayId($requestData);dd($result);
|
$result = PayRequestLogic::getPrePayId($requestData);
|
||||||
if (false === $result) {
|
if (false === $result) {
|
||||||
return $this->fail(PaymentLogic::getError(), $params);
|
return $this->fail(PaymentLogic::getError(), $params);
|
||||||
}
|
}
|
||||||
return $this->success('', $result);
|
return $this->success('', $result['data']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user