能下载文件到手机磁盘吗?解决没
微信小程序内可以下载文件到手机磁盘吗?我们的程序目前有个需求是-----点击按钮,下载报告(pdf)到用户的手机磁盘内, 请问小程序有相关的api吗? 之前我们测试过,好像只能在手机内预览,不能保存;
2020-09-27可以是小程序的AppID
小程序如何发红包?使用小程序怎么发红包,看接口直接懵了。 [图片]
2020-09-11请问小程序发红包功能你是怎么做的?有没有踩坑指南!
小程序红包只能线上环境能测?客服您好, 公司要求开发小程序红包功能, 目前发现体验版只有1017和1089的场景值可获取, 必须发线上版本才能得到1047场景值, 而发布时有提示"多次提交测试内容或 Demo,将受到相应处罚。" 目前做红包测试功能,看来必须要发线上版本做测试 , 请问会受相应处罚吗? 多次提交,后的相应处罚请问是什么? [图片]
2020-09-09社交类红包,已经删除了吧
小程序方通过企业付款到零钱给用户发红包,涉及到社交红包范畴吗?小程序方通过企业付款到零钱给用户发红包,用户没有进行充值操作,这涉及到社交红包吗? 我们查询了前期发过的社交红包介绍,其中明确写到“提供用户充值红包功能”才算社交红包。 这样看来,小程序方给用户发红包,貌似并不涉及社交红包的范畴。请大家给下意见。 [图片]
2020-09-09可参考这个文档:https://pay.weixin.qq.com/wiki/doc/api/tools/cash_coupon.php?chapter=18_4&index=1
小程序红包功能有开发文档吗?小程序红包功能有开发文档吗
2020-09-09我也碰到这个问题,现在已经好了,是域名过期导致的,请检查下域名是否过期!
closeSocket:fail:taskID not exist 的问题?下单之后提示这个。[图片] var _home = require("../../../modules/home"), _address = require("../../../modules/address"), addressModule = new _address.address(), homeModule = new _home.home(), app = getApp(); Page({ data: { time_bg: !0, weight_bg: !0, pay_bg: !0, tip_bg: !0, floor_bg: !0, imgs: "", img_temp: [], goods_list: [], goods_idx: -1, day: "", hour: "立即帮买", minute: "", isImmediately: 0, xday: "", remark: "", tip_money: 0, my_money: 0, weight: 1, distance: 0, duration: 0, coupons: {}, money: 0, actual_payment: -1, price_detail: {}, pay_method: 2, help: 1, buy_type: 0, floor: [ -1 ], goods_predict: 0, bargain: 0, showcheck: -1, red_bag: !1, new_person: {}, fahuo: {}, shouhuo: {} }, onLoad: function(t) { wx.setStorageSync("is_remove_shou", 1), wx.removeStorageSync("coupons"), this.setData({ goods_list: wx.getStorageSync("buy_goods_list"), goods_idx: app.globalData.buy_goods_idx, remark: app.globalData.buy_remark }); }, onReady: function() { app.setNavigation(), wx.setNavigationBarTitle({ title: app.globalData.syStem.business_type[1].title }); }, onShow: function() { this.isCoupons(), this.examineAddress(); }, confirm: function() { var t = this.data.shouhuo, a = this.data.fahuo; if (!t.person_tel) return app.hint("选择收货地址"); var e = this.data.goods_idx; if (e < 0) return app.hint("请选择物品类型"); var i = this.data.goods_list[e].id, o = this.data.goods_list[e].name, s = this.data.price_detail.coupon_money, d = this.data.coupons.id; d || s || (s = d = 0); var n = wx.getStorageSync("city"), r = {}; if ("立即帮买" == this.data.hour ? r = 1 : ((r = {}).day = this.data.day, r.hour = this.data.hour, r.minute = this.data.minute), this.data.floor[0] < 0) return app.hint("请选择楼层~"); var h = { weight_num: this.data.weight, remark: this.data.remark, distance: this.data.distance, duration: this.data.duration, time: r, hour: "立即帮买", coupons_id: d, standard_id: i, city: n, imgs: this.data.imgs, coupons_money: s, goods_name: o, order_type: 1, buy_type: this.data.buy_type, pay_method: this.data.pay_method, moneys: this.data.money, floor: this.data.floor[0], goods_predict: this.data.goods_predict, bargain: this.data.bargain, night_price: this.data.price_detail.night_price, change_price: this.data.price_detail.change_price, discount_price: this.data.price_detail.discount_price, distance_price: this.data.price_detail.distance_price, actual_payment: this.data.actual_payment, tip_money: this.data.tip_money, floor_price: this.data.price_detail.floor_price, fahuo: 1 == this.data.buy_type ? "" : a, shouhuo: t }; wx.setStorageSync("order", h), wx.navigateTo({ url: "/make_speed/order/order" }); }, goodsPredict: function(t) { this.setData({ goods_predict: t.detail.value }); }, bargain: function(t) { this.setData({ bargain: t.currentTarget.dataset.id }); }, sGoods: function(t) { this.setData({ goods_idx: t.currentTarget.dataset.idx }); }, textarea: function(t) { this.setData({ remark: t.detail.value }); }, isCoupons: function() { var t = wx.getStorageSync("coupons"); t ? this.setData({ coupons: t }) : this.setData({ coupons: {} }); }, examineAddress: function() { var a = this, t = wx.getStorageSync("fahuo") || {}, e = wx.getStorageSync("shouhuo") || {}; if (this.setData({ fahuo: t, shouhuo: e }), t.title && e.person_tel || e.person_tel && 1 == this.data.buy_type) { if (1 == this.data.buy_type) return void this.getPrice(0, this.data.weight); var i = setInterval(function() { app.globalData.syStem.gaode_key && (clearInterval(i), addressModule.getDistance(3, app.globalData.syStem.gaode_key, t, e).then(function(t) { a.setData({ distance: t.distance, duration: t.duration }), a.getPrice(t.distance, a.data.weight); }, function(t) {})); }, 10, t, e); } else this.setData({ distance: 0, actual_payment: -1 }); }, getPrice: function(t, a) { if (1 == this.data.buy_type) { var e = this.data.shouhuo; e && e.person_tel && homeModule.moneys(this, 0, a, 1, this.data.floor[0]); } else homeModule.moneys(this, t, a, 1, this.data.floor[0]); }, getGoods: function() { var a = this; homeModule.getGoodsList({ order_type: 1 }).then(function(t) { a.setData({ goods_list: t }); }, function(t) {}); }, imgUpload: function(t) { this.setData({ img_temp: t.detail.img_temp, imgs: t.detail.imgs }); }, buyType: function(t) { var a = t.detail.buy_type; 1 == a && this.setData({ duration: 0 }), this.setData({ buy_type: a }), this.examineAddress(); }, sFloor: function(t) { var a = t.detail.select; 1 == a ? (this.setData({ floor_bg: !0, floor: t.detail.floor }), this.getPrice(this.data.distance, this.data.weight)) : 2 == a ? this.setData({ floor_bg: !0 }) : this.setData({ floor_bg: !1, floor: this.data.floor }); }, sTime: function(t) { var e = this, a = t.detail.select; 1 == a ? (this.setData({ day: t.detail.day, hour: t.detail.hour, minute: t.detail.minute, isImmediately: t.detail.isImmediately, time_bg: !0 }), this.getPrice(this.data.distance, this.data.weight)) : 2 == a ? this.setData({ time_bg: !0 }) : homeModule.getTime().then(function(t) { var a = homeModule.date(t.days, t.hours, t.minutes, 1); e.setData({ xTime: a, time_bg: !1 }); }, function(t) {}); }, sWeight: function(t) { this.setData({ weight: t.detail.value }), this.getPrice(this.data.distance, t.detail.value); }, weight: function(t) { var a = t.currentTarget.dataset.id, e = this.data.weight; if (0 == a) { if (1 == e) return; e--, this.setData({ weight: e }); } else e++, this.setData({ weight: e }); this.getPrice(this.data.distance, e); }, sTip: function(t) { var a = t.detail.select; 1 == a ? (this.setData({ tip_bg: !0, tip_money: t.detail.tip_money }), this.getPrice(this.data.distance, this.data.weight)) : 2 == a ? this.setData({ tip_bg: !0 }) : this.setData({ tip_bg: !1 }); }, sCoupon: function() { if (this.data.goods_idx < 0) return app.hint("请先选择物品类型"); wx.navigateTo({ url: "/make_speed/coupons/coupons?distance=" + this.data.distance + "&money=" + this.data.money + "&order_type=1" }); }, sPay: function(t) { var a = this; if (this.data.goods_idx < 0) return app.hint("请先选择物品类型"); var e = t.detail.select; 1 == e ? this.setData({ pay_bg: !0, pay_method: t.detail.pay_method }) : 2 == e ? this.setData({ pay_bg: !0 }) : homeModule.getMoney().then(function(t) { a.setData({ pay_bg: !1, my_money: t.valid }); }, function(t) {}); }, onHide: function() {}, onUnload: function() { wx.removeStorageSync("coupons"); }, onPullDownRefresh: function() {}, onReachBottom: function() {}, onShareAppMessage: function() { return app.getShare(), { title: app.globalData.syStem.user_program_title, path: "/make_speed/router/router?recommend_id=" + app.globalData.user_id, imageUrl: app.globalData.syStem.user_share_img ? app.globalData.syStem.user_share_img : "" }; } });
2020-08-21小程序的推送问题,现在已经好了,是域名过期导致的!
小程序websocke推送在真机上失败?在开发者工具上推送正常,真机发现没有推送,在iPhone和多部Android真机上都是这样,官方说修复了问题,为什么过去一个多月了,问题还在! [图片]
2020-08-21金融类需要一些资质的,看你小程序的服务对象和类型。
我们是一个保险协会类的社会团体,请问能增加金融类目下的什么二级类目https://developers.weixin.qq.com/miniprogram/product/reject.html 提供社会团体法人登记证书 和 网站备案截图 能添加 金融业 > 第三方互联网保险 这个分类吗?
2020-08-20最近也在做企业微信相关的,还在摸索阶段。
企业微信、自建应用、聊天工具栏配不出来?是不支持还是咋回事? 1.已经配工具栏页面到自建应用 [图片] 2.自建应用里边无显示,清缓存啥的都试过不行、用户范围、应用范围都没问题 [图片] 3.其他应用可以,比如客户群,一配就有 [图片] 4.自建应用没有这个开关、是哪里没配置还是说根本不支持
2020-08-18同样的问题,今天才发现,前两个月还正常的,有解决方案了吗
轻微小程序报错 closeSocket:fail taskID not exist ?[图片]
2020-08-13