修改导出文件路径·错误

This commit is contained in:
孙肖扬 2025-03-06 09:45:20 +08:00
parent ad84ceb793
commit 731b96b094

View File

@ -201,7 +201,7 @@ func ExportRegister(c *gin.Context) {
httpType = model.HttpType
}
var exportUrl string
exportUrl = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, exportFileName)
exportUrl = fmt.Sprintf("%s%s/api/static/%s", httpType, c.Request.Host, exportFileName)
response.ResponseQuickMsg(c, msg.Ok, resp.Msg, map[string]string{
"exportUrl": exportUrl,
})