1 Star 0 Fork 0

chenghao/thirdparty_api

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
startup.py 345 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenghao 提交于 2016-03-25 18:19 +08:00 . 修改
# coding:utf-8
__author__ = 'chenghao'
from gevent import monkey
monkey.patch_all()
from bottle import run, Bottle, GeventServer as server
from routes import Routes
bottle = Bottle()
bottle.merge(Routes)
@bottle.get("/")
def index():
return {"code": 0}
run(server=server, app=bottle, host='0.0.0.0', port=8000, reloader=True, debug=True)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/chenghao/thirdparty_api.git
git@gitee.com:chenghao/thirdparty_api.git
chenghao
thirdparty_api
thirdparty_api
master

搜索帮助