()
| 223 | |
| 224 | //做任务 |
| 225 | async function domission() { |
| 226 | console.log('执行骰子任务'); |
| 227 | const myRequest = getGetRequest('doTask', `activityId=${$.jumpId}`); |
| 228 | return new Promise(async resolve => { |
| 229 | $.get(myRequest, (err, resp, data) => { |
| 230 | try { |
| 231 | |
| 232 | } catch (e) { |
| 233 | $.logErr(e, resp) |
| 234 | } finally { |
| 235 | resolve(); |
| 236 | } |
| 237 | }) |
| 238 | }) |
| 239 | } |
| 240 | |
| 241 | async function throwDice() { |
| 242 | console.log('丢骰子'); |
no test coverage detected