fix(h5): 补「去领取」弹窗右上角金币图标(welfare 资源漏本地化致 404)

home/index.html 引用 assets/welfare/index/coin-icon.png,但 h5/home/assets/ 整个 welfare 子树在抽取时漏拷,弹窗右上角金币 404 不显示。从原型资源补回该图标。test: 断言 /h5/home/assets/welfare/index/coin-icon.png 返 200。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
guke
2026-06-30 11:05:42 +08:00
parent bf35a45793
commit 98cd915e2c
2 changed files with 6 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

+6
View File
@@ -87,3 +87,9 @@ def test_compare_records_requires_auth(client) -> None:
# 横幅靠 Bearer token 才拿得到数据;无鉴权必须 401(无桥/未登录时横幅隐藏)
resp = client.get("/api/v1/compare/records?limit=5")
assert resp.status_code == 401
def test_h5_home_coupon_popup_coin_icon_served(client) -> None:
# 「去领取」弹窗右上角金币图标:welfare 资源子树曾漏本地化 → 404 不显示;补齐后须 200
resp = client.get("/h5/home/assets/welfare/index/coin-icon.png")
assert resp.status_code == 200