From 76f5ad404069bbecca98d441b4f7cbc2aba51c75 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 05 七月 2024 17:55:07 +0800 Subject: [PATCH] feat:呼叫客服增加语音电话 --- utils/status.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/utils/status.js b/utils/status.js index 08ae5c6..e0d7192 100644 --- a/utils/status.js +++ b/utils/status.js @@ -5,7 +5,8 @@ SuccessRedirect, FailRedirect, customerIdKey, - nameKey + nameKey, + userId } from './status.config.js'; const SetStorage = (key) => (value) => uni.setStorageSync(key, value); @@ -15,6 +16,7 @@ export const setUsernameKey = SetStorage(UsernameKey); export const setCustomerId = SetStorage(customerIdKey); export const setName = SetStorage(nameKey) +export const setUserId = SetStorage(userId) export const redirectHome = (path) => { uni.switchTab({ url: path || SuccessRedirect -- Gitblit v1.9.1