mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修正支付记录类型
This commit is contained in:
parent
54e8a74fbc
commit
269fdaa2f9
@ -97,7 +97,7 @@ class JoinPaymentService extends PaymentService
|
||||
if (is_array($result) && isset($result['ra_Code']) && intval($result['ra_Code']) === 100) {
|
||||
// 创建支付记录
|
||||
$this->app->db->name('DataPaymentItem')->insert([
|
||||
'order_no' => $orderNo, 'order_name' => $payTitle, 'order_amount' => $payAmount, 'payment_type' => $type,
|
||||
'order_no' => $orderNo, 'order_name' => $payTitle, 'order_amount' => $payAmount, 'payment_type' => static::$type,
|
||||
]);
|
||||
// 返回支付参数
|
||||
return json_decode($result['rc_Result'], true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user