Beispiel #1
0
 def api():
     app.run(host=API_HOST, port=API_PORT, threaded=True)
Beispiel #2
0
 def api():
     print('API接口开始运行')
     app.run(host=API_HOST, port=API_PORT)
 def api():
     app.run(host=API_HOST, port=API_PORT)
 def api():
     print("api working")
     app.run(host=API_HOST, port=API_PORT)
Beispiel #5
0
 def api():
     print('API接口开始运行')
     app.run(host=API_HOST, port=API_PORT, debug=API_DEBUG)
Beispiel #6
0
def main():
    s = Scheduler()
    s.run()
    app.run()
 def schedule_api(self):
     """
     开启API
     """
     app.run(API_HOST, API_PORT)