feat(weibo): 增加协作 CK 批量复制与商品图片代理

This commit is contained in:
yml
2026-11-12 14:12:50 +08:00
parent 31045e0f2e
commit 0e29717c97
18 changed files with 604 additions and 153 deletions
+2
View File
@@ -1309,6 +1309,7 @@ def test_manual_mall_exchange_and_point_routes_serialize(monkeypatch, db, curren
{
"id": 37,
"goods_name": "会员1天卡",
"goods_image": "data:image/png;base64,aGVsbG8=",
"price": 100,
"remain_count": 99,
"is_sold_out": False,
@@ -1369,6 +1370,7 @@ def test_manual_mall_exchange_and_point_routes_serialize(monkeypatch, db, curren
).model_dump()
assert mall["goods"][0]["goods_name"] == "会员1天卡"
assert mall["goods"][0]["goods_image"] == "data:image/png;base64,aGVsbG8="
assert mall["weidou_balance"] == 120
exchange_item = exchange["items"][0]
assert set(exchange_item) == {