diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index b3adecb..b340746 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -70,9 +70,9 @@ class DoctorAccountService extends BaseService } $result = array(); - $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['balance_account'] = floor($balance_account * 100) / 100;; // 账户余额 + $result['amount_total_month'] = floor($amount_total_month * 100) / 100; // 月余额 + $result['withdrawal_amount_month'] = floor($withdrawal_amount_month * 100) / 100; // 月已提现金额 $result['bill'] = $bill; // 账单 return success($result); @@ -123,7 +123,7 @@ class DoctorAccountService extends BaseService $order_inquiry = OrderInquiry:: getDoctorDateOrderInquiryPage($params, $reception_time, $fields,$page,$per_page); if (!empty($order_inquiry['data'])) { foreach ($order_inquiry['data'] as &$item) { - $item['amount_total'] = ceil($item['total_amount'] * 0.75 * 100) / 100; + $item['amount_total'] = floor($item['total_amount'] * 0.75 * 100) / 100; } } @@ -264,7 +264,7 @@ class DoctorAccountService extends BaseService $order_inquiry = OrderInquiry:: getDoctorOrderInquiryPage($params, $fields,$page,$per_page); if (!empty($order_inquiry['data'])) { foreach ($order_inquiry['data'] as &$item) { - $item['expected_amount_total'] = ceil($item['amount_total'] * 0.75 * 100) / 100; + $item['expected_amount_total'] = floor($item['amount_total'] * 0.75 * 100) / 100; } }