Example #1
0
 def schedule_api(self):
     '''
     开启API
     :return:
     '''
     app.run(API_HOST, API_PORT)
Example #2
0
 def schedule_api(self):
     """
     开启API
     """
     app.run(API_HOST, API_PORT)
Example #3
0
File: run.py Project: 1445592270/ip
def main():
    s = Scheduler()
    s.run()
    app.run()