From 2454b4cc3822a574d123e6752facef7c03a87394 Mon Sep 17 00:00:00 2001 From: qsc Date: Wed, 28 Jan 2026 22:06:27 +0800 Subject: [PATCH] 11 --- core/jx3_commands.py | 11 ++++++----- data/api_config.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/jx3_commands.py b/core/jx3_commands.py index 64553ef..d7262fa 100644 --- a/core/jx3_commands.py +++ b/core/jx3_commands.py @@ -322,12 +322,13 @@ class JX3Commands(Star): ) controller.stop() return - - url = await self.html_render(data1["temp"], {}, options={}) - msg_text = data1["data"] - + chain = MessageChain() - chain.url_image(url) + if data1["temp"] != "": + url = await self.html_render(data1["temp"], {}, options={}) + chain.url_image(url) + + msg_text = data1["data"] chain.message(msg_text) await new_event.send(chain) diff --git a/data/api_config.json b/data/api_config.json index 7dcace4..9dd8ec8 100644 --- a/data/api_config.json +++ b/data/api_config.json @@ -304,7 +304,7 @@ "description":"魔盒获取宏推荐列表", "params":{ "kungfu": "易筋经", - "size": "10", + "size": "20", "client": "std" } }