无关风月
17 小时以前 b1fb83530b7105e4aa73e4101727dea945eb01c2
cloud-server-account/src/main/java/com/dsh/account/controller/FinanceController.java
@@ -6,6 +6,7 @@
import com.dsh.account.entity.RechargeRecords;
import com.dsh.account.entity.TAppUser;
import com.dsh.account.entity.VipPayment;
import com.dsh.account.feignclient.activity.UserConponClient;
import com.dsh.account.model.IncomeQuery;
import com.dsh.account.model.dto.VipPaymentDto;
import com.dsh.account.model.dto.VipRefundDto;
@@ -38,6 +39,8 @@
    private IVipPaymentService vipPaymentService;
    @Autowired
    private TAppUserService appUserService;
    @Autowired
    private UserConponClient userConponClient;
    /**
@@ -109,6 +112,8 @@
        appUserService.updateById(appUser);
        vipPayment.setPayStatus(3);
        vipPaymentService.updateById(vipPayment);
        // 将未使用的门票优惠券设置为已过期
        userConponClient.setStatusVipDetail(vipPayment.getId());
        return "200";
    }