| | |
| | | package com.ruoyi.other.controller; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.other.api.domain.TEvaluationTag; |
| | | import com.ruoyi.other.api.vo.TEvaluationTagVO; |
| | | import com.ruoyi.other.service.TEvaluationTagService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @RequestMapping("/t-evaluation-tag") |
| | | public class TEvaluationTagController { |
| | | |
| | | private final TEvaluationTagService evaluationTagService; |
| | | |
| | | @Autowired |
| | | public TEvaluationTagController(TEvaluationTagService evaluationTagService) { |
| | | this.evaluationTagService = evaluationTagService; |
| | | } |
| | | |
| | | @PostMapping("/getTagList") |
| | | public R<List<TEvaluationTagVO>> getTagList() { |
| | | return R.ok(evaluationTagService.getTagList()); |
| | | } |
| | | |
| | | } |
| | | |