Commit b59c8d17 authored by lixiaofang's avatar lixiaofang

add

parent 359b90f6
This diff is collapsed.
......@@ -26,7 +26,7 @@ class ProductTransfer(object):
res["price"] = instance.price
res["cn_name_sort"] = ''
for i in lazy_pinyin(instance.cn_name):
res["cn_name_sort"] += str(i[0])
res["cn_name_sort"] += str(i.strip())
res["cn_name_pre"] = instance.cn_name
res["en_name_pre"] = instance.en_name
......
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