Finish GetURLValue

This commit is contained in:
iyear 2020-03-27 18:25:31 +08:00
parent 49bf5c7812
commit f8c3e84ba8

View File

@ -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)
} }