def daily_sign(): """每日签到""" data = sign.daily_sign(openid) if data: return wechat.response_news(data) else: content = app.config['NOT_SIGN_TIME_TEXT'] return wechat.response_text(content)
def bus_routes(): """公交信息""" return wechat.response_news(app.config['BUS_ROUTES_NEWS'])
def academic_calendar(): """校历""" return wechat.response_news(app.config['ACADEMIC_CALENDAR_NEWS'])