|
@@ -205,9 +205,9 @@ func (w *WsDataExport) GetPreview() error {
|
|
|
list := dataexport.FormatExportData(public.Mgo_Ent, &res_screen, config.Sysconfig["webdomain"].(string), dataType, true)
|
|
|
_res["data"] = subUrl(list, dataType)
|
|
|
_res["dataType"] = dataType
|
|
|
+ _res["total"] = msgCount
|
|
|
w.ServeJson(map[string]interface{}{
|
|
|
- "res": _res,
|
|
|
- "total": msgCount,
|
|
|
+ "res": _res,
|
|
|
})
|
|
|
return nil
|
|
|
}
|