Files
Go-Web-Template/server/api/v1/system/public_auth.go
2026-04-23 15:29:07 +08:00

29 lines
926 B
Go

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)
}