第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

老師,我的自定菜單創(chuàng)建失敗,錯誤碼 48001

老師,我的自定菜單創(chuàng)建失敗,錯誤碼 48001,說是api功能不支持,那要怎么才能支持呢?

正在回答

7 回答

我也報48001的錯誤,不知道怎么回事,但是要本地啟動下WxTest控制臺才會打印出來。放到服務(wù)器上都沒輸出的,不知道是什么原因,放到服務(wù)器上WeiXinTest.java 會自己運(yùn)行嗎?

0 回復(fù) 有任何疑惑可以回復(fù)我~

我又遇到一個問題 ,那個定位 怎么有時候 那個map返回的值不一樣。。。

正常:{MsgId=6158640007720, FromUserName=ohrIWs3URqouoyqA7dY, CreateTime=1433915340, Label=東城區(qū)祈年大街, 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}

。。。。。。




0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Mefa

雖然我一直獲取的都是location。。。。
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~

失敗了,你們給看看吧,我是在測試賬號弄的,那個button(有子菜單的)組裝有問題


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Mefa

建議看下是不是Button相關(guān)類的屬性大小寫錯了,要和xml格式中的標(biāo)簽名一樣
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
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://idcbgp.cn");
		
		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;
	}


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

儒家張良不是我 提問者

看的 好像沒啥問題 和老師的一樣 差不多
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#2

子非酸菜魚 回復(fù) 儒家張良不是我 提問者

郁悶死了,這個問題搞了一個禮拜。 200 OK Connection: keep-alive Date: Wed, 10 Jun 2015 09:40:08 GMT Server: nginx/1.8.0 Content-Type: application/json; encoding=utf-8 Content-Length: 48 { "errcode": 40017, "errmsg": "invalid button type" } 提示: Invalid button type
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~

樓上正解

0 回復(fù) 有任何疑惑可以回復(fù)我~

本期課程2-4圖片消息回復(fù),5分15秒開始看

0 回復(fù) 有任何疑惑可以回復(fù)我~

額,我試試,謝謝老師

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

子非酸菜魚

你成功了嘛
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#2

子非酸菜魚 回復(fù) 儒家張良不是我 提問者

我用測試號可以了,但是那個有子菜單的不能添加進(jìn)去
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#3

儒家張良不是我 提問者 回復(fù) 子非酸菜魚

我那個報的48001 ,不知道咋弄了
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#4

子非酸菜魚 回復(fù) 儒家張良不是我 提問者

你要把WeixinUtil.java文件里的APPID和APPSECRET換成測試賬號的
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#5

儒家張良不是我 提問者 回復(fù) 子非酸菜魚

正解,是這樣的
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#6

子非酸菜魚 回復(fù) 儒家張良不是我 提問者

我的子菜單弄不出來,煩死了
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#7

Mefa 回復(fù) 儒家張良不是我 提問者

你是在測試號上進(jìn)行測試的嘛
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#8

Mefa 回復(fù) 子非酸菜魚

一定是組裝的菜單結(jié)構(gòu)錯了
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#9

儒家張良不是我 提問者 回復(fù) 子非酸菜魚

那你的菜單也是創(chuàng)建失敗了嗎?
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
#10

子非酸菜魚 回復(fù) 儒家張良不是我 提問者

失敗了,你們給我看看吧 public static Menu initMenu(){
2015-06-10 回復(fù) 有任何疑惑可以回復(fù)我~
查看8條回復(fù)

舉報

0/150
提交
取消

老師,我的自定菜單創(chuàng)建失敗,錯誤碼 48001

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號