```
$token = get_weixin_token();
$data = $this->wechatmenu();
```
> 微信回调地址:create 添加,delete删除 菜单
```
$url_create = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=". $token;
$url_delete = 'https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=' . $token;
```
```
$res = request_post($url_delete, $data);
print_r($res);
$res = request_post($url_create, $data);
print_r($res);
```