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:
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user