适配多商户

This commit is contained in:
gxwebsoft
2024-05-24 14:53:29 +08:00
parent 757822f3ba
commit dea6ae1c23
23 changed files with 1167 additions and 315 deletions
+14 -1
View File
@@ -1,4 +1,17 @@
// 获取商户ID
export const getMerchantId = () => {
const MerchantId = localStorage.getItem('MerchantId');
if (MerchantId != 'null') {
return MerchantId;
}
return null;
};
// 获取商户名称
export const getMerchantName = () => {
return localStorage.getItem('MerchantName');
const MerchantName = localStorage.getItem('MerchantName');
if (MerchantName != 'null') {
return MerchantName;
}
return null;
};