wgt-node-utils 0.0.47 → 1.1.1

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.
package/README.md CHANGED
@@ -106,10 +106,14 @@
106
106
  |参数 | 类型 | 说明 | 是否必传 | 默认值 |
107
107
  |---------|--------------|-----------------------------------------------------------------------------|------|-----|
108
108
  | message | string | 错误信息 | 是 | -- |
109
- | err | string || object | 错误类型 | | -- |
109
+ | err | string || object | 错误类型 | | -- |
110
110
  | ENV | string | 环境变量 | 是 | -- |
111
111
  | components | string | 项目名称 | 是 | -- |
112
-
112
+ | option | object | 扩展对象 | 否 | false |
113
+ | option.usePageUrl | boolean | 是否需要页面url | 否 | -- |
114
+ | option.useFeiShuTest | boolean | 是否需要测试环境发送飞书 | 否 | false |
115
+ | option.req | object | node端页面请求体 | 否 | null |
116
+ | option.receive_id | string | 发送飞书群ID | 否 | oc_aba13955509035daa7a799f30b1b3341 |
113
117
  #### isEmptyObj // 验证是否空对象
114
118
  #### 使用
115
119
  ```javascript