wx.uploadImage({
localId: localId,
isShowProgressTips: 1,
success: function(res) {
var serverId = res.serverId; // 返回图片的服务器端ID
//console.log('服务器图片地址'+serverId)
that.serviceIds.push(serverId);
if (that.localIds.length > 0) {
that.uploadImage();
}
}
});
.Net 后台 WeiXin.MP.advancedAPIs.MediaApi.Get(accessToken, serviceId, ms); 方法根据serviceId下载图片 经常图片损坏