feat platform dashboard and organization management

This commit is contained in:
david
2026-07-29 14:51:13 +08:00
parent 35a52c4b06
commit 5c5bc49e86
13 changed files with 466 additions and 94 deletions

View File

@@ -2,7 +2,6 @@ package dashboard
import (
"git.apinb.com/bsm-sdk/core/infra"
"git.apinb.com/heqiapp/platforms/backend/api/internal/models"
"github.com/gin-gonic/gin"
)
@@ -13,7 +12,7 @@ func PingHello(ctx *gin.Context) {
// DashboardOverview 返回平台总后台的运营概览数据。
func DashboardOverview(ctx *gin.Context) {
overview, err := models.GetDashboardOverview()
overview, err := GetDashboardOverview()
if err != nil {
infra.Response.Error(ctx, err)
return