|
@@ -274,8 +274,9 @@ func (e *ExportByDbReq) ExportDataByDb() []byte {
|
|
|
"sendState": state,
|
|
|
"createTime": time.Now().Format(DateTime),
|
|
|
})
|
|
|
+ return gconv.Bytes(map[string]interface{}{"status": 1, "msg": "导出数据成功"})
|
|
|
}
|
|
|
- return gconv.Bytes(map[string]interface{}{"status": 1})
|
|
|
+ return gconv.Bytes(map[string]interface{}{"status": -1, "msg": "导出数据失败,未查询到数据"})
|
|
|
}
|
|
|
|
|
|
// 表头
|