axios-annotations 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -464,29 +464,20 @@ import {authorizer} from "/path/config.js";
464
464
 
465
465
  > #### RequestController
466
466
  > + param: (key, required?) : RequestController
467
- >
468
- + key : string `标记查询串参数`
467
+ > + key : string `标记查询串参数`
469
468
  > + required : boolean `默认false,空字符串,null,undefined 将忽略`
470
469
  > + header: (header, header) : RequestController
471
- >
472
- + header : string `url 附加参数键值`
470
+ > + header : string `url 附加参数键值`
473
471
  > + header : string | function `字符串,或者接收 send 方法参数的函数,该函数应返回合法值。`
474
- >
475
472
  > + body: (key) : RequestController
476
- >
477
- + key : string `标记参数中请求体`
478
- >
473
+ > + key : string `标记参数中请求体`
479
474
  > + config: (cfg) : RequestController
480
- >
481
- + cfg : `AxiosRequestConfig`
475
+ > + cfg : `AxiosRequestConfig`
482
476
  >
483
477
  > + send: (data) : AxiosPromise<any>
484
- >
485
- + data : object `参数键值对`
486
- >
478
+ > + data : object `参数键值对`
487
479
  > + with: (name) : RequestController
488
- >
489
- + name : string `config name : 已注册配置名称`
480
+ > + name : string `config name : 已注册配置名称`
490
481
 
491
482
  ### Decorators
492
483
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axios-annotations",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/sitorhy/axios-annotations.git"