|
@@ -2,14 +2,13 @@ package controller
|
|
|
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
+ "eta/eta_docs/controller/resp"
|
|
|
+ "eta/eta_docs/global"
|
|
|
+ "eta/eta_docs/models/crm"
|
|
|
+ "eta/eta_docs/models/request"
|
|
|
+ "eta/eta_docs/services"
|
|
|
+ "eta/eta_docs/utils"
|
|
|
"github.com/gin-gonic/gin"
|
|
|
- "github.com/go-playground/validator/v10"
|
|
|
- "hongze/hz_eta_docs_api/controller/resp"
|
|
|
- "hongze/hz_eta_docs_api/global"
|
|
|
- "hongze/hz_eta_docs_api/models/crm"
|
|
|
- "hongze/hz_eta_docs_api/models/request"
|
|
|
- "hongze/hz_eta_docs_api/services"
|
|
|
- "hongze/hz_eta_docs_api/utils"
|
|
|
"html"
|
|
|
)
|
|
|
|
|
@@ -43,7 +42,7 @@ func (a *HelpDocController) ClassifyList(c *gin.Context) {
|
|
|
|
|
|
nodeAll := make([]*crm.HelpDocClassifyItems, 0)
|
|
|
|
|
|
- if etaBusiness != nil{
|
|
|
+ if etaBusiness != nil {
|
|
|
// 获取列表数据
|
|
|
docOb := new(crm.HelpDocClassify)
|
|
|
var pars []interface{}
|
|
@@ -101,7 +100,6 @@ func (a *HelpDocController) ClassifyList(c *gin.Context) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
resp.OkData("获取成功", nodeAll, c)
|
|
|
}
|
|
|
|
|
@@ -179,4 +177,4 @@ func (a *HelpDocController) Detail(c *gin.Context) {
|
|
|
respItem.PublishTime = ""
|
|
|
}
|
|
|
resp.OkData("获取成功", respItem, c)
|
|
|
-}
|
|
|
+}
|