|
@@ -2,7 +2,6 @@ package controllers
|
|
|
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
- "fmt"
|
|
|
"github.com/rdlucklib/rdluck_tools/common"
|
|
|
"hongze/hongze_open_api/logic"
|
|
|
"hongze/hongze_open_api/models/request/article"
|
|
@@ -56,7 +55,6 @@ func (c *ReportController) ListReport() {
|
|
|
var mobile string
|
|
|
URL, err := url.Parse(c.Ctx.Input.URI())
|
|
|
if err != nil {
|
|
|
- fmt.Println(err)
|
|
|
c.FailWithMessage("获取报告失败")
|
|
|
return
|
|
|
}
|
|
@@ -185,7 +183,6 @@ func (c *ReportControllerCommon) GetReportInfo() {
|
|
|
}
|
|
|
reportInfo, hasPermission, err := tables.GetResearchReportInfo(researchReportId, userInfo.UserId)
|
|
|
if err != nil {
|
|
|
- fmt.Println(err)
|
|
|
c.FailWithMessage("获取报告失败")
|
|
|
return
|
|
|
}
|
|
@@ -256,7 +253,6 @@ func (c *ReportControllerCommon) GetResearchReportChapter() {
|
|
|
|
|
|
reportInfo, hasPermission, err := tables.GetResearchReportTypeContentInfo(uint64(researchReportTypeId), uint64(userInfo.UserId))
|
|
|
if err != nil {
|
|
|
- fmt.Println(err)
|
|
|
c.FailWithMessage("获取报告失败")
|
|
|
return
|
|
|
}
|
|
@@ -373,7 +369,6 @@ func (c *ReportController) ListReportV2() {
|
|
|
var mobile string
|
|
|
URL, err := url.Parse(c.Ctx.Input.URI())
|
|
|
if err != nil {
|
|
|
- fmt.Println(err)
|
|
|
c.FailWithMessage("获取报告失败")
|
|
|
return
|
|
|
}
|