Skip to content

Commit

Permalink
fix: 优化变量命名
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyuan63 committed Jan 22, 2024
1 parent f8f3ea7 commit a84a76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/exam/apiHook.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ await sleep(30000)

await page.to('http://t.268xue.com/');
// 获取第三方接口数据
const apiData = await axios.get('http://YinTao.jd.com/ping')
console.log('apiData',apiData.data) // 获取data数据
const res = await axios.get('http://YinTao.jd.com/ping')
console.log('res',res.data) // 获取data数据

await sleep(2000)
```

0 comments on commit a84a76d

Please sign in to comment.