|
@@ -32,6 +32,11 @@ func (this *SmartReportController) List() {
|
|
|
this.ServeJSON()
|
|
|
}()
|
|
|
|
|
|
+ br.Ret = 301
|
|
|
+ br.Msg = "智能研报已合并到中文研报,请使用中文研报的接口"
|
|
|
+ br.ErrMsg = "智能研报已合并到中文研报,请使用中文研报的接口"
|
|
|
+ return
|
|
|
+
|
|
|
type SmartReportListReq struct {
|
|
|
PageSize int `form:"PageSize"`
|
|
|
CurrentIndex int `form:"CurrentIndex"`
|
|
@@ -68,7 +73,6 @@ func (this *SmartReportController) List() {
|
|
|
pars = append(pars, classifyId, classifyId)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
resp := new(models.SmartReportListResp)
|
|
|
reportOB := new(models.SmartReport)
|
|
|
total, e := reportOB.GetCountByCondition(condition, pars)
|
|
@@ -127,6 +131,10 @@ func (this *SmartReportController) Detail() {
|
|
|
this.Data["json"] = br
|
|
|
this.ServeJSON()
|
|
|
}()
|
|
|
+ br.Ret = 301
|
|
|
+ br.Msg = "智能研报已合并到中文研报,请使用中文研报的接口"
|
|
|
+ br.ErrMsg = "智能研报已合并到中文研报,请使用中文研报的接口"
|
|
|
+ return
|
|
|
|
|
|
reportId, _ := this.GetInt("SmartReportId")
|
|
|
if reportId <= 0 {
|
|
@@ -165,6 +173,10 @@ func (this *SmartReportController) Approve() {
|
|
|
this.Data["json"] = br
|
|
|
this.ServeJSON()
|
|
|
}()
|
|
|
+ br.Ret = 301
|
|
|
+ br.Msg = "智能研报已合并到中文研报,请使用中文研报的接口"
|
|
|
+ br.ErrMsg = "智能研报已合并到中文研报,请使用中文研报的接口"
|
|
|
+ return
|
|
|
|
|
|
var req models.SmartReportApproveReq
|
|
|
err := json.Unmarshal(this.Ctx.Input.RequestBody, &req)
|