change time type

This commit is contained in:
Jay 2018-09-25 21:38:41 +08:00
parent d28b93fecc
commit a7d5f20195
1 changed files with 3 additions and 1 deletions

View File

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