Commit d050c668 authored by Wallen姚文辉's avatar Wallen姚文辉

bug修复

parent 49931df6
......@@ -33,7 +33,7 @@ def sendport():
print(data["to"])
print(data["subject"])
yag.send(data["to"],data.get("subject"),data.get("contents"))
return jsonify({"code": 200, "message": f"{data.get("subject")}邮件发送成功"}),200
return jsonify({"code": 200, "message": f"{data.get('subject')}邮件发送成功"}),200
@tool.route('/testport/getproject', methods=["GET"])
def getproject():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment