wgt-node-utils 1.2.13 → 1.2.16

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
@@ -247,6 +247,21 @@
247
247
  | pageName | string | 静态页面文件名称 | 是 | -- |
248
248
  | isMobile | boolean | 是否为手机设备 | 是 | -- |
249
249
 
250
+ #### getSdkF2eFiles // 获取sdk静态资源
251
+ #### 使用
252
+ ```javascript
253
+ await wgtNodeUtils.getSdkF2eFiles(API_PATH, adsTagHref, ENV)
254
+ ```
255
+ ##### 参数说明:
256
+ |参数 | 类型 | 说明 | 是否必传 | 默认值 |
257
+ |---------|--------------|-----------------------------------------------------------------------------|------|-----|
258
+ | API_PATH | string | 项目API路径 | 是 | -- |
259
+ | adsTagHref | string | SDK静态资源桶路径 | 是 | -- |
260
+ | ENV | string | 项目环境变量 | 是 | -- |
261
+ | option | object | 项目环境变量 | 否 | -- |
262
+ | option.components | string | 项目模版容器名称 | 否 | 容器名称 |
263
+ | option.receive_id | string | 发送飞书ID | 否 | oc_aba13955509035daa7a799f30b1b3341 |
264
+ | option.useSendFeiShu | boolean | 项目环境变量 | 否 | false |
250
265
 
251
266
 
252
267