()
| 160 | } |
| 161 | } |
| 162 | getHeadersPost_android() { |
| 163 | let ts = Date.now() |
| 164 | let nonce = this.getNonce("android"); |
| 165 | return { |
| 166 | //'Connection': 'Keep-Alive', |
| 167 | //'Content-Length': 402, |
| 168 | operateSystem: "android", |
| 169 | appVersion: "1.4.4", |
| 170 | nonce: nonce, |
| 171 | "Content-Type": "application/json", |
| 172 | "User-Agent": "okhttp/4.8.1", |
| 173 | appId: appId_android, |
| 174 | Accept: "application/json", |
| 175 | Referer: |
| 176 | "https://app.nevapp.gtmc.com.cn/h5/pages/mine/task?noAutoSign=true", |
| 177 | //'Accept-Encoding': 'gzip', |
| 178 | "timestamp": ts, |
| 179 | "Authorization": "Bearer " + this.User_AccessToken, |
| 180 | 'sig': CryptoJS.MD5( |
| 181 | ts + |
| 182 | this.User_AccessToken + |
| 183 | nonce + |
| 184 | appId_android + |
| 185 | appKey_android |
| 186 | ).toString() |
| 187 | }; |
| 188 | } |
| 189 | getHeadersGet_android() { |
| 190 | let ts = Date.now() |
| 191 | let nonce = this.getNonce("android"); |
no test coverage detected