Commit 48a403d0 authored by 段英荣's avatar 段英荣

modify

parent 811580b4
...@@ -190,7 +190,6 @@ class TopicUtils(object): ...@@ -190,7 +190,6 @@ class TopicUtils(object):
"include":["id","group_id"] "include":["id","group_id"]
} }
logging.info("duan add,es query:%s" % str(q).encode("utf-8"))
result_dict = ESPerform.get_search_results(ESPerform.get_cli(), sub_index_name="topic", query_body=q, result_dict = ESPerform.get_search_results(ESPerform.get_cli(), sub_index_name="topic", query_body=q,
offset=offset, size=size) offset=offset, size=size)
......
...@@ -44,7 +44,6 @@ class TopicTransfer(object): ...@@ -44,7 +44,6 @@ class TopicTransfer(object):
update_time = instance.update_time update_time = instance.update_time
tzlc_update_time = tzlc(update_time) tzlc_update_time = tzlc(update_time)
res["update_time"] = tzlc_update_time res["update_time"] = tzlc_update_time
print(int(time.mktime(tzlc_update_time.timetuple())))
res["update_time_val"] = int(time.mktime(tzlc_update_time.timetuple())) res["update_time_val"] = int(time.mktime(tzlc_update_time.timetuple()))
return res return res
......
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