This is an automated email from the ASF dual-hosted git repository.

liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 5543b938a8 fix: the "name" field of TagVO has been changed (#6190)
5543b938a8 is described below

commit 5543b938a827eee96d2517a5d135f8bccf982ec4
Author: Wweiei <[email protected]>
AuthorDate: Fri Sep 26 22:25:21 2025 +0800

    fix: the "name" field of TagVO has been changed (#6190)
---
 .../java/org/apache/shenyu/admin/model/vo/TagVO.java     | 16 ++++++++--------
 .../shenyu/admin/controller/TagControllerTest.java       |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/vo/TagVO.java 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/vo/TagVO.java
index e58f548678..062b4a81aa 100644
--- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/vo/TagVO.java
+++ b/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/vo/TagVO.java
@@ -37,7 +37,7 @@ public class TagVO implements Serializable {
     /**
      * name.
      */
-    private String tagName;
+    private String name;
 
     /**
      * tagDesc.
@@ -73,14 +73,14 @@ public class TagVO implements Serializable {
     }
 
     public TagVO(final String id,
-                 final String tagName,
+                 final String name,
                  final String tagDesc,
                  final String parentTagId,
                  final String ext,
                  final String dateCreated,
                  final String dateUpdated) {
         this.id = id;
-        this.tagName = tagName;
+        this.name = name;
         this.tagDesc = tagDesc;
         this.parentTagId = parentTagId;
         this.ext = ext;
@@ -108,16 +108,16 @@ public class TagVO implements Serializable {
      * get name.
      * @return name
      */
-    public String getTagName() {
-        return tagName;
+    public String getName() {
+        return name;
     }
 
     /**
      * set name.
-     * @param tagName name
+     * @param name name
      */
-    public void setTagName(final String tagName) {
-        this.tagName = tagName;
+    public void setName(final String name) {
+        this.name = name;
     }
 
     /**
diff --git 
a/shenyu-admin/src/test/java/org/apache/shenyu/admin/controller/TagControllerTest.java
 
b/shenyu-admin/src/test/java/org/apache/shenyu/admin/controller/TagControllerTest.java
index 1171618bed..973210d2b6 100644
--- 
a/shenyu-admin/src/test/java/org/apache/shenyu/admin/controller/TagControllerTest.java
+++ 
b/shenyu-admin/src/test/java/org/apache/shenyu/admin/controller/TagControllerTest.java
@@ -169,7 +169,7 @@ public final class TagControllerTest {
     public TagVO buildTagVO() {
         TagVO tagVO = new TagVO();
         tagVO.setTagDesc("123");
-        tagVO.setTagName("test tag");
+        tagVO.setName("test tag");
         tagVO.setDateCreated(new Date().toString());
         tagVO.setDateUpdated(new Date().toString());
         return tagVO;

Reply via email to