- 公众号迁移以后,获取新openId和老openID的关系?
调用接口 https://api.weixin.qq.com/cgi-bin/changeopenid 报错如下: {"errcode":63183,"errmsg":" rid: 677cbb4c-3a7bd540-234badb9"} 账号状态:迁移已审核通过,还没有完成最终迁移。 请问是需要完成最终迁移才调以上接口实现功能吗?害怕完成最终迁移,老公众号又不能使用了,会出问题。
01-07 - 信息流列表中,头像错位问题?
信息流列表中,同样的地址放在for循环中,展示的却是不同的头像,如下图所示: 前提:上下有使用该错位头像的其他用户发帖。 [图片] [图片] 开发版本信息如下: [图片] dataList中的信息有很多,模拟数据出来 <block wx:for="{{dataList}}" wx:for-item="item" data-index="index" wx:if="{{index>=0 && !dataList[index].hide}}"> <view id="item-{{index}}" class="island" data-value="{{dataList[index]}}" data-index="{{dataList[index]}}"> <view class="list-layout"> <image class="island-avatar" bindtap="onTapCustomInfo" data-value="{{dataList[index]}}" src="{{item.avatar==null?'../../assets/gs_logo.png':item.avatar}}"></image> <view class="list-content"> <view class="island-name" bindtap="onTapCustomInfo" data-value="{{dataList[index]}}">{{item.wxName==null?"火星用户":item.wxName}}</view> <view class="island-identity" bindtap="onTapCustomInfo" data-value="{{dataList[index]}}" wx:if="{{item.memberIdentity!=null}}">{{item.memberIdentity==null?"":item.memberIdentity}}</view> <view class="message-content"><text class="message" data-value="{{dataList[index]}}" bindtap="supportMultipleTap" bindlongtap="longTap" bindtouchstart="touchStart" bindtouchend="touchEnd" >{{dataList[index].message==""?"":dataList[index].message}}</text></view> </view> </view> <view class="content-layout"> <block class="message-image" wx:if="{{item.image}}" wx:for="{{common.toStringArray(item.image)}}" wx:for-item="imgitem" data-index="id"> <video src="{{imgitem}}" data-image='{{common.toStringArray(item.image)}}' wx:if="{{common.isImageOrVideo(imgitem) &&common.toStringArray(item.image).length == 1}}" style="width:620rpx;max-height:1080rpx;height:650rpx;margin-left:110rpx;margin-right:10rpx;" show-mute-btn id="videoSs{{index}}" object-fit="aspectFill" direction="0" bindplay="play"></video> <video src="{{imgitem}}" data-image='{{common.toStringArray(item.image)}}' wx:if="{{common.isImageOrVideo(imgitem) &&common.toStringArray(item.image).length != 1}}" style="width:240rpx;height:240rpx;margin-left:8rpx;" show-mute-btn id="videoSs{{index}}" object-fit="contain" direction="0" bindplay="play"></video> <image src="{{imgitem}}" data-url='{{imgitem}}' data-image='{{common.toStringArray(item.image)}}' wx:if="{{!common.isImageOrVideo(imgitem) &&common.toStringArray(item.image).length != 1}}" style="width:200rpx;height:200rpx;margin-left:8rpx;{{index==0||index==3||index==6?'margin-left:110rpx;':''}}" catchtap="onShowImage" mode="aspectFill"></image> <image src="{{imgitem}}" data-url='{{imgitem}}' data-image='{{common.toStringArray(item.image)}}' wx:if="{{!common.isImageOrVideo(imgitem) &&common.toStringArray(item.image).length == 1}}" style="margin-left:110rpx;margin-right:20rpx;min-height:220rpx;max-height: 350rpx;" catchtap="onShowImage" mode="heightFix"></image> </block> <view class="content-bottom"> <!-- <view class="delete" data-value="{{dataList[index]}}" catchtap="onDeleteMessage" wx:if="{{dataList[index].openid==openId}}">删除</view> --> <view class="operator-layout"> <view class="delete" data-value="{{dataList[index]}}" catchtap="onDeleteMessage" wx:if="{{dataList[index].openid==openId}}">删除</view> <view class="quanzi_tag"><text class="quanzi" data-value="{{dataList[index]}}" catchtap="onOpenQuanzi">{{dataList[index].quanzi == undefined?"广场":dataList[index].quanzi}}</text></view> </view> <view class="message-time">{{common.formatMsgTime(dataList[index].updateTime)}}</view> <view class="quanquan-comment" catchtap="onComment" data-value="{{dataList[index]}}"> <image class="comment-image" wx:if="{{dataList[index].comment=='false'}}" src="/assets/comment.png" /> <image class="comment-image" wx:else src="/assets/comment.png" /><text style="margin-left:8rpx;line-height: 42rpx;">{{dataList[index].comment=='0'||dataList[index].comment==undefined?'评论':dataList[index].comment}}</text> </view> <view class="island-support" catchtap="onSupport" data-value="{{dataList[index]}}"> <image class="island-image" wx:if="{{dataList[index].supported=='false'}}" src="/assets/support.png" /> <image class="island-image" wx:if="{{dataList[index].supported!='false'}}" src="/assets/support_checked.png" /><text style="margin-left:8rpx;line-height: 42rpx;">{{dataList[index].support=='0'?'赞':dataList[index].support}}</text> </view> </view> </view> </view> </block>
2023-02-04 - 公众号获取token一直报appid为空,但是传了appid?
{"errcode":41002,"errmsg":"appid missing rid: 62e3a848-6d83c3b5-02f36128"}
2022-07-29 - 已回复的颜色能不能变成原来的红色?现在的灰色太不明显了。几千条眼睛要看花。
[图片][图片]
2021-04-09 - fillRect 在ios真机绘制矩形,在Y轴有偏移量,不能从0,0开始?
用了fillRect绘制矩形,但是在ios真机上面Y轴坐标无法从0,0开始,始终有一个偏移量。请帮忙看看解决。 模拟器正常绘画显示截图: [图片] IOS真机问题截图: [图片] 请帮忙看看。
2020-06-23 - canvasGetImageData获取不到canvas?
第一个问题: 2.8.0以上用wx.canvasGetImageData报如下错误 errMsg: "canvasGetImageData: fail canvas is empty" https://developers.weixin.qq.com/s/bzwfgsmg7ghm 第二个问题: 用ctx.getImageData(0, 0, 200, 200)可以获取到数据,但是感觉只能获取1/4canvas的范围. 图像大小都是200x200,h5网页版是可以获取全的. [图片] 以上是用getImageData获取的图 https://developers.weixin.qq.com/s/vAwkbsme7Ch1
2020-05-19 - wx.canvasGetImageData获取到的像素信息都是0?
https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasGetImageData.html wx [图片] 代码片段 https://developers.weixin.qq.com/s/yqMVjqmi7bhe canvasGetImageData获取不到数据,是什么原因?
2020-05-18 - 小程序订阅消息data fomat error?
麻烦帮看一下,小程序订阅消息一直报错47001,怎么改data呢? cn.exrick.service.impl.PayServiceImpl.pushWXMessage requestUrlParam{touser=o6QKb5eO60zygXgcoz68GUC8b3K8, data={"name3":{"value":"塞尔达传说"},"thing5":{"value":"邮政快递"},"character_string6":{"value":"123456"},"phone_number7":{"value":"18608020462"},"remark":{"value":"租借周期:2020-04-10至2020-04-17"}}, template_id=5XTcFZ6SmfVfoIO_RwQGBjrA6-iGI064qb-JykuKs8o} 07-Apr-2020 17:24:12.141 INFO [http-nio-8080-exec-8] cn.exrick.service.impl.PayServiceImpl.pushWXMessage 推送结果{"errcode":47001,"errmsg":"data format error hint: [PrElRA04524127]"}
2020-04-07