XZZ/main.py
2020-03-16 15:42:57 +08:00

13 lines
241 B
Python

from flask import Flask, request
from config import PORT
from route import ZZRouter
app = Flask(__name__)
@app.route('/', methods=['POST'])
def whenmsg():
ZZRouter(request.get_json())
return ''
app.run(host='0.0.0.0',debug=True)