初始提交:OCI 面板后端(含 GenAI 网关一期)

This commit is contained in:
Wang Defa
2026-07-09 15:31:04 +08:00
commit b9a3e97e84
168 changed files with 31794 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package api
import (
"net/http"
"github.com/gin-gonic/gin"
)
// overview 返回总览页聚合数据(本地快照,不发云端请求)。
func (h *ociConfigHandler) overview(c *gin.Context) {
out, err := h.svc.Overview(c.Request.Context())
if err != nil {
respondError(c, err)
return
}
c.JSON(http.StatusOK, out)
}