Commit 01d006eb authored by 李小芳's avatar 李小芳

Merge branch '721_goods-sort' into 'test'

add

See merge request alpha/physical!391
parents e6f89fd1 8aebfc26
......@@ -16,7 +16,7 @@ from trans2es.models.pictorial import PictorialTopics
class ProductUtils(object):
@classmethod
def get_product_sku(cls, query='', offset=0, size=10, sort_type='', filters={}):
def get_product_sku(cls, query='', offset=0, size=10, filters={}):
try:
multi_fields = {
'cn_name_pre': 2,
......
......@@ -24,7 +24,7 @@ def product_hot_sort(query='', offset=0, size=10, filters={}):
:return:
'''
try:
res = ProductUtils.get_product_sku(query=query, offset=offset, size=size, sort_type=sort_type, filters=filters)
res = ProductUtils.get_product_sku(query=query, offset=offset, size=size, filters=filters)
product_list = []
res_hit = res["hits"]
......
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