xingzai 1 yıl önce
ebeveyn
işleme
6122b9c51e
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      controllers/tag.go

+ 5 - 1
controllers/tag.go

@@ -4,6 +4,7 @@ import (
 	"encoding/json"
 	"hongze/hongze_cygx/models"
 	"hongze/hongze_cygx/services"
+	"hongze/hongze_cygx/utils"
 )
 
 type TagController struct {
@@ -79,7 +80,10 @@ func (this *TagController) TagCustomizeList() {
 		br.ErrMsg = "获取品种信息失败,Err:" + err.Error()
 		return
 	}
-
+	item := new(models.ChartPermission)
+	item.ChartPermissionId = utils.GU_SHOU_ID
+	item.PermissionName = utils.GU_SHOU_NAME
+	listPermission = append(listPermission, item)
 	resp := new(models.CygxTagListResp)
 
 	resp.List = list