示例#1
0
def get_custom_menu():
    return False;
    access_token = get_access_token()
    url = WEIXIN_URLS['get_custom_menu'](access_token)
    res = http_get(url)
    rjson = json.loads(res)
    return rjson.get('menu', {}).get('button', [])
示例#2
0
def get_custom_menu():
    return False
    access_token = get_access_token()
    url = WEIXIN_URLS['get_custom_menu'](access_token)
    res = http_get(url)
    rjson = json.loads(res)
    return rjson.get('menu', {}).get('button', [])
示例#3
0
def modify_custom_menu(buttons):
    return False;
    #print buttons
    access_token = get_access_token()
    url = WEIXIN_URLS['modify_custom_menu'](access_token)
    res = http_post(url, buttons)
    return res
示例#4
0
def modify_custom_menu(buttons):
    return False
    #print buttons
    access_token = get_access_token()
    url = WEIXIN_URLS['modify_custom_menu'](access_token)
    res = http_post(url, buttons)
    return res