Skip to content

Commit 1848ceb

Browse files
author
QM303176530
committed
删除注册页面 为注册接口修改为需要权限 防止业务漏洞
1 parent 938c598 commit 1848ceb

File tree

7 files changed

+707
-158
lines changed

7 files changed

+707
-158
lines changed

server/api/v1/sys_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
// @Produce application/json
2323
// @Param data body model.SysUser true "用户注册接口"
2424
// @Success 200 {string} string "{"success":true,"data":{},"msg":"注册成功"}"
25-
// @Router /base/register [post]
25+
// @Router /user/register [post]
2626
func Register(c *gin.Context) {
2727
var R request.RegisterStruct
2828
_ = c.ShouldBindJSON(&R)

0 commit comments

Comments
 (0)