From 36be468ac6832ddf8838a1ff100ffec41569cd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 14 Feb 2025 15:16:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/order/controller/CashOutAdmin.php | 38 +++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/app/order/controller/CashOutAdmin.php b/app/order/controller/CashOutAdmin.php index 7882e78..8f2156d 100644 --- a/app/order/controller/CashOutAdmin.php +++ b/app/order/controller/CashOutAdmin.php @@ -102,26 +102,26 @@ class CashOutAdmin extends Controller $cash_data = $cash->getOne(['id' => $id]); if ($data['status'] == '1') { - $param = [ - 'out_biz_no' => '2020' . time() . rand(10000, 99999), - 'trans_amount' => $cash_data['money'], - 'product_code' => 'TRANS_ACCOUNT_NO_PWD', - 'biz_scene' => 'DIRECT_TRANSFER', - 'payee_info' => [ - 'identity' => $cash_data['alipay_account'], - 'identity_type' => 'ALIPAY_LOGON_ID', - 'name' => $cash_data['real_name'], - ], - 'remark' => '聚IP提现-会员' . $cash_data['username'] . '-' . $cash_data['money'] . '元', - ]; - $result = Alipay::transfer($param); - if ($result) { - $data['cash_no'] = $result->alipay_fund_trans_uni_transfer_response->out_biz_no; - $data['alipay_no'] = $result->alipay_fund_trans_uni_transfer_response->order_id; + // $param = [ + // 'out_biz_no' => '2020' . time() . rand(10000, 99999), + // 'trans_amount' => $cash_data['money'], + // 'product_code' => 'TRANS_ACCOUNT_NO_PWD', + // 'biz_scene' => 'DIRECT_TRANSFER', + // 'payee_info' => [ + // 'identity' => $cash_data['alipay_account'], + // 'identity_type' => 'ALIPAY_LOGON_ID', + // 'name' => $cash_data['real_name'], + // ], + // 'remark' => '聚IP提现-会员' . $cash_data['username'] . '-' . $cash_data['money'] . '元', + // ]; + // $result = Alipay::transfer($param); + // if ($result) { + // $data['cash_no'] = $result->alipay_fund_trans_uni_transfer_response->out_biz_no; + // $data['alipay_no'] = $result->alipay_fund_trans_uni_transfer_response->order_id; + // $data['status'] = 1; + // } else { $data['status'] = 1; - } else { - $data['status'] = 1; - } + // } } else if ($data['status'] == '2') { if ($cash_data['is_agent'] != 1){ $user_model = new UserModel;