xiaogg's recent timeline updates
xiaogg

xiaogg

V2EX member #223856, joined on 2017-03-31 15:10:44 +08:00
xiaogg's recent replies
Oct 19, 2017
Replied to a topic by kechx 程序员 如何统一券类产品的两种有效期设置?
统一用过期时间戳格式。对于第一种时间格式:自领取之日起 x 天内有效,通常这个 X 不会太大,所以可以取巧处理一下,时间戳小于某值(比如 100,1000 等)判断为是第一种时间格式,表示 X 天,领取后再算过期时间戳,然后更新数据库。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 21:45 · PVG 05:45 · LAX 14:45 · JFK 17:45
♥ Do have faith in what you're doing.