Skip to content

Commit

Permalink
<jx3>[feat]item price wbl
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Sep 12, 2024
1 parent 7cb390f commit 9e6ec14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/jx3/trade/item_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ async def queryWBLInfo(item_standard_name: str):
item_standard_name = aliases_map[item_standard_name]
final_url = f"https://trade-api.seasunwbl.com/api/buyer/goods/list?filter[role_appearance]={item_standard_name}&filter[state]=2&goods_type=3"
data = await get_api(final_url)
if data["code"] == -11:
return "万宝楼正在维护中……暂时没有数据"
wbl_data = []
for each_data in data["data"]["list"][0:6]:
server = each_data["server_name"]
Expand Down

0 comments on commit 9e6ec14

Please sign in to comment.