|
@@ -9,7 +9,6 @@ import (
|
|
|
"eta/eta_chart_lib/services/data/table"
|
|
|
"eta/eta_chart_lib/services/excel"
|
|
|
"eta/eta_chart_lib/utils"
|
|
|
- "time"
|
|
|
)
|
|
|
|
|
|
// ExcelInfoController excel表格
|
|
@@ -36,7 +35,7 @@ func (this *ExcelInfoController) GetTableDetail() {
|
|
|
br.ErrMsg = "参数错误,uniqueCode is empty"
|
|
|
return
|
|
|
}
|
|
|
- key := utils.HZ_CHART_LIB_EXCEL_TABLE_DETAIL + ":" + uniqueCode
|
|
|
+ //key := utils.HZ_CHART_LIB_EXCEL_TABLE_DETAIL + ":" + uniqueCode
|
|
|
resp := new(response.ExcelTableDetailResp)
|
|
|
////判断是否有缓存
|
|
|
//if utils.Re == nil {
|
|
@@ -135,10 +134,10 @@ func (this *ExcelInfoController) GetTableDetail() {
|
|
|
resp.ExcelImage = excelInfo.ExcelImage
|
|
|
resp.UniqueCode = excelInfo.UniqueCode
|
|
|
|
|
|
- if utils.Re == nil {
|
|
|
- data, _ := json.Marshal(resp)
|
|
|
- utils.Rc.Put(key, data, 10*time.Minute)
|
|
|
- }
|
|
|
+ //if utils.Re == nil {
|
|
|
+ // data, _ := json.Marshal(resp)
|
|
|
+ // utils.Rc.Put(key, data, 10*time.Minute)
|
|
|
+ //}
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|