万旭刺绣相关改动

This commit is contained in:
xucong 2024-12-11 15:35:23 +08:00
parent b142a51fe5
commit b085c9cefa

@ -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('提现失败');
}