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', [])
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', [])
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
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