没有合适的资源?快使用搜索试试~ 我知道了~
hr.backend:带回退的后端
共8个文件
js:3个
gitignore:1个
json:1个
需积分: 5 0 下载量 198 浏览量
2021-06-12
07:22:36
上传
评论
收藏 9KB ZIP 举报
温馨提示
hr.backend 带回退的后端 安装 $ npm install hr.backend 文档 var Backend = require ( "hr.backend" ) ; var myApi = new Backend ( { } ) ; // Handle api method myApi . defaultMethod ( { execute : function ( args , options , method ) { return doSomeHttpStuff ( method , args ) ; } } ) ; // Ask to cache the method "GET:posts" myApi . addCachedMethod ( "GET:posts" ) ; // Execute an api call myApi
资源推荐
资源详情
资源评论
收起资源包目录
hr_backend-master.zip (8个子文件)
hr.backend-master
.travis.yml 37B
package.json 506B
tests
index.js 70B
LICENSE 11KB
.gitignore 618B
lib
index.js 5KB
offline.js 1KB
README.md 716B
共 8 条
- 1
资源评论
鸡糟的黄医桑
- 粉丝: 25
- 资源: 4637
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功