docs📝: 用户接口文档

This commit is contained in:
zhangwenjian committed 2021-07-14 22:36:03 +08:00
1 parent c74080664f
commit 4a2659573b
1 file changed
+2 -2
+2 -2
View File
@@ -95,7 +95,7 @@ func (e SysUser) Get(c *gin.Context) {
// @Tags 用户
// @Accept application/json
// @Product application/json
// @Param data body dto.SysUserControl true "用户数据"
// @Param data body dto.SysUserInsertReq true "用户数据"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-user [post]
// @Security Bearer
@@ -130,7 +130,7 @@ func (e SysUser) Insert(c *gin.Context) {
// @Tags 用户
// @Accept application/json
// @Product application/json
// @Param data body dto.SysUserControl true "body"
// @Param data body dto.SysUserUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-user/{userId} [put]
// @Security Bearer