|
@@ -20,7 +20,7 @@ type ExcelController struct {
|
|
|
// @Description 表格详情
|
|
|
// @Success 200 {object} models.EnglishReportShareDetailResp
|
|
|
// @router /detail [post]
|
|
|
-func (this *ExcelController) ExcelDetail() {
|
|
|
+func (this *ExcelController) ExcelDetail() {
|
|
|
br := new(models.BaseResponse).Init()
|
|
|
defer func() {
|
|
|
if br.ErrMsg == "" {
|
|
@@ -37,7 +37,7 @@ func (this *ExcelController) ExcelDetail() {
|
|
|
br.ErrMsg = "参数解析失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
- url := fmt.Sprintf(utils.ChartLibUrl+`/excel_info/detail?UniqueCode=%s&FromScene=%d`, req.UniqueCode,req.FromScene )
|
|
|
+ url := fmt.Sprintf(utils.ChartLibUrl+`/excel_info/detail?UniqueCode=%s&FromScene=%d&AuthToken=%s`, req.UniqueCode, req.FromScene, req.AuthToken)
|
|
|
|
|
|
resp, e := http.Get(url)
|
|
|
if e != nil {
|