Commit 834134a0fdcbd92e887175c4f4a2e92442bb556b
1 parent
7784fd34
优化时间格式
Showing
1 changed file
with
1 additions
and
1 deletions
packageA/pages/checkin/checkin.js
... | ... | @@ -254,7 +254,7 @@ Page({ |
254 | 254 | |
255 | 255 | // 如果还没签到, 可以点击签到 |
256 | 256 | if (isCheckInToday == -1) { |
257 | - | |
257 | + getnowtime = getnowtime.replace(/-/g, "/") | |
258 | 258 | var timeid = Date.parse(getnowtime)/1000; |
259 | 259 | var key = "rgqsqLYhw67sgaIQBF6dw9JK7CDKSS"; |
260 | 260 | var str = app.globalData.setting.stoid + ":" + app.globalData.user_id + ":" + timeid + ":" + key | ... | ... |