This commit is contained in:
workabee 2024-09-11 09:20:32 +08:00
parent 8e49e8a76b
commit 2568bdbf7a

View File

@ -195,7 +195,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,
})