- Windows中Apache 如何升级tls1.0到1.2
如题,急求
2018-06-06 - 小程序预览生成二维码图片怎么忽然变慢了,要等好久。
小程序预览生成二维码图片怎么忽然变慢了,要等好久。是IDE问题?还是腾讯服务器问题?每次调试都要等半天
2018-05-02 - 公众号如何群发小程序卡片
公众号如何群发小程序卡片?不是放在图文消息里,直接发送小程序卡片
2018-04-26 - innerAudioContext官方例子无法在苹果手机上播放
官方例子: [代码]const innerAudioContext = wx.createInnerAudioContext()[代码][代码]innerAudioContext.autoplay = true[代码] [代码]innerAudioContext.src = 'http://ws.stream.qqmusic.qq.com/M500001VfvsJ21xFqb.mp3?guid=ffffffff82def4af4b12b3cd9337d5e7&uin=346897220&vkey=6292F51E1E384E061FF02C31F716658E5C81F5594D561F2E88B854E81CAAB7806D5E4F103E55D33C16F3FAC506D1AB172DE8600B37E43FAD&fromtag=46'[代码] [代码]innerAudioContext.onPlay(() => { [代码] [代码] console.log('开始播放')[代码] [代码]})[代码][代码]innerAudioContext.onError((res) => { [代码] [代码] console.log(res.errMsg) [代码] [代码] console.log(res.errCode)[代码] [代码]})[代码] 不报错,能监听到onPlay,能打印出“开始播放”。 苹果上无法播放,官方出来解决下
2018-04-23 - 录音示例代码无效
[代码]const recorderManager = wx.getRecorderManager() recorderManager.onStart(() => { console.log('recorder start') }) recorderManager.onResume(() => { console.log('recorder resume') }) recorderManager.onPause(() => { console.log('recorder pause') }) recorderManager.onStop((res) => { console.log('recorder stop', res) const { tempFilePath } = res }) recorderManager.onFrameRecorded((res) => { const { frameBuffer } = res console.log('frameBuffer.byteLength', frameBuffer.byteLength) })const options = { duration: 10000, sampleRate: 44100, numberOfChannels: 1, encodeBitRate: 192000, format: 'aac', frameSize: 50} recorderManager.start(options)[代码]以上是官方示例代码,不想应,也不报错。 急用!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2018-04-10 - iPhone X无法播放录音
如题就是iPhone X无法播放录音,官方给解决一下
2018-04-09 - 微信支付 v3 支付验证签名失败
var appid = res.data.appid; var timeStamp = (Date.parse(new Date()) / 1000).toString(); var pkg = 'prepay_id=' + res.data.prepay_id; var nonceStr = res.data.nonce_str; var key = res.data.key; var paySign = md5.hexMD5('appId=' + appid + '&nonceStr=' + nonceStr + '&package=' + pkg + '&signType=MD5&timeStamp=' + timeStamp + "&key=" + key).toUpperCase(); console.log('appId=' + appid + '&nonceStr=' + nonceStr + '&package=' + pkg + '&signType=MD5&timeStamp=' + timeStamp + "&key="+key); console.log(paySign); wx.requestPayment({ timeStamp: appid, nonceStr: nonceStr, package: pkg, signType: 'MD5', paySign: paySign, success:function(){ console.log("支付成功"); }, fail: function(res){ console.log("支付失败:"); console.log(res); } }); err_code="-1" 支付验证签名失败 求官方解答!!!!急求
2018-03-27 - iPhone X无法播放录音
iPhone 7 Plus能播放,但是iPhone X不能播放。能获得临时存储MP3 的路径,不报错,没提示。能监听停止时间。就是无法调起播放器。跪求官方解答!!!!!!!!!!!!
2018-03-24 - wx.createInnerAudioContext()官方例子错误
wx.createInnerAudioContext()[代码]const innerAudioContext = wx.createInnerAudioContext() innerAudioContext.autoplay = trueinnerAudioContext.src = 'http://ws.stream.qqmusic.qq.com/M500001VfvsJ21xFqb.mp3?guid=ffffffff82def4af4b12b3cd9337d5e7&uin=346897220&vkey=6292F51E1E384E061FF02C31F716658E5C81F5594D561F2E88B854E81CAAB7806D5E4F103E55D33C16F3FAC506D1AB172DE8600B37E43FAD&fromtag=46'innerAudioContext.onPlay(() => { console.log('开始播放') }) innerAudioContext.onError((res) => { console.log(res.errMsg) console.log(res.errCode) })[代码] 上面是官方例子,没有console结果,因为src属性为空。求解这是为啥?怎么解决?
2018-03-05 - 从Tab页redirect到登录页(非tab页),请问如何返回小程序首页。
从Tab页redirect到登录页(非tab页),由于当前页面栈只登录页,请问如何返回小程序首页。跪问大神解答啊!!!!!
2018-01-05