Commit 637e43c3 authored by Eric's avatar Eric

[Bugfix] fix chinese word search

parent ed0f5a68
...@@ -16,7 +16,7 @@ func GetUserAssets(userID string, pageSize, offset int, searches ...string) (res ...@@ -16,7 +16,7 @@ func GetUserAssets(userID string, pageSize, offset int, searches ...string) (res
paramsArray := make([]map[string]string, 0, len(searches)+2) paramsArray := make([]map[string]string, 0, len(searches)+2)
for i := 0; i < len(searches); i++ { for i := 0; i < len(searches); i++ {
paramsArray = append(paramsArray, map[string]string{ paramsArray = append(paramsArray, map[string]string{
"search": url.QueryEscape(searches[i]), "search": searches[i],
}) })
} }
params := map[string]string{ params := map[string]string{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment