ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/WxPayController.java
@@ -97,7 +97,7 @@ // 查询用户信息 用户openid String openId = sysAppUser.getOpenId(); // 存储支付记录 sysPayRecordService.saveData(orderNo, userId, sysOtherConfig.getAiPrice(), 1, orderType, inspectionId); sysPayRecordService.saveData(orderNo, userId, orderType==1?sysOtherConfig.getAiPrice():sysOtherConfig.getAiMonthPrice(), 1, orderType, inspectionId); // 调用支付方法 Map<String, Object> result = wxV3Pay.jsApi(orderNo, totalPrice, openId,"AI检测报告支付",""); log.info("支付参数:{}", result);