From 54a0b7c1a758f958f7e6fd0b86fa8e0aecfeca75 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期一, 28 八月 2023 16:17:33 +0800
Subject: [PATCH] 呼叫客服增加选择呼叫类型
---
utils/status.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/utils/status.js b/utils/status.js
index 0777b0f..08ae5c6 100644
--- a/utils/status.js
+++ b/utils/status.js
@@ -4,7 +4,8 @@
UsernameKey,
SuccessRedirect,
FailRedirect,
- customerIdKey
+ customerIdKey,
+ nameKey
} from './status.config.js';
const SetStorage = (key) => (value) => uni.setStorageSync(key, value);
@@ -12,7 +13,8 @@
export const setToken = SetStorage(TokenKey);
export const setRefreshToken = SetStorage(RefreshToken);
export const setUsernameKey = SetStorage(UsernameKey);
-export const setCustomerId = SetStorage(customerIdKey)
+export const setCustomerId = SetStorage(customerIdKey);
+export const setName = SetStorage(nameKey)
export const redirectHome = (path) => {
uni.switchTab({
url: path || SuccessRedirect
--
Gitblit v1.9.1