摘要: 代码 function LeftTime(hour, min, sec) min = min or 0 sec = sec or 0 local dt = os.date("*t", os.time()) local leftSec = 24 * 3600 - dt.hour * 3600 + dt 阅读全文
posted @ 2022-05-14 20:58 yanghui01 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 每天首次登录可领取一次奖励, 判断是否当天的首次登录 function IsSameDay(lastTimeStamp, nowTimeStamp) local dt1 = os.date("*t", lastTimeStamp) local dt2 = os.date("*t", nowTimeS 阅读全文
posted @ 2022-05-14 16:38 yanghui01 阅读(39) 评论(0) 推荐(0) 编辑