예제 #1
0
 def api():
     app.run(host=API_HOST, port=API_PORT, threaded=True)
예제 #2
0
 def api():
     print('API接口开始运行')
     app.run(host=API_HOST, port=API_PORT)
예제 #3
0
 def api():
     app.run(host=API_HOST, port=API_PORT)
예제 #4
0
 def api():
     print("api working")
     app.run(host=API_HOST, port=API_PORT)
예제 #5
0
 def api():
     print('API接口开始运行')
     app.run(host=API_HOST, port=API_PORT, debug=API_DEBUG)
예제 #6
0
파일: run.py 프로젝트: MeiTianT/cookiesPool
def main():
    s = Scheduler()
    s.run()
    app.run()
 def schedule_api(self):
     """
     开启API
     """
     app.run(API_HOST, API_PORT)