|
@@ -17,9 +17,9 @@ func GoodsList(args map[string]string) []TikTokGoods { |
|
|
"qhPriceDesc": {"search_type": "2", "sort_type": "1"}, |
|
|
"qhPriceDesc": {"search_type": "2", "sort_type": "1"}, |
|
|
"qhPriceAsc": {"search_type": "2", "sort_type": "0"}, |
|
|
"qhPriceAsc": {"search_type": "2", "sort_type": "0"}, |
|
|
"commissionDesc": {"search_type": "4", "sort_type": "1"}, |
|
|
"commissionDesc": {"search_type": "4", "sort_type": "1"}, |
|
|
"commissionAsc": {"search_type": "4", "sort_type": "0"}, |
|
|
|
|
|
|
|
|
"commissionAsc": {"search_type": "4", "sort_type": "1"}, |
|
|
"salesDesc": {"search_type": "1", "sort_type": "1"}, |
|
|
"salesDesc": {"search_type": "1", "sort_type": "1"}, |
|
|
"salesAsc": {"search_type": "1", "sort_type": "0"}, |
|
|
|
|
|
|
|
|
"salesAsc": {"search_type": "1", "sort_type": "1"}, |
|
|
} |
|
|
} |
|
|
params := map[string]interface{}{ |
|
|
params := map[string]interface{}{ |
|
|
"search_type": sortArr[args["sort"]]["search_type"], |
|
|
"search_type": sortArr[args["sort"]]["search_type"], |
|
|