| | |
| | | |
| | | import com.ycl.jxkg.base.BaseApiController; |
| | | import com.ycl.jxkg.service.QuestionService; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @RequiredArgsConstructor |
| | | @RestController("StudentQuestionController") |
| | | @RequestMapping(value = "/api/student/question") |
| | | public class QuestionController extends BaseApiController { |
| | | |
| | | private final QuestionService questionService; |
| | | |
| | | @Autowired |
| | | public QuestionController(QuestionService questionService) { |
| | | this.questionService = questionService; |
| | | } |
| | | } |