调整批量停止任务为并行任务

This commit is contained in:
2025-11-07 21:58:02 +08:00
parent 2aba193e96
commit aeea2181cc
3 changed files with 43 additions and 24 deletions

View File

@@ -734,8 +734,8 @@ def delete_last_message():
@app.route("/stopAllTask", methods=['POST'])
def stopAllTask():
idList = request.get_json()
code, msg = ThreadManager.batch_stop(idList)
return ResultData(code, [], msg).toJson()
code, msg, data = ThreadManager.batch_stop(idList)
return ResultData(code, data, msg).toJson()
# 切换账号
@app.route('/changeAccount', methods=['POST'])