From 91f4822df1386f14a9319b076117f20743893569 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Tue, 8 Aug 2023 14:22:53 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5ios=20=E7=9A=84=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 2 +- manifest.json | 5 +---- pages/index/bindScan/bindScan.vue | 8 ++++---- pages/tabBar/home/home.vue | 4 ++-- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/Utils/Api.js b/Utils/Api.js index aec474f..326410e 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -271,7 +271,7 @@ export const connectStoreCid = params => { return POST('POST', `${base}/storeCid/connectStoreCid`, params).then(res => res.data); } //解除绑定 -export const unbindStore = params => { +export const qrcodeunbindStore = params => { return POST('POST', `${base}/payQrCode/unbindStore`, params).then(res => res.data); } diff --git a/manifest.json b/manifest.json index b172e74..e4a4a9e 100644 --- a/manifest.json +++ b/manifest.json @@ -52,10 +52,7 @@ /* SDK配置 */ "sdkConfigs" : { "push" : { - "unipush" : { - "offline" : false, - "hms" : {} - } + "unipush" : {} }, "ad" : {} }, diff --git a/pages/index/bindScan/bindScan.vue b/pages/index/bindScan/bindScan.vue index ac8e152..2c30fca 100644 --- a/pages/index/bindScan/bindScan.vue +++ b/pages/index/bindScan/bindScan.vue @@ -17,7 +17,7 @@ 创建: {{item.createTime | timeFormat('yyyy-mm-dd')}} {{item.createTime | timeFormat('hh:mm')}} - + @@ -26,7 +26,7 @@ import { getSalesmanQrCodeList, getStoreQrCodeList, - unbindStore + qrcodeunbindStore } from '../../../Utils/Api.js'; let app = getApp(); export default { @@ -136,7 +136,7 @@ }); }, //解除绑定设备 - unbindStore(item) { + qrcodeunbindStore(item) { let that = this; uni.showModal({ title: '解绑二维码', @@ -150,7 +150,7 @@ "qrCodeId": item, "storeId": that.storeId } - unbindStore(params).then(res => { + qrcodeunbindStore(params).then(res => { uni.hideLoading(); if (res.return_code == '000000') { uni.showToast({ diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue index caf8965..4c51d8c 100644 --- a/pages/tabBar/home/home.vue +++ b/pages/tabBar/home/home.vue @@ -107,10 +107,10 @@ let that = this; uni.getPushClientId({ success: res => { - that.storeCid = res.cid; + that.storeCid = res.cid; uni.getStorage({ key: "clientId", - success: (res) => { + success: (res) => { if (res.data && res.data != undefined && res.data != that .storeCid) { status = 2;