(length)
| 155 | function Checkin() { |
| 156 | const timestamp = new Date().getTime(); |
| 157 | const stringRandom = (length) => { |
| 158 | var rdm62, ret = ''; |
| 159 | while (length--) { |
| 160 | rdm62 = 0 | Math.random() * 62; |
| 161 | ret += String.fromCharCode(rdm62 + (rdm62 < 10 ? 48 : rdm62 < 36 ? 55 : 61)) |
| 162 | } |
| 163 | return ret; |
| 164 | }; |
| 165 | return new Promise(resolve => { |
| 166 | const sign_date = { |
| 167 | task_code: 'natural_month_sign', |