This commit is contained in:
2025-03-10 20:08:15 +08:00
parent c4cf4106c2
commit 7f02dffebe
2 changed files with 34 additions and 28 deletions
@@ -90,7 +90,7 @@ public class MemberPaymentMineController {
@RequiresPermissions("member.payment.mine")
public Object pcOrderPay(Integer paymentMoney) {
WxPayNeedParamVo paramVo = new WxPayNeedParamVo();
paramVo.setDescription("会费缴纳支付");
paramVo.setDescription(ShiroUtil.getPlatformUsername() + "会费缴纳支付");
paramVo.setAttach("");
paramVo.setAmount(new Amount().setTotal(paymentMoney));
return wxPayCommonService.nativePay(paramVo);
@@ -100,8 +100,8 @@ public class MemberPaymentMineController {
@At
@RequiresPermissions("member.payment.mine")
public Object getIsPay(String paymentInfoId) {
MemberPaymentInfo info = memberPaymentService.dao().fetch(MemberPaymentInfo.class,
int count = memberPaymentService.dao().count(MemberPaymentInfo.class,
Cnd.where("id", "=", paymentInfoId).and("isPayment", "=", 1));
return Result.success(info);
return Result.success().addData(count);
}
}