瀏覽代碼

no message

xingzai 1 年之前
父節點
當前提交
6122b9c51e
共有 1 個文件被更改,包括 5 次插入1 次删除
  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