MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / Register

Method Register

controller/user.go:23–36  ·  view source on GitHub ↗

@Tags 用户 @Summary 管理员添加用户 @Accept json @Produce json @Param "" body model.UserRegisterReq true "管理员添加用户" @Success 200 {object} model.Result "" @Failure 400 {object} model.Result "" @Router /user/register [POST]

(c *gin.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

initFunction · 0.80
initFunction · 0.80
initFunction · 0.80
initFunction · 0.80
initFunction · 0.80

Calls 3

ErrorResponseFunction · 0.85
SuccessResponseFunction · 0.85
CreateMethod · 0.65

Tested by

no test coverage detected