调整批量停止任务为并行任务
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user