删除注册页面 为注册接口修改为需要权限 防止业务漏洞

This commit is contained in:
QM303176530
2020-10-18 12:26:34 +08:00
parent 938c598cfb
commit 1848ceb8f7
7 changed files with 729 additions and 180 deletions

View File

@@ -22,7 +22,7 @@ import (
// @Produce application/json
// @Param data body model.SysUser true "用户注册接口"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"注册成功"}"
// @Router /base/register [post]
// @Router /user/register [post]
func Register(c *gin.Context) {
var R request.RegisterStruct
_ = c.ShouldBindJSON(&R)