老师,我的自定菜单创建失败,错误码 48001
老师,我的自定菜单创建失败,错误码 48001,说是api功能不支持,那要怎么才能支持呢?
老师,我的自定菜单创建失败,错误码 48001,说是api功能不支持,那要怎么才能支持呢?
2015-06-09
我又遇到一个问题 ,那个定位 怎么有时候 那个map返回的值不一样。。。
正常:{MsgId=6158640007720, FromUserName=ohrIWs3URqouoyqA7dY, CreateTime=1433915340, Label=东城区祈年大街, Scale=16, Location_X=39.895153, ToUserName=gh_001cb61311c8, Location_Y=116.412437, MsgType=location}
不正常:
{FromUserName=ohrIWs3URqouoyqA7dY, EventKey=click4, Event=location_select, CreateTime=1433918018, SendLocationInfo=, ToUserName=gh_001cb61311c8, MsgType=event}
。。。。。。
public static Menu initMenu(){ ClickButton button11 = new ClickButton(); button11.setName("click-menu"); button11.setType("click"); button11.setKey("11"); ViewButton button21 = new ViewButton(); button21.setName("view-menu"); button21.setType("view"); button21.setUrl("http://www.imooc.com"); ClickButton button31 = new ClickButton(); button31.setName("event"); button31.setType("scancode_push"); button31.setKey("31"); ClickButton button32 = new ClickButton(); button32.setName("location"); button32.setType("location_select"); button32.setKey("32"); Button button = new Button(); button.setName("first menu"); button.setSub_btn(new Button[]{button31,button32}); Menu menu = new Menu(); menu.setButton(new Button[]{button11,button21,button}); return menu; }
举报