wgt-node-utils 1.2.28 → 1.2.30

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
@@ -268,12 +268,13 @@
268
268
  #### getSiteLanguage // 获取站点语言列表
269
269
  #### 使用
270
270
  ```javascript
271
- await wgtNodeUtils.getSiteLanguage(url)
271
+ await wgtNodeUtils.getSiteLanguage(url, type)
272
272
  ```
273
273
  ##### 参数说明:
274
274
  |参数 | 类型 | 说明 | 是否必传 | 默认值 |
275
275
  |---------|--------------|-----------------------------------------------------------------------------|------|-----|
276
276
  | url | string | 请求url | 是 | -- |
277
+ | url | string | 网站模版类型 novel:小说 content: 咨询 | 是 | -- |
277
278
 
278
279
  #### getCloudFrontViewerCountry // 获取国家code || 用户浏览器设备语言
279
280
  #### 使用