Skip to content

Commit

Permalink
<jx3>[feat]fix gold price
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Sep 14, 2024
1 parent 951f1da commit 3545b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/jx3/gold/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def demon_(server: str = "", group_id: str = ""): # 金价 <服务器>

data = await post_url("https://www.jx3mm.com/api/uniqueapi/Apiinterface/gettrade", json={"v": goal_server})
data = json.loads(data)
if "error" not in data:
if "data" in data:
template_jinjia = """
<tr>
<td class="short-column">{{ date }}</td>
Expand Down

0 comments on commit 3545b9d

Please sign in to comment.