| 1435 | |
| 1436 | // 新手任务 |
| 1437 | async function noviceTask(){ |
| 1438 | let body = `` |
| 1439 | await init(`user/guideuser`, body) |
| 1440 | body = `strMark=guider_step&strValue=welcom&dwType=2` |
| 1441 | await init(`user/SetMark`, body) |
| 1442 | body = `strMark=guider_over_flag&strValue=999&dwType=2` |
| 1443 | await init(`user/SetMark`, body) |
| 1444 | body = `strMark=guider_step&strValue=999&dwType=2` |
| 1445 | await init(`user/SetMark`, body) |
| 1446 | body = `strMark=guider_step&strValue=999&dwType=2` |
| 1447 | await init(`user/SetMark`, body) |
| 1448 | body = `strMark=guider_over_flag&strValue=999&dwType=2` |
| 1449 | await init(`user/SetMark`, body) |
| 1450 | body = `strMark=guider_step&strValue=gift_redpack&dwType=2` |
| 1451 | await init(`user/SetMark`, body) |
| 1452 | body = `strMark=guider_step&strValue=none&dwType=2` |
| 1453 | await init(`user/SetMark`, body) |
| 1454 | } |
| 1455 | async function init(function_path, body) { |
| 1456 | return new Promise(async (resolve) => { |
| 1457 | $.get(taskUrl(function_path, body), async (err, resp, data) => { |