新增发起提现接口

This commit is contained in:
2023-04-08 10:16:57 +08:00
parent ac5467b951
commit cde4b9b664
6 changed files with 222 additions and 14 deletions
+2 -2
View File
@@ -557,14 +557,14 @@ class UserDoctorService extends BaseService
$DoctorAccountService = new DoctorAccountService();
$balance_account = $DoctorAccountService->getDoctorBalanceAccount($user_info['client_user_id']);
if ($balance_account > 0) {
$balance_account = round($balance_account,2);
$balance_account = floor($balance_account * 100) / 100;
}
// 获取医生当日接诊的订单金额
$InquiryService = new InquiryService();
$estimate_income = $InquiryService->getDoctorDayAmountTotal($user_info['client_user_id'], date('Y-m-d', time()));
if (!empty($estimate_income)) {
$estimate_income = round($estimate_income,2);
$estimate_income = floor($estimate_income * 100) / 100;
}
$user_doctor['avatar'] = addAliyunOssWebsite($user_doctor['avatar']);