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.
tanghc
160e57df0e
|
4 years ago | |
---|---|---|
.. | ||
common | 4 years ago | |
request | 4 years ago | |
.gitignore | 4 years ago | |
aa.txt | 4 years ago | |
bb.txt | 4 years ago | |
main.js | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago | |
testClass.js | 4 years ago |
readme.md
-
执行
npm install --registry=https://registry.npm.taobao.org
-
执行
node main.js
进行测试
封装步骤
-
新建request类,继承BaseRequest,参考
StoryGetRequest.js
-
调用接口,参考
main.js