Commit f10302822aac745157c1ed5038d9781e563477c7
1 parent
6ecec222
Exists in
master
修正自定义菜单README描述错误
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
@@ -57,8 +57,8 @@ menu_json的生成方法请参考: | @@ -57,8 +57,8 @@ menu_json的生成方法请参考: | ||
57 | https://github.com/lanrion/weixin_rails_middleware/wiki/DIY-menu | 57 | https://github.com/lanrion/weixin_rails_middleware/wiki/DIY-menu |
58 | 58 | ||
59 | ```ruby | 59 | ```ruby |
60 | -app_client.menu.delete(menu_json, app_id) | ||
61 | -app_client.menu.create(app_id) | 60 | +app_client.menu.create(menu_json, app_id) |
61 | +app_client.menu.delete(app_id) | ||
62 | app_client.menu.get(app_id) | 62 | app_client.menu.get(app_id) |
63 | ``` | 63 | ``` |
64 | 64 |