Compare commits
No commits in common. "8dbbe69e74a5bcdf2694ee456dd802b56bc6e770" and "f7c118243f9352b80915e8c364e0cf9c47c48bff" have entirely different histories.
8dbbe69e74
...
f7c118243f
@ -6,6 +6,7 @@ import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/360EntSecGroup-Skylar/excelize"
|
||||
@ -200,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, url.PathEscape(exportFileName))
|
||||
response.ResponseQuickMsg(c, msg.Ok, resp.Msg, map[string]string{
|
||||
"exportUrl": exportUrl,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user