- add callbackURL for mtwm api

This commit is contained in:
gazebo
2018-11-29 22:37:28 +08:00
parent d3b2a5f3a5
commit b7230df0b8
4 changed files with 14 additions and 12 deletions

View File

@@ -308,7 +308,7 @@ func Params2Map(key1, value1 interface{}, kv ...interface{}) (retVal map[string]
func URLValues2Map(values url.Values) (retVal map[string]interface{}) {
retVal = make(map[string]interface{})
for k := range values {
retVal[k] = values.Get(k)
retVal[k], _ = url.QueryUnescape(values.Get(k))
}
return retVal
}