Browse Source

no message

xingzai 1 year ago
parent
commit
ea1c88f5e6
1 changed files with 5 additions and 6 deletions
  1. 5 6
      controllers/tag.go

+ 5 - 6
controllers/tag.go

@@ -4,7 +4,6 @@ import (
 	"encoding/json"
 	"hongze/hongze_clpt/models"
 	"hongze/hongze_clpt/services"
-	"hongze/hongze_clpt/utils"
 )
 
 type TagController struct {
@@ -75,17 +74,17 @@ func (this *TagController) TagCustomizeList() {
 		}
 	}
 	//var condition string
-	condition = ` AND permission_name IN ('医药','消费','科技','智造','策略') `
+	condition = ` AND permission_name IN ('医药','消费','科技','智造','策略','固收') `
 	listPermission, err := models.GetChartPermissionReportAll(condition)
 	if err != nil {
 		br.Msg = "获取信息失败"
 		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)
+	//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