wgt-node-utils 1.2.50 → 1.2.52

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
@@ -289,4 +289,17 @@
289
289
  |参数 | 类型 | 说明 | 是否必传 | 默认值 |
290
290
  |---------|--------------|-----------------------------------------------------------------------------|------|-----|
291
291
  | req | Object | node 请求req | 是 | -- |
292
+
293
+
294
+ #### getSearchSiteSystem // 获取search模版的设备
295
+ #### 使用
296
+ ```javascript
297
+ await wgtNodeUtils.getCloudFrontViewerCountry(searchSiteSystem)
298
+ ```
299
+ ##### 参数说明:
300
+ |参数 | 类型 | 说明 | 是否必传 | 默认值 |
301
+ |---------|--------------|-----------------------------------------------------------------------------|------|-----|
302
+ | req.searchSiteSystem | string | search模版回传的当前展示pc还是手机端 只有两个值 pc 或者mobile | 是 | -- |
303
+
304
+
292
305