main
workabee 1 week ago
parent ee468aba42
commit 910df20eaa

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

Loading…
Cancel
Save