feat: add send message async

This commit is contained in:
engigu
2024-01-03 19:55:38 +08:00
parent 6fc60d67b5
commit f575a1d246
7 changed files with 76 additions and 9 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class ApiStrGenerate {
static getCurlString(task_id, options) {
let data = { task_id: task_id };
let data = { task_id: task_id, mode: "async" };
data.text = 'Hello World!';
if (options.html) {
data.html = '<h1> Hello World! </h1>';
@@ -10,7 +10,7 @@
<br />
发送的消息会优先现在相应的类型消息进行发送如果没有将使用传的text消息进行发送
<br />
*text节点必传
** text节点必传指定mode=async将异步发送否则同步发送
</template>
<el-icon>
<QuestionFilled />