个人案例
同样的问题:我的是iphone pro max 12,播放一声响可以;播放“下一副”就无声了! const innerAudioContext = wx.createInnerAudioContext() innerAudioContext.autoplay = true innerAudioContext.src = 'cloud://backdata-qs3fr.6261-backdata-qs3fr-1300790726/audio/13.wav' innerAudioContext.onPlay(() => { })
InnerAudioContext在ios端无法播放?使用wx.createInnerAudioContext创建InnerAudioContext,ios端短一点的语音可以播放,但是长的语音不能播放。 然后在onError中捕获错误[图片]
2021-11-13还没解决
导航栏胶囊里的“重新进入小程序”如何用代码实现?小程序工作过程中需要“重新进入小程序”,不想按导航栏胶囊,想用代码自动实现。
2021-10-23做到这一步,下面不知如何进行?插入图片总失败!具体说就是不知怎样为我域名加一条解析记录
我的域名验证按照你们说明操作却总也不成功,为什么?我的域名:www.qiaopbs.xyz已申请并花钱购买成功,但验证按照你们说明操作却总也不成功,不知为何?
2021-06-07这次审核更是奇了,居然说我违反.....规定3.2,但又未具体说我违反了3.2里的那一条。 我怀疑第一次审核是机器,退回再送上(实际什么也为改)才是人工审,发现没问题就通过了,但从不为错审耽误时间而道歉。
为何审核过程屡次出现错误判断登陆违规的情况?我的小程序一开始是一个对用户表示欢迎的页面,其上展示的用户头像和昵称可给用户一个亲切的感觉。这个头像和昵称只有用户本人能看见,其他人并看不见: [图片] 但在以往的历次审核过程中屡次误判为违规,不知是为何,莫非是机器审核的?望今后您们能改进!
2021-05-01我单独问过下面的问题,但总也得不到关注与答复,只得借这块宝地提问: 我在开发系统里设了如下缓存配置: [图片] 为何puke1.txt 的配置不生效?
新的getUserProfile接口的矛盾之处?新增getUserProfile接口声称开发者每次通过该接口获取用户个人信息均需用户确认。但采取措施,在云数据库user中存储用户个人信息后就不用用户每次确认。那不和原来使用getUserInfo一样了吗?那何必改成getUserProfile接口多此一举呢?
2021-04-09公告称:“新增getUserProfile接口,开发者每次通过该接口获取用户个人信息均需用户确认”,但采取措施在云数据库user中记录用户信息后,也不用用户每次使用小程序时都授权。这样不是和原来使用getUserinfo接口一样了吗。改接口不是多此一举了吗? 并且产生了新问题:为了方便广大用户,我设置的用户只要授权一次就行了。但个别用户想换个马甲(更新头像或昵称)就不行了。以前用getUserinfo接口时,只要改一下手机上小程序设置里用户信息授权与否就行了;现在用新接口后手机小程序设置里声称“...未使用你的任何信息”。难道为满族这些用户的需要,我在首页界面上添加一个修改个人信息的按钮吗?
用户信息接口调整为getUserProfile的疑问?官方公告: https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801?page=1#comment-list 公告中说 "新增getUserProfile接口(基础库2.10.4版本开始支持),可获取用户头像、昵称、性别及地区信息" 那么对于旧版客户端(基础库<2.10.4的用户), 旧的接口(wx.getUserInfo/wx.authorize/wx.getSetting)还支持吗?
2021-04-09无人能答吗?无人敢答吗?
为何缓存配置不生效?我在开发系统里设了如下缓存配置: [图片] 为何puke1.txt 的配置不生效?
2021-04-09本人刚问了一个问题: 程序中有如下语句: ..... this.setData({imD:"true"},()=>{ if(this.data.imD!='true') wx.showModal({ title: '提醒!',content: '程序37未正确执行!', showCancel: false}) }) ...... 问:理论上,提醒语句有显示出来的可能吗? 实践中确实发现,偶尔该提醒语句会出现,但事后检查imD的内容并未错(是“true”),为什么提醒语句会显示?
this.setData赋值之后, 立即this.data,能够获取到变化到值么?比如:当前this.setData({ a : 1}),这时候能立即取到 this.data.a 的变化的值么?? onShow(){ let a = 0 this.setData({ a: 1 }) this.data.a 是否就能取到已变化到值呢? }
2020-12-12补充:有关程序 puke:function(){//生成32副随机牌套并发到云存储(名为puke+屋号.txt) var i,ii,iii,j,j1,j2,j3,j4,k,aaa='',bbb=15 var x=[] var pk=["","SA","SK","SQ","SJ","ST","S9","S8","S7","S6","S5","S4","S3","S2", "HA","HK","HQ","HJ","HT","H9","H8","H7","H6","H5","H4","H3","H2", "DA","DK","DQ","DJ","DT","D9","D8","D7","D6","D5","D4","D3","D2", "CA","CK","CQ","CJ","CT","C9","C8","C7","C6","C5","C4","C3","C2"] var sss=[],hhh=[],ddd=[],ccc=[] var text1=["","","","",""] var text2=["","","","",""] var text3=["","","","",""] var text4=["","","","",""] var ns=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var nh=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var nd=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var nc=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var es=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var eh=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var ed=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var ec=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var ws=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var wh=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var wd=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var wc=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var ss=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var sh=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var sd=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var sc=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] var fsm = wx.getFileSystemManager() ........//省略无关语句 fsm.writeFile({ //先建立一个空文件:puke.txt filePath: wx.env.USER_DATA_PATH + '/puke.txt', data: (""), encoding: 'utf-8', }) for( i=1;i<=32;i++){ fsm.appendFile({ filePath: wx.env.USER_DATA_PATH + '/puke.txt', data: (//和打牌桌面一致,按南西北东顺序排 '"'+ss[i]+'""'+sh[i]+'""'+sd[i]+'""'+sc[i]+'""' +ws[i]+'""'+wh[i]+'""'+wd[i]+'""'+wc[i]+'""' +ns[i]+'""'+nh[i]+'""'+nd[i]+'""'+nc[i]+'""' +es[i]+'""'+eh[i]+'""'+ed[i]+'""'+ec[i]+'"' ), encoding: 'utf8', }) } wx.cloud.uploadFile({ cloudPath:'puke/puke'+(App.globalData.roomNumber).toString()+'.txt', filePath: wx.env.USER_DATA_PATH + '/puke.txt', }) }, txt文件样例: "542""J76""T86""JT42""AJT6""AT2""AK2""653""KQ9""KQ84""J753""AK""873""953""Q94""Q987""A43""T""KQJT52""JT3""976""A984""A643""K8""Q852""Q7653""7""Q94""KJT""KJ2""98""A7652""A85""KJ752""K""Q742""T42""Q63""AQ""AT965""93""AT94""T9764""K3""KQJ76""8""J8532""J8""85432""54""K95""AK6""AQ96""KQ983""3""QJ2""K7""A7""AQJT62""953""JT""JT62""874""T874""Q93""953""863""A854""AT765""AJ""K52""T32""J""KQ82""A94""KQJ96""K842""T764""QJT7""7""T32""82""QJ7542""Q4""A75""K9654""T83""K3""KQ6""T3""AK9""A9865""J984""AQJ7""6""JT72""AQJT42""KQ5""QT7""2""953""A43""A65""KJT9""87""J876""982""AQ83""K6""T92""KJ43""7654""K832""T7""K86532""T""AQJ96""J53""T""AK87""74""AKQ8""AQ""QJ642""T5""9642""J974""953""J432""QJ873""J7""J4""9876""62""T532""Q72""AK5""K94""84""KT853""QT""AT5""AKQ96""A96""QJ9642""K5""92""AKT""K85""QJ974""87""842""T7""AT862""K5""QJ73""A3""3""AQJT643""965""64""Q""J864""AQ9763""872""AJ98764""K""J4""KQJ""K53""QT5""KT52""AT953""T2""A9732""8""Q732""QT6""54""9653""K84""A85""AQT76""87""AJT9""KJ942""K9""QJ""65""73""J832""AKT42""K942""T9542""KJ""32""QT5""76""Q832""KJT7""A3""AKQJ""A5""AQ964""J876""83""T9764""85""43""AQT8""Q64""JT96""87""K5""8532""AKQ75""AKQT5""J92""J""8432""J962""7643""AKT97""""A5""K73""AKJT4""Q92""KT93""QJ""Q932""A83""Q62""A652""6""KT654""J874""T984""875""J7""963""KT95""JT3""K84""Q8""Q832""Q96""JT95""K4""AJ4""A874""A732""AJT752""76""K52""Q6""AJ84""K32""QJ7""A65""76""JT65""K985""K97""""984""AT432""QJ832""KQT9532""AQ7""6""T4""32""72""KQT2""J9754""J""9""A98653""AQT62""AKQT87""AJT6""J""83""9654""KQ8543""74""K""A2""JT8652""T""A984""T8""AK943""743""QT6""KJ74""Q""KQJ52""J75""Q9653""7""A986""K32""AJ5""JT82""742""842""KQ432""A6""AK85""Q6""T97""K754""QJ3""J97""86""Q93""T96""AKT53""AJT2""AJT4""87""J84""654""K762""Q93""T96""KQ9873""85""T42""K2""""Q93""AKJ65""AQ753""75""AQ754""T9874""4""AK83""KJT93""""AKT7""Q9""86""AK3""QJ6532""JT642""2""QJ652""98""J75""AKT82""QJ3""K2""QT98""QJ""T7""AQ743""AK43""753""A9""T965""62""964""K86542""J8""AQT5""J743""K5""AJ5""K762""""QJT76""9864""943""A85""A3""KT732""J8""KQT962""9842""Q""T942""6""KJ9642""94""Q85""QJ93""T75""Q65""AK""KT74""AQ""AJT87""J763""A852""83""K32""KQ86""4""KT7652""JT""94""KQJT3""AJ4""764""52""8752""Q983""AK2""AJT73""A96""""Q9853""Q74""T9653""K973""2""9""AKQJ""A52""T8754""A65""872""T4""AKJ96""KJT832""4""QJ86""Q3""T2""AQ2""JT943""K97""Q94""J985""Q8""T643""AK8653""64""K752""5""J7""KT73""A6""AQJ82""J2""KQJ63""QT73""T8""T863""42""J8""76543""AK754""A85""A42""AJ""Q9""T97""K965""KQ92""K8""AT93""KT962""AQ""AQ97""QJ65""Q83""87""J6432""K8742""7""K6""T5""""AJ54""JT95432""JT7""9762""2""AT953""A5""AKT54""AT65""Q2""KQ96432""J""KQ""K86""8""Q83""J98743""J74""Q8742""J7""AK854""T""K96""AT654""J97""A4""AJ53""K32""QT62""82""T""Q98""3""KQJ97653"
用wx.cloud.uploadFile往云存储中上传2.63K的.txt文件,偶尔出错为什么?[图片] 如红圈所示,只发了部分长度的文件。遇到这种情况,wx.cloud.uploadFile会返回fail 吗?
2020-12-07有回复后微信提醒我
微信电脑板3.0以上版本为何不如2.9.5.56?[图片]这是微信电脑版2.9.5.56的表现 [图片]这是微信电脑板3.0以上版本的表现:导航栏分家了,而且还有其他错误(这里先不表述)
2020-11-22