fix 修复wskey转换错误

This commit is contained in:
ZJY 2021-11-01 09:17:09 +08:00
parent 4dd5ed15f7
commit ef0b649e52

View File

@ -23,7 +23,7 @@ type AutoGenerated struct {
}
func getSign() *AutoGenerated {
data, _ := httplib.Get("https://hellodns.coding.net/p/sign/d/jsign/git/raw/master/sign").Bytes()
data, _ := httplib.Get("https://pan.smxy.xyz/sign").Header("user-agent", "ApiPOST Runtime +https://www.apipost.cn").Bytes()
t := &AutoGenerated{}
json.Unmarshal(data, t)
logs.Info(t.Sign)