1 Star 0 Fork 0

chenghao/thirdparty_api

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
routes.py 589 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenghao 提交于 2016-05-27 16:29 +08:00 . 修改
# coding:utf-8
__author__ = 'chenghao'
from bottle import Bottle
from search_news.news import news_app
from search_news.sogou_news import sogou_news_app
from search_news.toutiao_news import toutiao_news_app
from weather.tianqi import weather_app
from current_ip.current_ip import current_ip_app
Routes = Bottle()
# App to render / (home)
Routes.merge("")
# Mount other applications
Routes.mount("/news", news_app)
Routes.mount("/sogou_news", sogou_news_app)
Routes.mount("/toutiao_news", toutiao_news_app)
Routes.mount("/weather", weather_app)
Routes.mount("/current_ip", current_ip_app)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/chenghao/thirdparty_api.git
git@gitee.com:chenghao/thirdparty_api.git
chenghao
thirdparty_api
thirdparty_api
master

搜索帮助