Finish GetURLValue
This commit is contained in:
parent
49bf5c7812
commit
f8c3e84ba8
4
util.go
4
util.go
@ -49,6 +49,6 @@ func GetBetweenStr(str, start, end string) string {
|
|||||||
func GetURLValue(Url, key string) string {
|
func GetURLValue(Url, key string) string {
|
||||||
u, _ := url.Parse(Url)
|
u, _ := url.Parse(Url)
|
||||||
query := u.Query()
|
query := u.Query()
|
||||||
fmt.Println(query.Get(key))
|
//fmt.Println(query.Get(key))
|
||||||
return ""
|
return query.Get(key)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user