微信小程序排序问题

dev_jupyter
daiao 6 years ago
parent ff6fef6c52
commit ec4bbf4770

@ -52,7 +52,7 @@ class ShixunSearchService < ApplicationService
def search_options def search_options
order = order =
if sort_str == "myshixuns_count" if sort_str == "wechat_myshixuns_count"
{"is_wechat_support" => "desc", sort_str => order_str} {"is_wechat_support" => "desc", sort_str => order_str}
else else
{sort_str => order_str} {sort_str => order_str}

Loading…
Cancel
Save