增加验证规则复用
This commit is contained in:
parent
5e7570e557
commit
262c6b1594
|
@ -276,7 +276,7 @@ func SetUserAuthority(c *gin.Context) {
|
||||||
// @Security ApiKeyAuth
|
// @Security ApiKeyAuth
|
||||||
// @accept application/json
|
// @accept application/json
|
||||||
// @Produce application/json
|
// @Produce application/json
|
||||||
// @Param data body request.SetUserAuth true "删除用户"
|
// @Param data body request.GetById true "删除用户"
|
||||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"
|
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"
|
||||||
// @Router /user/deleteUser [delete]
|
// @Router /user/deleteUser [delete]
|
||||||
func DeleteUser(c *gin.Context) {
|
func DeleteUser(c *gin.Context) {
|
||||||
|
|
Loading…
Reference in New Issue