v1

package
v0.0.0-...-ec350aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerConfigHandler

type ServerConfigHandler struct {
	// contains filtered or unexported fields
}

func NewServerConfigHandler

func NewServerConfigHandler(i *do.Injector) (*ServerConfigHandler, error)

func (*ServerConfigHandler) Get

func (h *ServerConfigHandler) Get(c *web.Context) error

Get 获取服务配置

@Summary		获取服务配置
@Description	返回当前服务的产品形态、SaaS 区域和版本信息,用于前端区分部署形态和升级状态。
@Tags			【服务】配置信息
@Accept			json
@Produce		json
@Success		200	{object}	web.Resp{data=domain.ServerConfig}	"获取成功"
@Failure		500	{object}	web.Resp							"服务器内部错误"
@Router			/api/v1/server/config [get]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL