✨ 新增几大中心功能
This commit is contained in:
28
server/api/v1/system/public_auth.go
Normal file
28
server/api/v1/system/public_auth.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user