change time type

This commit is contained in:
Jay 2018-09-25 21:38:41 +08:00
parent d28b93fecc
commit a7d5f20195

View File

@ -30,10 +30,12 @@ rootRouter.get('/getpost', async (c, n) => {
resData.page = fbid resData.page = fbid
resData.postid = postData.id resData.postid = postData.id
resData.text = postData.txt resData.text = postData.txt
resData.time = postData.time resData.time = parseInt(postData.time)
resData.link = postData.link resData.link = postData.link
} }
postData = null
c.body = { c.body = {
post: resData post: resData
} }