修复:图形验证码大写不识别

修复:按商户ID查询订单、商品、分类等
This commit is contained in:
2024-09-23 01:08:24 +08:00
parent 228cacdf2a
commit 625568eb41
30 changed files with 2069 additions and 118 deletions
+16
View File
@@ -15,3 +15,19 @@ export const getMerchantName = () => {
}
return undefined;
};
export const getRoleIdByMerchant = () => {
const id = localStorage.getItem('RoleIdByMerchant');
if (id) {
return Number(id);
}
return undefined;
};
export const getRoleNameByMerchant = () => {
const name = localStorage.getItem('RoleNameByMerchant');
if (name) {
return name;
}
return undefined;
};