|
@@ -3,7 +3,6 @@ package services
|
|
|
import (
|
|
|
"fmt"
|
|
|
"github.com/rdlucklib/rdluck_tools/http"
|
|
|
- "net/url"
|
|
|
)
|
|
|
|
|
|
const (
|
|
@@ -12,8 +11,8 @@ const (
|
|
|
|
|
|
func MysteelChemicalRefresh(filePath string) {
|
|
|
var refreshUrl string
|
|
|
- filePathStr:=url.PathEscape(filePath)
|
|
|
- refreshUrl = RefreshUrl + "?FilePath=" + filePathStr
|
|
|
+ //filePathStr:=url.PathEscape(filePath)
|
|
|
+ refreshUrl = RefreshUrl + "?FilePath=" + filePath
|
|
|
fmt.Println("MysteelChemicalRefresh URL:"+refreshUrl)
|
|
|
body, err := http.Get(refreshUrl)
|
|
|
if err != nil {
|