From d378b55981bca01371325eeb4e9e60483ff7d609 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期六, 10 八月 2024 13:45:20 +0800
Subject: [PATCH] 评价标签数量

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TEvaluationTagController.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TEvaluationTagController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TEvaluationTagController.java
index 1193555..261869b 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TEvaluationTagController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TEvaluationTagController.java
@@ -1,9 +1,18 @@
 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>
@@ -17,5 +26,17 @@
 @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());
+    }
+
 }
 

--
Gitblit v1.7.1