1. 首先拿到獲得 appId 和 appSecret
2. 拿到 access_token
官方文檔 https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html
到 這裏 進行在線請求 ,輸入拿到的appId 和 appSecret
這時候可能會返回ip不允許調用
需要配置下ip白名單
再進行修改菜單接口
官方文檔 https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Creating_Custom-Defined_Menu.html
到 這裏 在線請求
上面是我創建的,見返回值可以看到已經成功
公衆號的菜單也出來了