You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| common | 5 years ago | |
| request | 5 years ago | |
| .gitignore | 5 years ago | |
| aa.txt | 5 years ago | |
| bb.txt | 5 years ago | |
| main.js | 5 years ago | |
| package.json | 5 years ago | |
| readme.md | 5 years ago | |
| testClass.js | 5 years ago | |
readme.md
-
执行
npm install --registry=https://registry.npm.taobao.org -
执行
node main.js进行测试
封装步骤
-
新建request类,继承BaseRequest,参考
StoryGetRequest.js -
调用接口,参考
main.js