From 5e49c058cd96a55d7292095ac4d55fa90a7e76ab Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Wed, 3 Sep 2025 11:44:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E6=8E=88=E6=9D=83=EF=BC=8C?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=9F=BA=E5=9C=B0=E5=9D=80=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E8=AE=BE=E5=A4=87=E5=89=8D=E7=BC=80=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 6 ++++++ components/blufi/xBlufi-wx-impl.js | 2 +- utils/request.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/App.vue b/App.vue index 52dd89d..10b75fd 100644 --- a/App.vue +++ b/App.vue @@ -2,6 +2,12 @@ export default { onLaunch: function () { console.log('App Launch') + uni.authorize({ + scope: 'scope.userLocation', + success: function () { + console.log('用户同意了授权') + }, + }) }, onShow: function () { console.log('App Show') diff --git a/components/blufi/xBlufi-wx-impl.js b/components/blufi/xBlufi-wx-impl.js index c85e9d2..c66b9f5 100644 --- a/components/blufi/xBlufi-wx-impl.js +++ b/components/blufi/xBlufi-wx-impl.js @@ -1255,7 +1255,7 @@ function init() { // && devices.devices[0].name != 'SMART_R2XS' // && devices.devices[0].name != 'SMART_R2XS' // ) - if (devices.devices[0].name.indexOf('BBLE') != -1) { + if (devices.devices[0].name.indexOf('CTKG') != -1) { // if ( devices.devices[0].name.indexOf("gjkg") != -1 ){ // console.log("跳过",devices.devices[0].name) // isnotexist = false; diff --git a/utils/request.js b/utils/request.js index 0af28a3..04f7469 100644 --- a/utils/request.js +++ b/utils/request.js @@ -19,7 +19,7 @@ const ENV_CONFIG = { develop: { // 开发环境 // baseUrl: 'http://192.168.2.13:4601', - baseUrl: 'http://192.168.2.13:4601', + baseUrl: 'https://chu.chuangtewl.com/prod-api', appId: 1, }, trial: {