微信小程序
树欲静而风不止
这个作者很懒,什么都没留下…
展开
-
javax.crypto.BadPaddingException: pad block corrupted
微信小程序获取unionId 对encryptedData进行解密报错javax.crypto.BadPaddingException: pad block corrupted解密方法报错。网上找了许多,众说纷纭。问题描述:所有其他用户都正常,就一个用户不可以。此用户特征,公司手机13年左右三星。年代较老。试了很多次无果。解决办法:重启手机...原创 2019-11-28 15:35:59 · 1876 阅读 · 0 评论 -
小程序wx.request https TLS1.2环境配置
wx.request TLS原创 2017-01-13 13:48:48 · 1844 阅读 · 0 评论 -
微信小程序授权登录解决方案(含未通过授权解决方案)
getUserInfoF:function(){ var that = this; wx.getSetting({ success: (res) => { console.info(res.authSetting); wx.getUserInfo({ success: res => { ...原创 2018-03-27 09:28:39 · 21078 阅读 · 0 评论 -
微信小程序关于内层view设置margin-top无效的解决方案
<view>上部层</view><view> <!--父层--> <viewstyle="margin-top:200px;">子层</view></view>理想中的效果是父层和上部层贴边显示,子层距离父层顶部有200px的距离,但是在调试器中却出现问题,子层和父层贴原创 2018-10-17 14:07:46 · 13378 阅读 · 5 评论 -
wx.chooseMessageFile ,微信小程序上传文件word,excel
chooseMessageFile: function (e) { var that = this; wx.chooseMessageFile({ count: 1, type: 'file', success(res) { var filename = res.tempFiles[0].name console...原创 2019-07-30 16:13:43 · 14551 阅读 · 5 评论