From 5e08d4f61c24db589bd6d30875fcb1191f719b16 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 11 四月 2025 20:41:44 +0800 Subject: [PATCH] feat:申请复磅 --- utils/status.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/utils/status.js b/utils/status.js index 0777b0f..e0d7192 100644 --- a/utils/status.js +++ b/utils/status.js @@ -4,7 +4,9 @@ UsernameKey, SuccessRedirect, FailRedirect, - customerIdKey + customerIdKey, + nameKey, + userId } from './status.config.js'; const SetStorage = (key) => (value) => uni.setStorageSync(key, value); @@ -12,7 +14,9 @@ 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 setUserId = SetStorage(userId) export const redirectHome = (path) => { uni.switchTab({ url: path || SuccessRedirect -- Gitblit v1.9.1