Function
getSigBody
(node, channel, adiu, userId, sign, actID, playID, signTerm, signDay)
Source from the content-addressed store, hash-verified
| 166 | } |
| 167 | } |
| 168 | function getSigBody(node, channel, adiu, userId, sign, actID, playID, signTerm, signDay) { |
| 169 | return{ |
| 170 | "bizVersion": "060800", |
| 171 | "h5version": "6.35.14", |
| 172 | "platform": "ios", |
| 173 | "tid": adiu, |
| 174 | "eId": "", |
| 175 | "adiu": adiu, |
| 176 | "diu": adiu, |
| 177 | "imei": adiu, |
| 178 | "idfa": adiu, |
| 179 | "enterprise": "0", |
| 180 | "ts": new Date().getTime(), |
| 181 | "uid": userId, |
| 182 | "userId": userId, |
| 183 | "channel": channel, |
| 184 | "dip": "20020", |
| 185 | "actID": actID, |
| 186 | "playID": playID, |
| 187 | "signTerm": signTerm, |
| 188 | "signType": "1", |
| 189 | "signDay": signDay, |
| 190 | "adCode": "", |
| 191 | "node": node, |
| 192 | "div": "", |
| 193 | "sign": sign |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | function checkIn() { |
| 198 | return new Promise((resove) => { |
Tested by
no test coverage detected