From 416651ab1138d5fa83f5331e39d97dbadb042703 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 8 May 2024 14:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAccountService.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index 500256f..7f54f16 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -306,7 +306,7 @@ class DoctorAccountService extends BaseService $amount_total = floor($doctor_account['balance_account'] * 100) / 100; } - // 获取可提现订单列表 + /* // 获取可提现订单列表 $orders = Order:: getDoctorWithdrawalOrderList($params, $user_doctor['is_platform_deep_cooperation'], ['*']); if (empty($orders)){ // 无订单,账户余额强制赋0; @@ -339,7 +339,7 @@ class DoctorAccountService extends BaseService $diff_amount_total = abs($amount_total - $expected_amount_total); if ($diff_amount_total >= 1){ return fail(HttpEnumCode::HTTP_ERROR, "提现金额错误"); - } + }*/ // 计算医生个人所得税 $income_tax = $this->computeIndividualIncomeTax($amount_total); @@ -353,7 +353,6 @@ class DoctorAccountService extends BaseService $result['amount_total'] = $amount_total; // 账户余额 $result['withdrawal_amount'] = $withdrawal_amount; // 提现金额 $result['income_tax'] = $income_tax; // 个人所得税 - $result['order_nos'] = $order_nos; // 订单号 return success($result); }