feat: align executable control flow with markdown

This commit is contained in:
cflmy committed 2026-11-23 17:13:44 +08:00
1 parent e67697be06
commit 0717216c9d
10 files changed
+922

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
<p>根据用户的会员身份计算最终支付金额。会员享受九折优惠,
非会员维持原价。采用整数运算,避免金额处理中的浮点误差。</p>
<p><code>params(原价: Int, 是否会员: Bool)</code></p>
<p><strong>最终价格 = 原价</strong></p>
<ol>
<li>
<p><code>if 是否会员</code>:会员享受九折优惠。</p>