Sail
|
c2ac6fa5be
|
fix: fixed typing (#24)
|
2019-04-09 10:46:41 +08:00 |
|
TENCENT\ivinwu
|
69fd371857
|
fix: successData is optional
|
2019-04-04 16:32:51 +08:00 |
|
TENCENT\ivinwu
|
2e05d4289e
|
fix: typing
|
2019-04-02 20:36:28 +08:00 |
|
TENCENT\ivinwu
|
de6f8aaa09
|
docs: update README
|
2019-04-01 18:05:43 +08:00 |
|
TENCENT\ivinwu
|
a9d823d457
|
Merge branch '1.2.0' of https://github.com/IvinWu/weRequest into 1.2.0
|
2019-04-01 17:59:55 +08:00 |
|
TENCENT\ivinwu
|
4a80ba43f0
|
Merge branch '1.2.0' of http://git.code.oa.com/Ivinwu/weRequest into 1.2.0
|
2019-04-01 17:55:03 +08:00 |
|
TENCENT\ivinwu
|
3610f6553a
|
docs: update example
|
2019-04-01 17:54:56 +08:00 |
|
Sail
|
0df7cb6bb3
|
feat: support version option (#23)
* feat: support version option
* docs(README): added version option
|
2019-04-01 17:47:17 +08:00 |
|
TENCENT\ivinwu
|
68927d274b
|
docs(README): update README
|
2019-03-26 20:14:46 +08:00 |
|
TENCENT\ivinwu
|
6998bf15e3
|
fix(mockManager): 修复mock成功后仍然发出请求的问题
|
2019-03-25 19:45:15 +08:00 |
|
TENCENT\ivinwu
|
9b195301cd
|
fix: checkSession返回失败后没有自动重新登录
|
2019-03-22 14:47:54 +08:00 |
|
TENCENT\ivinwu
|
b2e1787389
|
fix(1.2.2): fix: if(0) === false
|
2019-03-12 18:08:47 +08:00 |
|
TENCENT\ivinwu
|
d064d71352
|
refactor: rm renameJsFile.js
|
2019-03-12 15:20:48 +08:00 |
|
TENCENT\ivinwu
|
708f8d13ad
|
Merge branch '1.2.0' of https://github.com/IvinWu/weRequest into 1.2.0
|
2019-03-08 22:51:06 +08:00 |
|
TENCENT\ivinwu
|
c41ba656e3
|
fix: change some params to be not required
|
2019-03-08 22:50:32 +08:00 |
|
swen
|
f6415f927b
|
更新mock功能的示例 (#22)
* 更新mock功能的示例
* 更新mock功能的示例
|
2019-03-08 19:49:04 +08:00 |
|
ivinwu
|
399b465e9b
|
feat: 支持Promise方式调用
|
2019-01-24 10:30:36 +08:00 |
|
ivinwu
|
5f81071d00
|
refactor: promise改造中;移除sessionIsFresh、obj.count等概念
|
2019-01-11 22:27:54 +08:00 |
|
ivinwu
|
9808d4e416
|
fix: fix weRequest.init do not work well
|
2019-01-10 22:47:47 +08:00 |
|
ivinwu
|
739a8be9f7
|
refactor: 解耦code2Session,去掉请求的isLogin标识
|
2019-01-10 22:46:22 +08:00 |
|
godbasin
|
02b2c2fdb7
|
Merge pull request #16 from godbasin/1.1.0_ts
修复了一些tslint错误提示
|
2019-01-07 19:34:22 +08:00 |
|
godbasin
|
b181798fa6
|
修复了一些tslint错误提示
|
2019-01-07 19:32:53 +08:00 |
|
ivinwu
|
f13838e325
|
refactor: 解决残留的TODO类型
|
2019-01-04 18:42:59 +08:00 |
|
ivinwu
|
c3696bca51
|
refactor: 收归interface的定义到一个文件
|
2019-01-03 19:38:37 +08:00 |
|
ivinwu
|
9d0b49ea92
|
build(package.json): add commitizen to format commits
plz use "git cz" or "npm run commit" to commit your code
|
2018-12-29 15:49:03 +08:00 |
|
ivinwu
|
d5baa4687e
|
update README
|
2018-12-28 17:35:09 +08:00 |
|
ivinwu
|
e50950a4f2
|
promise化改造:checkSession、code2Session已完成
|
2018-12-28 17:33:30 +08:00 |
|
ivinwu
|
7267471c40
|
update README
|
2018-12-21 23:28:33 +08:00 |
|
ivinwu
|
d9127b1157
|
Merge branch '1.2.0' of https://github.com/IvinWu/weRequest into 1.2.0
# Conflicts:
# build/weRequest.js
# build/weRequest.min.js
# package.json
# src/module/errorHandler.ts
# src/module/requestHandler.ts
# src/module/responseHandler.ts
|
2018-12-21 23:27:25 +08:00 |
|
TENCENT\ivinwu
|
7ecc92fb5e
|
some bugfix
|
2018-12-21 20:37:41 +08:00 |
|
TENCENT\ivinwu
|
3a66825345
|
fixed some error
|
2018-12-21 19:12:10 +08:00 |
|
Ivin Wu
|
728de2d012
|
Merge pull request #10 from godbasin/1.1.0_ts
发布支持引入typing
|
2018-12-21 17:44:51 +08:00 |
|
godbasin
|
f444eb4620
|
发布支持引入typing
|
2018-12-21 17:28:46 +08:00 |
|
Ivin Wu
|
72c464bd82
|
Merge pull request #9 from godbasin/1.1.0_ts
1.1.0 ts
|
2018-12-20 21:29:18 +08:00 |
|
godbasin
|
b34aa667b6
|
简单跑起来了
|
2018-12-20 21:21:58 +08:00 |
|
godbasin
|
267a4a97a6
|
init调整完毕
|
2018-12-20 17:03:06 +08:00 |
|
godbasin
|
cecd40a4ce
|
切ts ing,js文件转ts后缀
|
2018-12-20 10:44:00 +08:00 |
|
TENCENT\ivinwu
|
103647984e
|
1.1.0
|
2018-12-19 19:26:38 +08:00 |
|
ivinwu
|
a7ee72b26c
|
Merge branch 'master' into 'master'
Fix:修复定义了urlPrefix,且mockJson定义使用fullUrl时,res.data未兼容
Fix:修复定义了urlPrefix,且mockJson定义使用fullUrl时,res.data未兼容
See merge request !2
|
2018-12-14 03:07:28 +00:00 |
|
cwgong
|
861a0fc2cf
|
Fix:修复定义了urlPrefix,且mockJson定义使用fullUrl时,res.data未兼容
|
2018-12-06 11:34:00 +08:00 |
|
ivinwu
|
19529d44d6
|
Merge branch 'mock-json' into 'master'
Add:增加mockJson对Urlprefix+obj.url的匹配
Add:增加mockJson对Urlprefix+obj.url的匹配
See merge request !1
|
2018-12-06 03:23:16 +00:00 |
|
cwgong
|
9f36a8acce
|
Add:增加mockJson对Urlprefix+obj.url的匹配
|
2018-12-06 11:05:13 +08:00 |
|
TENCENT\ivinwu
|
892e3d6642
|
update readme
|
2018-11-23 16:20:25 +08:00 |
|
TENCENT\ivinwu
|
169c6cc4dc
|
update readme
|
2018-11-22 20:54:22 +08:00 |
|
TENCENT\ivinwu
|
bf93154e22
|
add: urlPerfix支持配置为函数,具体值为其函数的返回值
|
2018-11-19 17:31:47 +08:00 |
|
ivinwu
|
f65648ed3c
|
update Readme
|
2018-09-24 22:07:25 +08:00 |
|
ivinwu
|
5e6abad91f
|
支持配置sessionExpireTime
|
2018-09-24 21:58:20 +08:00 |
|
ivinwu
|
53cc7f50d8
|
rm .idea
|
2018-09-24 10:41:10 +08:00 |
|
ivinwu
|
529654e932
|
add: 两个接口getSession、getConfig;新增非压缩build版本
|
2018-09-24 10:36:20 +08:00 |
|
ivinwu
|
a8d3ea7078
|
merging
|
2018-09-24 00:24:48 +08:00 |
|