新增几大中心功能

This commit is contained in:
Administrator
2026-04-23 15:29:07 +08:00
parent 5c2a146a44
commit c6354ee065
123 changed files with 13074 additions and 229 deletions

View File

@@ -0,0 +1,28 @@
package system
import (
"git.echol.cn/loser/Go-Web-Template/server/model/common/response"
"github.com/gin-gonic/gin"
)
type PublicAuthApi struct{}
// RegisterStatus
// @Tags PublicAuth
// @Summary (废弃)获取注册开放状态
// @Produce application/json
// @Success 200 {object} response.Response{msg=string} "已废弃"
// @Router /public/auth/register/status [get]
func (a *PublicAuthApi) RegisterStatus(c *gin.Context) {
response.FailWithMessage("该接口已废弃,请使用 GET /public/app/register/status", c)
}
// PublicRegister
// @Tags PublicAuth
// @Summary (废弃)用户前端注册
// @Produce application/json
// @Success 200 {object} response.Response{msg=string} "已废弃"
// @Router /public/auth/register [post]
func (a *PublicAuthApi) PublicRegister(c *gin.Context) {
response.FailWithMessage("该接口已废弃,请使用 POST /public/app/register", c)
}