vip购买相关

This commit is contained in:
wangjinlei
2024-06-05 16:50:05 +08:00
parent e2f382a69f
commit 580270f1f0
9 changed files with 128 additions and 9 deletions

View File

@@ -0,0 +1,24 @@
package com.peanut.modules.medical.controller;
import com.peanut.common.utils.R;
import com.peanut.modules.medical.service.VipBuyConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.text.ParseException;
@Slf4j
@RestController("medicalUserController")
@RequestMapping("/medical/user")
public class UserController {
@Autowired
private VipBuyConfigService vipBuyConfigService;
@RequestMapping("/getVipProductForUser")
public R getVipProductForUser() throws ParseException {
return vipBuyConfigService.getVipProductForUser();
}
}