- urlscheme.generate 返回61007,请问如何解决?之前一直没问题的
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html [2021-05-10 11:30:46] local.INFO: 【外部链接生成传参】 {"jump_wxa":{"path":"one-price/one-price/one-price.html","query":"id=151907707851776&mem_uid=XiaoYiZi&share_uid=XiaoYiZi&source=scrm&store_id=0"},"is_expire":true,"expire_time":1636428646} [2021-05-10 11:30:46] local.ERROR: 【外部链接生成失败】-one-price/one-price/one-price.html?id=151907707851776&mem_uid=XiaoYiZi&share_uid=XiaoYiZi&source=scrm&store_id=0 {"errcode":61007,"errmsg":"api is unauthorizedto component rid: 6098a8e6-06ac2048-1557562e"}
2021-05-10 - 新关注的粉丝为什么发送文本或点击卡片,无法收到服务器端回调数据?
老粉丝 能够收到服务器回调文本 [图片] 新关注的粉丝,除了收到关注取关回调,收不到任何其它回调内容,请问是否可以协助解决,我们是服务商旗下绑定的公众号都这样,急急急
2021-02-09 - 为什么服务号部分粉丝收不到关键词回调?
公众号: gh_289cd56296a6 老粉丝发送关键词 能够收到回调的文本内容,[图片] 新关注的粉丝没反应什么也收不到,请协助排查解决下
2021-02-09 - 插件支付 所有的代码 验签也通过了为啥支付到最后一部就会提示“支付验证签名失败”
[图片] 我们希望 通过服务商给子商户支付一笔款项,屡试不爽: 提交到统一下单接口的数据:https://api.mch.weixin.qq.com/pay/unifiedorder <xml><trade_type><![CDATA[JSAPI]]></trade_type><nonce_str><![CDATA[5FFD4D5688EB682622]]></nonce_str><spbill_create_ip><![CDATA[116.232.52.172]]></spbill_create_ip><notify_url><![CDATA[https://***/api/v1/weps/coupon/wxPay/notify]]></notify_url><out_trade_no><![CDATA[1610435920971]]></out_trade_no><mch_id><![CDATA[1530183331]]></mch_id><appid><![CDATA[wx33bdf57dacbb5242]]></appid><body><![CDATA[商品描述]]></body><total_fee><![CDATA[1]]></total_fee><sub_openid><![CDATA[oRuWa5YBGWOhGt2f-ZwtB1CmqSYY]]></sub_openid><sub_appid><![CDATA[wx92e64c3850fcc44f]]></sub_appid><sub_mch_id><![CDATA[1532273371]]></sub_mch_id><sign><![CDATA[D06F4D601126AAE2898E90154BAB587B]]></sign></xml> 接口返回 <xml><return_code><![CDATA[SUCCESS]]></return_code> <return_msg><![CDATA[OK]]></return_msg><appid><![CDATA[wx33bdf57dacbb5242]]></appid><mch_id><![CDATA[1530183331]]></mch_id><sub_mch_id><![CDATA[1532273371]]></sub_mch_id><nonce_str><![CDATA[OLpY73B7nk60mbcJ]]></nonce_str><sign><![CDATA[F7E422054FEF35AFE240214A4C1958E4]]></sign> <result_code><![CDATA[SUCCESS]]></result_code> <prepay_id><![CDATA[wx121518467280718ebd5a942d3e8af30000]]></prepay_id> <trade_type><![CDATA[JSAPI]]></trade_type><sub_appid><![CDATA[wx92e64c3850fcc44f]]></sub_appid></xml> 二次加密[验签工具是通过的] appId=wx33bdf57dacbb5242&nonceStr=OLpY73B7nk60mbcJ&package=prepay_id=wx121518467280718ebd5a942d3e8af30000&signType=MD5&timeStamp=1610435926&key=*** 签名结果 CFD6742D324EDA6D5202570FC93619E4 对应的值 带入 插件支付接口 可以调起支付界面,但支付时候就弹出上图这个框了 麻烦大佬帮忙看看,指教1、2
2021-01-12 - 蓝牙找不到设备也找不到哪里出了问题,代码看了千万遍,求教
蓝牙 早上调试 出现过一次设备 后面就一直出不来 搞了3天了 泪奔 快崩溃了,已经连上手机的设备也获取不到,到底是哪里出了问题了,搞API的兄弟能够帮忙看看 [代码]//index.js [代码][代码]//获取应用实例 [代码][代码]var[代码] [代码]app = getApp();[代码][代码]Page({[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]status: [代码][代码]"等待连接"[代码][代码],[代码][代码] [代码][代码]sousuo:[代码][代码]"暂未搜索"[代码][代码],[代码][代码]//--是否在搜索中[代码][代码] [代码][代码]devices:[][代码][代码]//--设备列表--[代码][代码] [代码][代码]},[代码][代码] [代码][代码]onUnload:[代码][代码]function[代码][代码](){[代码][代码] [代码][代码]wx.stopBluetoothDevicesDiscovery({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'结束搜索设备:'[代码][代码],res)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]wx.closeBluetoothAdapter({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'断开蓝牙连接:'[代码][代码],res)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]onLoad: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]var[代码] [代码]that=[代码][代码]this[代码][代码];[代码][代码] [代码][代码]if[代码] [代码](wx.openBluetoothAdapter) {[代码][代码]//--判断基库的版本是否支持操作蓝牙[代码][代码] [代码][代码]wx.openBluetoothAdapter({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'1.初始化蓝牙适配器:'[代码][代码],res);[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"1.初始化成功!"[代码][代码]});[代码][代码] [代码][代码]//1-------------------------------------------------[代码][代码] [代码][代码]//--开始搜索蓝牙设备-------------------[代码][代码] [代码][代码]//wx.stopBluetoothDevicesDiscovery({success:function(){}});[代码][代码] [代码][代码]wx.startBluetoothDevicesDiscovery({[代码][代码] [代码][代码]services: [],[代码][代码] [代码][代码]allowDuplicatesKey: [代码][代码]false[代码][代码],[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'3.已经启动搜索设备逻辑:'[代码][代码], res);[代码][代码] [代码][代码]//--启动新设备发现-------[代码][代码] [代码][代码]console.log([代码][代码]'0.去发现新设备!'[代码][代码]);[代码][代码] [代码][代码]wx.onBluetoothDeviceFound([代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'0.1 发现新设备:'[代码][代码],res);[代码][代码] [代码][代码]if[代码] [代码](res.devices.length){[代码][代码] [代码][代码]var[代码] [代码]temp = that.data.devices;[代码][代码] [代码][代码]for[代码] [代码]([代码][代码]var[代码] [代码]i = 0, n = res.devices.length;i<n;i++){[代码][代码]//--如果设备不再就加一个[代码][代码] [代码][代码]var[代码] [代码]id = res.devices[i].deviceId;[代码][代码] [代码][代码]var[代码] [代码]isdo=!0;[代码][代码] [代码][代码]for[代码] [代码]([代码][代码]var[代码] [代码]j = 0, m = temp.length;j<m;j++){[代码][代码] [代码][代码]if[代码] [代码](res.devices[i].deviceId == temp[i].deviceId){[代码][代码] [代码][代码]isdo=!1;[代码][代码] [代码][代码]break[代码][代码];[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]if[代码] [代码](isdo) temp.push(res.devices[i]);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]that.setData({devices: temp})[代码][代码] [代码][代码]console.log([代码][代码]'0.2.现存设备的情况:'[代码][代码],temp);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'-3.搜索失败:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"-3.搜索失败!"[代码] [代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]});[代码][代码] [代码] [代码] [代码][代码]//获取已发现的蓝牙设备-----[代码][代码] [代码][代码]wx.getBluetoothDevices({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'3.1.成功获取设备:'[代码][代码], res);[代码][代码] [代码][代码]console.log([代码][代码]'3.1.0.设备:'[代码][代码], res.devices);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]status: [代码][代码]"3.1.1.成功获取设备列表"[代码][代码],[代码][代码] [代码][代码]devices: res.devices[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'-3.1.设备获取失败:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"-3.1.设备获取失败!"[代码] [代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]});[代码] [代码] [代码][代码]//--------------------------------------------------1[代码][代码] [代码][代码]//监听蓝牙适配器状态 [代码][代码] [代码][代码]wx.onBluetoothAdapterStateChange([代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'2.1.状态发生变化:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]sousuo: res.discovering ? [代码][代码]"搜索中.."[代码] [代码]: [代码][代码]"搜索完成"[代码][代码],[代码][代码] [代码][代码]status: res.available ? [代码][代码]"可用"[代码] [代码]: [代码][代码]"不可用"[代码][代码],[代码][代码] [代码][代码]});[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail:[代码][代码]function[代码][代码](res){[代码][代码] [代码][代码]console.log([代码][代码]'-1.蓝牙初始化失败:'[代码][代码],res)[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"-1.初始化失败!"[代码] [代码]})[代码][代码] [代码][代码]wx.showModal({[代码][代码] [代码][代码]title: [代码][代码]'提示'[代码][代码],[代码][代码] [代码][代码]content: [代码][代码]'请检查设备是否支持蓝牙功能。'[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]// 如果希望用户在最新版本的客户端上体验您的小程序,可以这样子提示 [代码][代码] [代码][代码]wx.showModal({[代码][代码] [代码][代码]title: [代码][代码]'提示'[代码][代码],[代码][代码] [代码][代码]content: [代码][代码]'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]},[代码][代码] [代码] [代码]})[代码]
2017-09-01 - 调试攻击提示-2001错误,请看图
[图片] 请高手看下为什么报-2001的错误
2017-09-01 - getBluetoothDevices 不出数据找不到问题所在,求解惑
[代码]{[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]status: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]sousuo:[代码][代码]""[代码][代码],[代码][代码]//--是否在搜索中[代码][代码] [代码][代码]devices:[][代码][代码]//--设备列表[代码][代码] [代码][代码]},[代码][代码] [代码][代码]onLoad: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]var[代码] [代码]that=[代码][代码]this[代码][代码];[代码][代码] [代码][代码]if[代码] [代码](wx.openBluetoothAdapter) {[代码][代码]//--判断基库的版本是否支持操作蓝牙[代码][代码] [代码][代码]wx.openBluetoothAdapter({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'1.初始化蓝牙适配器:'[代码][代码],res);[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"1.初始化成功!"[代码][代码]});[代码][代码] [代码][代码]//--监听新设备-------------------------------[代码][代码] [代码][代码]wx.onBluetoothDeviceFound([代码][代码]function[代码] [代码](devices) {[代码][代码] [代码][代码]var[代码] [代码]temp = that.data.devices;[代码][代码] [代码][代码]temp.push(devices)[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]devices: temp[代码][代码] [代码][代码]})[代码][代码] [代码][代码]console.log([代码][代码]'0.1发现新蓝牙设备'[代码][代码], devices)[代码][代码] [代码][代码]console.log([代码][代码]'0.2设备id'[代码] [代码]+ devices.deviceId)[代码][代码] [代码][代码]console.log([代码][代码]'0.3设备name'[代码] [代码]+ devices.name)[代码][代码] [代码][代码]console.log([代码][代码]'0.4.详情:'[代码][代码],devices)[代码][代码] [代码][代码]});[代码][代码] [代码][代码]//监听蓝牙适配器状态 [代码][代码] [代码][代码]wx.onBluetoothAdapterStateChange([代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'2.1.状态发生变化:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]sousuo: res.discovering ? [代码][代码]"搜索中.."[代码] [代码]: [代码][代码]"搜索完成"[代码][代码],[代码][代码] [代码][代码]status: res.available ? [代码][代码]"可用"[代码] [代码]: [代码][代码]"不可用"[代码][代码],[代码][代码] [代码][代码]});[代码][代码] [代码][代码]});[代码][代码] [代码][代码]//1--------------------------------------------------[代码][代码] [代码][代码]//获取蓝牙适配器状态[代码][代码] [代码][代码]wx.getBluetoothAdapterState({[代码][代码] [代码][代码]success:[代码][代码]function[代码][代码](res){[代码][代码] [代码][代码]console.log([代码][代码]'2.获取蓝牙状态:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]sousuo: res.discovering ? [代码][代码]"搜索中.."[代码] [代码]: [代码][代码]"未搜索"[代码][代码],[代码][代码] [代码][代码]status: res.available ? [代码][代码]"可用"[代码] [代码]: [代码][代码]"不可用"[代码][代码],[代码][代码] [代码][代码]});[代码][代码] [代码][代码]if[代码] [代码](!res.discovering){[代码][代码]//--如果没有搜索就执行搜索设备[代码][代码] [代码][代码]//--开始搜索蓝牙设备-------------------[代码][代码] [代码][代码]wx.stopBluetoothDevicesDiscovery({success:[代码][代码]function[代码][代码](){}});//--页面返回要先干掉上一个搜索[代码][代码] [代码][代码]wx.startBluetoothDevicesDiscovery({[代码][代码] [代码][代码]//services: [],[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'3.搜索成功返回适配器状态:'[代码][代码], res);[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'-3.搜索失败:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"-3.搜索失败!"[代码] [代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]} [代码][代码] [代码][代码]});[代码][代码] [代码] [代码] [代码][代码]/*************************************求助***********************************************************[代码] [代码] [代码] [代码] 【那位高手帮看一下这里为什么一天就出过几次数据剩下的设备列表全为空,疯了整理两天了,找不出来问题】[代码] [代码] 【手机真机测试,getBluetoothDevices 不出数据88%,怎么回事跪求帮解一下疑惑】[代码] [代码] [代码][代码]wx.getBluetoothDevices({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'3.1.成功获取设备:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]status: [代码][代码]"3.1.成功获取设备列表"[代码][代码],[代码][代码] [代码][代码]devices: res.devices[代码][代码] [代码][代码]});[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'-3.1.设备获取失败:'[代码][代码], res);[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"-3.1.设备获取失败!"[代码] [代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码] [代码] [代码][代码]//setTimeout(_get_d,5000);[代码][代码] [代码][代码]//--------------------------------------------------1[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail:[代码][代码]function[代码][代码](res){[代码][代码] [代码][代码]console.log([代码][代码]'-1.蓝牙初始化失败:'[代码][代码],res)[代码][代码] [代码][代码]that.setData({ status: [代码][代码]"-1.初始化失败!"[代码] [代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]// 如果希望用户在最新版本的客户端上体验您的小程序,可以这样子提示 [代码][代码] [代码][代码]wx.showModal({[代码][代码] [代码][代码]title: [代码][代码]'提示'[代码][代码],[代码][代码] [代码][代码]content: [代码][代码]'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]},[代码]}
2017-08-31