批量优化

This commit is contained in:
hero920103 committed 2026-10-08 15:30:37 +08:00
1 parent 438145cae7
commit c925b198d1
50 files changed
+5716 -291

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import request from '@/utils/request';
// 获取「加入企业」申请列表(仅本租户,按 JWT tid 隔离)
export function getTenantApplies(params) {
return request({
url: '/backend/tenantApplies',
method: 'get',
params,
});
}
// 通过申请:申请人加入本企业(默认「租户用户」角色)
export function approveTenantApply(id) {
return request({
url: `/backend/tenantApplies/approve/${id}`,
method: 'post',
});
}
// 驳回申请:data = { reason }
export function rejectTenantApply(id, data) {
return request({
url: `/backend/tenantApplies/reject/${id}`,
method: 'post',
data,
});
}