瀏覽代碼

no message

xingzai 8 月之前
父節點
當前提交
e2bf8f6d87
共有 1 個文件被更改,包括 15 次插入15 次删除
  1. 15 15
      controllers/tag.go

+ 15 - 15
controllers/tag.go

@@ -32,21 +32,21 @@ func (this *TagController) TagCustomizeList() {
 	var condition string
 	var resp models.CygxTagListResp
 
-	hasPermission, err := services.GetUserHasPermissionSimple(sysUser)
-	if err != nil {
-		br.Msg = "获取信息失败"
-		br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
-		return
-	}
-	if hasPermission > 1 {
-		list := make([]*models.CygxTagList, 0)
-		resp.List = list
-		br.Ret = 200
-		br.Success = true
-		br.Msg = "获取成功"
-		br.Data = resp
-		return
-	}
+	//hasPermission, err := services.GetUserHasPermissionSimple(sysUser)
+	//if err != nil {
+	//	br.Msg = "获取信息失败"
+	//	br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
+	//	return
+	//}
+	//if hasPermission > 1 {
+	//	list := make([]*models.CygxTagList, 0)
+	//	resp.List = list
+	//	br.Ret = 200
+	//	br.Success = true
+	//	br.Msg = "获取成功"
+	//	br.Data = resp
+	//	return
+	//}
 
 	list, err := models.GetCygxTagList(condition)
 	if err != nil {