This commit is contained in:
hero920103 committed 2026-10-19 01:13:17 +08:00
1 parent 5718a00e31
commit 1850ac640e
226 files changed
+37772 -12071

No files matched your search

+3 -1
View File
@@ -8,6 +8,7 @@ import (
"server/models"
beego "github.com/beego/beego/v2/server/web"
"server/pkg/identity"
)
// BackendCrmDashboardController CRM 数据仪表盘:按时间维度聚合真实业务数据。
@@ -223,7 +224,8 @@ func crmAmountCol(key string) string {
func (c *BackendCrmDashboardController) Summary() {
claims, err := pipelineClaims(&c.Controller)
if err != nil {
pipelineErr(&c.Controller, 401, 401, err.Error())
code := identity.Status(err)
pipelineErr(&c.Controller, code, code, err.Error())
return
}
tenantID := pipelineTenantID(claims)