门店信息

This commit is contained in:
2026-07-27 10:57:02 +08:00
parent ef7eb9dbb1
commit 9a1f2f40fc
6 changed files with 414 additions and 14 deletions
@@ -27,6 +27,16 @@ def product_other_url(product_id: str) -> str:
return f"{BASE_URL}/product/other/{product_id}"
def shop_url(tenpo_cd: str) -> str:
"""加盟店/市场店铺主页地址:店名、logo、评分与店铺公告。"""
return f"{BASE_URL}/shop/{tenpo_cd}"
def shop_section_url(section: str, tenpo_cd: str) -> str:
"""店铺子页地址,section 取 delivery/policy/service/contact/order/rating。"""
return f"{BASE_URL}/shop/{section}/{tenpo_cd}"
def trade_detail_url(trade_code: str) -> str:
"""交易(订单)详情页地址。"""
return f"{BASE_URL}/pcmypage/action_sell_search/detail?trade_code={trade_code}"