Files
nuttyreading-java/src/main/java/com/peanut/modules/sociology/controller/UserController.java
2024-06-03 10:15:18 +08:00

23 lines
660 B
Java

package com.peanut.modules.sociology.controller;
import com.peanut.common.utils.R;
import com.peanut.modules.sociology.service.VipService;
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;
@Slf4j
@RestController("sociologyUser")
@RequestMapping("sociology/user")
public class UserController {
@Autowired
private VipService vipService;
@RequestMapping("/getVipProductForUser")
public R getVipProductForUser(){
return vipService.getVipProductForUser();
}
}