[图片] 图片服务器证书有问题
【求助】有试过本地测试没问题,发布后出现内容页图片不显示的问题吗?有试过本地测试没问题,发布后出现内容页图片不显示的问题吗? [图片][图片]
02-17这里面有个坑 如果是授权的快照模式 你获取的是虚拟账号的openid 这时候的openid是不可信的 [图片]
某个微信号的openid对单一公众号是否唯一?1.某个微信号的openid对单一公众号是唯一的吗,会不会受到是否关注公众号影响? 2.公众号授权获取微信openid和微信是否关注公众号有没有关系?
02-13[图片] getStorageImage 这个函数引入了吗
TypeError: () is not a function怎么解决啊?const processData = (data) => { data.forEach(item => { item.url = item.url.map(url => getStorageImage(url)); }); return data; } export default { processData, } 错误信息: TypeError: (0 , _functions.processData) is not a function at attack.js? [sm]:84 (env: macOS,mp,1.06.2412050; lib: 3.2.1) 我要崩溃了,哪里都找不到问题,怎么改都没用 下面这段就可以用没报错啊 const getOrigionalmage = (local_image) => { let webImages = wx.getStorageSync('webImages') || [] let webImage = webImages.find(y => y.local_path === local_image) return webImage.web_path } export default { getOrigionalmage, }
02-13[图片] 只能分享当前页
小程序分享朋友圈,打开后,默认不是从首页打开吗?https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share-timeline.htmlhttps://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share-timeline.html onShareAppMessage() { return { title: `🥂分享不能用🍂`, path: `/pages/tabs/index`, }; }, onShareTimeline(e) { const ydomain = app.globalData.ydomain console.log(`${ydomain}/${Math.floor(Math.random() * 33) + 1}.webp`) return { title: `🥂分享不能用 `, query: `timeline=yes`, imageUrl: `${ydomain}/${Math.floor(Math.random() * 33) + 1}.webp`, }; } 小程序分享朋友圈,打开后,默认不是从首页打开吗?
02-13可以吧菜单设置成click类型 [图片] 然后拿到key [图片] 然后被动回复消息 [图片] 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html
公众号自定义菜单点击菜单按钮无法弹出多个图文么?{ "menu": { "button": [{ "type": "click", "name": "了解我们", "key": "ABOUT_US", "sub_button": [] }, { "name": "产品介绍", "sub_button": [{ "type": "article_id", "name": "DENBA+系列", "sub_button": [], "article_id": "YlVj6EAV_Z1yfT1KqpvhQDtX9tlSv3th5HNNNFvxVlwnzccfTODSEvKLRy7InTSI" }, { "type": "article_id", "name": "DENBA Fryer系列", "sub_button": [], "article_id": "YlVj6EAV_Z1yfT1KqpvhQDtX9tlSv3th5HNNNFvxVlwnzccfTODSEvKLRy7InTSI" }, { "type": "article_view_limited", "name": "DENBA Health系列", "sub_button": [ [{ "type": "article_id", "name": "111", "sub_button": [], "article_id": "YlVj6EAV_Z1yfT1KqpvhQHBCaFR6bQ1Bg7A4ZCfwvzZFIwszTwdUZ4yBmG8FDRv7" }, { "type": "article_id", "name": "222", "sub_button": [], "article_id": "YlVj6EAV_Z1yfT1KqpvhQBLRXODRvtlwiJuZ9sj8zHgjLkxQU9gff8LkiR0Umymo" } ] ] } ] }, { "type": "click", "name": "案例报告", "key": "CONTACT_TEAM", "sub_button": [] } ] } } 上面的sub_button下放了两个图文,但是无法创建自定义菜单,提示{ "errcode": 47001, "errmsg": "data format error rid: 67a9b676-13a659a8-26e0ffee" }
02-11[图片] 只有和填的测试链接一模一样的 才会触发到开发版或者体验版
普通链接二维码跳转小程序?[图片] 我这个链接是这样配置的,但是生成二维码后跳转的确是线上环境,process.env.VUE_APP_BASE_API+`/?a=b&id=${storageUser.manageResourceId}`这个是我拼接的链接,跟配置的链接是一样的除了后面的id不一样,但是我复制配置里的链接用草料生成可以打开体验版,但是换个id就是打开线上版本,有大佬知道什么问题吗?
02-08授权回调域 只填域名 unicx.cc
【求助】网站应用微信登陆 redirect_uri 参数错误?我授权回调域和我填的redirect_uri是一致的,但是我打开构造的链接却提示redirect_uri 参数错误 https://open.weixin.qq.com/connect/qrconnect?appid=wxa9b46f4535db0b76&redirect_uri=https%3A%2F%2Funicx.cc&response_type=code&scope=snsapi_login&state=2b87486a9df74cf93007a49ac1ec0832#wechat_redirect [图片]
02-08小程序里 用小程序支付 h5里用jsapi 支付。 这俩是不一样的
微信支付jsapi没有权限?在开发和体验版唤起微信支付都没有问题,点击“确认支付”就弹出这个框。 微信支付的产品中已经申请了jsapi支付。[图片] 支付失败,失败原因:requestPayment:fail jsapi has no permission,event=requestPayment.runningState=foregroundpermissionMsg=permission got.detail=jsapi has been banned,appld=wx757ff70065295b09
01-26[图片] wx.login 返回的是code code 需要接口解密成openid 才可以使用 code 换取openid接口:https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/user-login/code2Session.html
微信小程序开发支付功能V2(JSAPI),返回无效的openid,是什么原因?return_code=SUCCESS,return_msg=OK,result_code=FAIL,err_code_des=无效的openid,err_code=PARAM_ERROR { "appid", appid }, { "mch_id", mch_id }, { "nonce_str", nonceStr }, { "body", accStr }, { "out_trade_no", Guid.NewGuid().ToString("N") }, { "total_fee",price }, { "spbill_create_ip", request1.UserHostAddress.ToString() }, { "notify_url", "https://www.maya-maya.cn:8083/api/WechatPay/payNotify" }, { "trade_type", "JSAPI" }, { "openid", openid }//, { "sign", "" } openid可以取到值,但是通不过。客户端如下 wx.login({ success: (res) => { if (res.code) { this.setData({openid: res.code}); console.log(res.code); // 发起支付请求 wx.request({
01-24用css 变量改主题色 --td-button-primary-bg-color --td-button-primary-border-color
TDesign的t-button我改了一下它的背景色,但是边框颜色还是蓝色并且改不了是怎么回事?用了style定义边框的样式结果是在蓝色边框外面多了一层红色边框,里面的蓝色边框还在,怎么用t-button自己的class修改边框颜色?怎么让蓝色边框变成红色? [图片] [图片] [图片]
01-23