From b085c9cefa60c5f8712a16cbc03f31e2c60b97ef Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Wed, 11 Dec 2024 15:35:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=87=E6=97=AD=E5=88=BA=E7=BB=A3=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Billions.php | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/app/api/controller/Billions.php b/app/api/controller/Billions.php index 7b0fb2f3..a76fbce4 100755 --- a/app/api/controller/Billions.php +++ b/app/api/controller/Billions.php @@ -324,19 +324,20 @@ class Billions extends Api return JsonServer::error('返补余额增加失败'); } } - $billions = new BillionsModel(); - $type = "billions_use"; - $order['id'] = 0; - // 6为提前消费金额 - $order['type'] = 6; - $order['order_sn'] = "billions".time().$result['user_id']; - $order['order_amount'] = $money; - $billions_result = $billions->billions($order,$result['user_id'],$type); - if($billions_result){ - return JsonServer::success('提现成功'); - }else{ - return JsonServer::error('参与返补失败'); - } +// $billions = new BillionsModel(); +// $type = "billions_use"; +// $order['id'] = 0; +// // 6为提前消费金额 +// $order['type'] = 6; +// $order['order_sn'] = "billions".time().$result['user_id']; +// $order['order_amount'] = $money; +// $billions_result = $billions->billions($order,$result['user_id'],$type); +// if($billions_result){ +// return JsonServer::success('提现成功'); +// }else{ +// return JsonServer::error('参与返补失败'); +// } + return JsonServer::success('提现成功'); }else{ return JsonServer::error('提现失败'); }