File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,11 @@ Currency:
136136 Key: vault
137137` ` `
138138
139+ 说明:
140+
141+ - 商店级 `Currency.Key` 是可选项
142+ - 如果商店文件里不写,会继续回退到模块级
143+
139144# ## 模块级
140145
141146适用于:
@@ -150,6 +155,11 @@ Currency:
150155 Key: vault
151156` ` `
152157
158+ 说明:
159+
160+ - 模块级是这条业务线的默认货币
161+ - 当商品级和商店级都未定义时,会使用这里的值
162+
153163# ## 一个完整示例
154164
155165假设你想让:
Original file line number Diff line number Diff line change @@ -226,7 +226,10 @@ goods:
226226| `material` | 商品材质。 |
227227| `amount` | 每次购买给多少个。 |
228228| `price` | 单次交易价格。 |
229- | `currency` | 商品级货币 key。可选;未写时会继续回退到商店级和模块级。 |
229+ | `buy-max` | 单次购买的最大数量或上限展示值。 |
230+ | `name` | 商品显示名。 |
231+ | `lore` | 商品说明。 |
232+ | `currency` | 商品级货币 key。可选;只有你想覆盖默认货币时才需要写。 |
230233
231234# # 当前货币优先级
232235
@@ -236,9 +239,6 @@ goods:
2362392. 当前分类文件里的 `Currency.Key`
2372403. `SystemShop/settings.yml` 里的 `Currency.Key`
2382414. 默认回退 `vault`
239- | `buy-max` | 单次购买的最大数量或上限展示值。 |
240- | `name` | 商品显示名。 |
241- | `lore` | 商品说明。 |
242242
243243# # 你应该怎么改
244244
You can’t perform that action at this time.
0 commit comments