太内向了,多和同事聊天,别扯皮
小程序开发遇到了问题,获取openid时异常,微信内部错误,求教一下哪位大佬知道原因和解决方式?感谢[图片][图片] toLogin(){ const accoutInfo = wx.getAccountInfoSync(); console.log(accoutInfo.miniProgram.appId) console.log(accoutInfo.miniProgram.envVersion) console.log(accoutInfo.miniProgram.version) let _this = this; console.log('开始获取用户信息'); uni.getUserProfile({ desc: "获取你的昵称、头像、地区及性别", success: (res) => { uni.login({ success(code) { console.log('获取用户信息成功', res); console.log('开始获取登录凭证'); _this.$http.request('/user/wxlogin',{ code:code.code,//respon.msg.openid,// 是 string 用户code nickname:res.userInfo.nickName,// 是 string 用户昵称 avatar:_this.imgUrl+'/default.jpg',//res.userInfo.avatarUrl,// 否 string 用户头像 pid:_this.pid }) uni.setStorageSync('token', response.data.userinfo.token); uni.setStorageSync('userInfo', response.data.userinfo); _this.session_key = response.data.userinfo.session_key if(response.data.userinfo.mobile){ uni.showToast({ title: '登陆成功', icon:'none' }); _this.flag = false }else{ _this.phoneFlag = true console.log('登录失败,后端返回错误码', response.code); uni.showToast({ title: '登录失败', icon: 'none' }); } } }) } }) }, fail() { } }) },
01-07神TM的前后端扯皮,真是服了,跟审核无关,跟白名单无关。自己定义的错误,自己都不知道
我后端想获取openid,提示code": 401, "msg": "请登录后操作"?审核还差管局最后一步?跟这个有关系吗? 前端已经正确传递code,白名单也配置了
01-07啥信息也不给,官方还能解决?官方是二郎显圣真君,还是三坛海会大神
微信服务号,在开发接口管理中填写服务器配置后,点提交没反应微信服务号,在开发接口管理中填写服务器配置时,填了URL、Token等之后,点提交按钮没有任何反应;百度了一下,发现以前也有人遇到这个问题,是官方的工程师解决的,还请帮忙解决一下,谢谢
01-07ping一下不就有答案了
请问官方,miniprogram-ci目标地址ip是多少?从日志里看见有个域名 servicewechat.com/wxa/ci/upload 想知道这个域名指向的ip地址是多少,公司需要配置服务器访问外网的网络策略,只支持配置ip。
01-07你没看还要被约谈吗
收到这个通知需要改吗?[图片]
01-07企业微信机器人文件上传接口 有接口地址吗
企业微信机器人文件上传接口如何调用?能给个postman的参数配置页面截图吗?Headers和Body的,差了很多资料都没有找到相关
01-07接口pengding跟小程序码有啥关系,很迷
获取不限制的小程序码接口没有返回正确的小程序码https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html [图片][图片]调用获取不限制的小程序码接口,接口一直pending中没有反应,没有返回正确的小程序码
01-07又不是微信报的错[图片]
小程序登录问题?private static final String URL_WX_CODE_2_SESSION = "https://api.weixin.qq.com/sns/jscode2session"; String url = UriComponentsBuilder .fromHttpUrl(URL_WX_CODE_2_SESSION) .queryParam("appid", appid) .queryParam("secret", secret) .queryParam("js_code", code) .queryParam("grant_type", "authorization_code") .build().toUriString(); 后台springboot通过OkHttp3调用微信登录,结果报错: Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 请问要如何解决 在本机调试没问题,运行在阿里云会出现以上错误
01-06社区成114了啊
https://wx.icall.me是哪个开发商的?请问这个https://wx.icall.me开发商有人知道客服电话或者联系方式吗?
01-06你提问的时候不也一样,多写点能死啊 wx.miniapp.shareImageMessage 多端应用api,小程序不能用
文档能不能详细点,嗯?多写点会死人吗?https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/miniapp/api/miniapp/shareImageMessage.htmlhttps://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/private-message.html imageClick(e) { wx.miniapp.shareImageMessage({ imagePath: '存储图片的本地路径', thumbPath: '存储图片的本地路径', scene: 0, success(res) { wx.showToast({ title: '成功:分享图片', }) }, fail() { wx.showToast({ title: '失败:分享图片', }) } }) } 需要open能力?能不能把这个写详细一点。完整代码太多了,就不贴出来了,我直接添加了点击事件,开发者工具报错 MiniProgramError undefined is not an object (evaluating 'wx.miniapp.shareImageMessage') TypeError: undefined is not an object (evaluating 'wx.miniapp.shareImageMessage') @https://usr//pages/CustomComponents/bill_image/bill_image.appservice.js:2:2315 @[native code] h@https://lib/WAServiceMainContext.js:1:41733 imageClick@[native code] imageClick@https://usr//pages/CustomComponents/bill_image/bill_image.appservice.js:2:2892 @https://lib/WASubContext.js:1:193687 @https://lib/WASubContext.js:1:392726 pe@https://lib/WASubContext.js:1:282486 de@https://lib/WASubContext.js:1:282379 @https://lib/WASubContext.js:1:283060 @https://lib/WAServiceMainContext.js:1:932431 emit@https://lib/WAServiceMainContext.js:1:339104 emit@[native code] dispatch@https://lib/WAServiceMainContext.js:1:350899 cb@https://lib/WAServiceMainContext.js:1:351440 cb@[native code] emit@https://lib/WAServiceMainContext.js:1:338476 subscribeHandler@https://lib/WAServiceMainContext.js:1:346736 @[native code] global code@ 是什么原因呢?去哪里可以设置呢?没有文档吗?让开发者去猜吗?
01-06