wgt-node-utils 1.2.16 → 1.2.18

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
@@ -135,12 +135,13 @@
135
135
  ##### 返回格式
136
136
  ```javascript
137
137
  return {
138
- id: item.game_id,
139
- icon: item.base_icon,
140
- path: item.game_path,
141
- name: item.game_name,
142
- icon_video: item.icon_video,
143
- new: item.new ? true : undefined // 将false转换为undefined, 用于节省ssr生成的文本长度
138
+ game_category: item.game_category,
139
+ id: item.game_id,
140
+ icon: item.base_icon,
141
+ path: item.game_path,
142
+ name: item.game_name,
143
+ icon_video: item.icon_video || null,
144
+ new: item.new ? true : undefined // 将false转换为undefined, 用于节省ssr生成的文本长度
144
145
  }
145
146
  ```
146
147