From 92d2855a2470ac511d71ed1e1a1c64fd20e55a00 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 10 Apr 2023 20:31:49 +0800 Subject: [PATCH] 1 --- app/Services/DoctorAccountService.php | 8 ++++---- app/Services/InquiryService.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index c25e0ef..b3adecb 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -61,7 +61,7 @@ class DoctorAccountService extends BaseService if (!empty($doctor_account_days)) { foreach ($doctor_account_days as $doctor_account_day) { $data = array(); - $data['total_amount'] = ceil($doctor_account_day['total_amount'] * 100) / 100; + $data['total_amount'] = floor($doctor_account_day['total_amount'] * 100) / 100; $data['month'] = $doctor_account_day['month']; $data['day'] = $doctor_account_day['day']; $bill[] = $data; @@ -70,9 +70,9 @@ class DoctorAccountService extends BaseService } $result = array(); - $result['balance_account'] = ceil($balance_account * 0.75 * 100) / 100;; // 账户余额 - $result['amount_total_month'] = ceil($amount_total_month * 0.75 * 100) / 100; // 月余额 - $result['withdrawal_amount_month'] = ceil($withdrawal_amount_month * 0.75 * 100) / 100; // 月已提现金额 + $result['balance_account'] = floor($balance_account * 0.75 * 100) / 100;; // 账户余额 + $result['amount_total_month'] = floor($amount_total_month * 0.75 * 100) / 100; // 月余额 + $result['withdrawal_amount_month'] = floor($withdrawal_amount_month * 0.75 * 100) / 100; // 月已提现金额 $result['bill'] = $bill; // 账单 return success($result); diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index 86cb2d2..1855f12 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -263,7 +263,7 @@ class InquiryService extends BaseService - // 增加至取消订单延迟队列 + // 增加至未支付取消订单延迟队列 $data = array(); $data['order_no'] = $order_inquiry['inquiry_no']; $data['order_type'] = 1;