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(); } }