批量优化

This commit is contained in:
hero920103 committed 2026-10-03 23:46:55 +08:00
1 parent e3db229f41
commit aa92ca40a2
79 files changed
+7495 -1104

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ func (c *BackendModulesController) GetTenantList() {
c.jsonErr(500, 500, "获取失败:"+err.Error())
return
}
// 租户后台是 Web 端:只保留 web 可见的模块(未配置视为全端)
rows = services.FilterModulesByPlatform(rows, models.PlatformWeb)
// 查询当前租户已开通的模块 code 集合(套餐模块 + 已开通产品订单关联模块,编码已规范化)
tid := uint64(claims.TenantId)