This commit is contained in:
wucongxing 2023-08-04 09:41:47 +08:00
parent 69808dbab1
commit ee35d26821
2 changed files with 3 additions and 1 deletions

View File

@ -411,6 +411,8 @@ class DetectionService extends BaseService
$data['detection_pay_channel'] = $detection_pay_channel; // 支付渠道1:小程序支付 2:微信扫码支付 3:模拟支付) $data['detection_pay_channel'] = $detection_pay_channel; // 支付渠道1:小程序支付 2:微信扫码支付 3:模拟支付)
$data['detection_no'] = "D" . $generator->generate(); // 系统订单编号 $data['detection_no'] = "D" . $generator->generate(); // 系统订单编号
$data['amount_total'] = $detection_project['detection_project_price']; // 订单金额 $data['amount_total'] = $detection_project['detection_project_price']; // 订单金额
$data['coupon_amount_total'] = 0;// 优惠卷总金额
$data['payment_amount_total'] = $detection_project['detection_project_price'];// 实际付款金额
$data['patient_name'] = $patient_family['card_name'];// 患者姓名-就诊人 $data['patient_name'] = $patient_family['card_name'];// 患者姓名-就诊人
$data['patient_name_mask'] = $patient_family['card_name_mask'];// 患者姓名-就诊人(掩码) $data['patient_name_mask'] = $patient_family['card_name_mask'];// 患者姓名-就诊人(掩码)
$data['patient_sex'] = $patient_family['sex'];// 患者性别-就诊人0:未知 1:男 2:女) $data['patient_sex'] = $patient_family['sex'];// 患者性别-就诊人0:未知 1:男 2:女)

View File

@ -854,7 +854,7 @@ class PatientOrderService extends BaseService
$result['payment_amount_total'] = $order_detection['amount_total']; // 实际订单金额 $result['payment_amount_total'] = $order_detection['amount_total']; // 实际订单金额
$result['coupon_amount_total'] = 0; // 优惠金额 $result['coupon_amount_total'] = 0; // 优惠金额
if ($order_detection['amount_total'] > 0) { if ($order_detection['payment_amount_total'] > 0) {
// 发起支付 // 发起支付
$WechatPay = new WechatPay(1, 3); $WechatPay = new WechatPay(1, 3);