- 备案域名无法提交保存
- 当前 Bug 的表现(可附上截图) [图片] [图片] [图片] - 预期表现 请尽快解决 - 复现路径 253558122@qq.com - 提供一个最简复现 Demo
2018-12-27 - 【客服这个配置到底在哪里配置】小程序登录提示48001,接口为授权
{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: 8dBQDa0574th24 ]"} https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx7b7ef4f0a593a157&secret=1c2c4634d510a3bca783fcd7948cb008&code=021uI5pt1t3kzb07KQst1IvTot1uI5pk&grant_type=authorization_code
2018-03-20 - 在开发工具中 调试socket无错误,但是发布后的项目socket都有问题了。
旧项目的socket也出现连接不上了,socket后台发现,有些人的手机可以连接成功。
2017-12-28 - 为撒通过access_token获取二维码图片无权限啊???求解
{"errcode":48001,"errmsg":"api unauthorized hint: [pYkR5a0316vr43!]"} public class Test1 extends Thread { private static WXkey key=null; private static String access_token=""; private static int num=1; public static void main(String[] args) throws Exception{ key=XmlWxkey.key("youpu_com",XmlWxkey.gzhypds); for (int i = 0; i <9999; i++) { new Test1().start(); } } public void run(){ try { getToken(key); } catch (Exception e) { e.printStackTrace(); } } public static void getToken(WXkey key) throws Exception{ if(num%444==0 || "".equals(access_token)){ String loadurl="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="+ key.getAppId()+"&secret="+key.getAppSecret(); String jsonstr=url(loadurl,""); JSONObject json=JSONObject.fromObject(jsonstr); access_token=Convert.filter(json.get("access_token")); } getCodeImg(access_token); } public static void getCodeImg(String access_token) throws Exception{ String loadurl="https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode?access_token="+access_token; JSONObject json=new JSONObject(); json.put("path","pag/index/index");json.put("width",400); String jsonstr=WXurl.url(loadurl,json.toString()); System.out.println(jsonstr); } public static String url(String url,String where)throws Exception{ String result=""; URL address=new URL(url); HttpURLConnection uc=(HttpURLConnection)address.openConnection(); uc.setRequestProperty("Charsert", "UTF-8"); uc.setRequestProperty("Accept", "*/*"); uc.setRequestProperty("Content-Type", "application/json"); uc.setRequestProperty("connection", "Keep-Alive"); uc.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) "); uc.setRequestMethod("POST"); uc.setDoOutput(true); OutputStream os = uc.getOutputStream(); os.write(where.getBytes()); // &password=admin os.close(); uc.connect(); InputStream inputStream=uc.getInputStream(); InputStreamReader inputStreamReader=new InputStreamReader(inputStream,"utf8"); BufferedReader news=new BufferedReader(inputStreamReader); String line=news.readLine(); while (line!=null) { result+=line; line=news.readLine(); } news.close(); inputStreamReader.close(); inputStream.close(); return result; } }
2017-06-22 - 【智商是硬伤】获取小程序二维码流是多少进制的(二进制,八进制)?
为啥不给二维码服务器图片地址啊 // function getToken(){ var loadurl="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="+ getApp().data.appkey.appid+"&secret="+getApp().data.appkey.secret; wx.request({ url: loadurl,method: 'POST', header: {'content-type': 'application/x-www-form-urlencoded'}, data: { } ,success: function (res) { var access_token=res.data.access_token; console.log(access_token); getCode(access_token); } }); } function getCode(access_token){ var loadurl="https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode?access_token="+access_token; wx.request({ url: loadurl,method: 'POST', //header: {'content-type': 'application/x-www-form-urlencoded'}, data: { "path":"pag/index/index", "width":200, },success: function (res) {//图片 二进制流 pag.setData({img_code:res.data }); console.log("图片"+res.data.length); //for(var p in res.data){ console.log(p + " " + res.data[p]); } } }); } [图片]
2017-06-09 - navigator 只能点开4层 ,第5层得url就点击失效了。
navigator 只能点开4层 ,第5层得url就点击失效了。
2017-06-05