コード例 #1
0
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)
コード例 #2
0
ファイル: response.py プロジェクト: wvuu/gxgk-wechat-server
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)
コード例 #3
0
def bus_routes():
    """公交信息"""
    return wechat.response_news(app.config['BUS_ROUTES_NEWS'])
コード例 #4
0
def academic_calendar():
    """校历"""
    return wechat.response_news(app.config['ACADEMIC_CALENDAR_NEWS'])
コード例 #5
0
ファイル: response.py プロジェクト: wvuu/gxgk-wechat-server
def bus_routes():
    """公交信息"""
    return wechat.response_news(app.config['BUS_ROUTES_NEWS'])
コード例 #6
0
ファイル: response.py プロジェクト: wvuu/gxgk-wechat-server
def academic_calendar():
    """校历"""
    return wechat.response_news(app.config['ACADEMIC_CALENDAR_NEWS'])