Преглед изворни кода

Merge branch 'cygx_need_887' of http://8.136.199.33:3000/cxzhang/hongze_clpt

xingzai пре 1 година
родитељ
комит
1e9e02a9ea
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      controllers/tag.go

+ 5 - 0
controllers/tag.go

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