Commit f4c7e372 authored by 段英荣's avatar 段英荣

modify

parent a35a0a0a
......@@ -34,14 +34,14 @@ class TopicTransfer(object):
create_time = instance.create_time
tzlc_create_time = tzlc(create_time)
res["create_time"] = tzlc_create_time
res["create_time_val"] = time.mktime(tzlc_create_time.timetuple())
res["create_time_val"] = int(time.mktime(tzlc_create_time.timetuple()))
update_time = instance.update_time
tzlc_update_time = tzlc(update_time)
res["update_time"] = tzlc_update_time
print(time.mktime(tzlc_update_time.timetuple()))
res["update_time_val"] = time.mktime(tzlc_update_time.timetuple())
print(int(time.mktime(tzlc_update_time.timetuple())))
res["update_time_val"] = int(time.mktime(tzlc_update_time.timetuple()))
return res
except:
......
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