add
wangpengfei
2023-07-18 5fac03fb857cf9a160e1736a25de2c5f95f5e44f
docs/docs.go
@@ -6292,26 +6292,16 @@
                    "description": "用户角色ID",
                    "type": "integer"
                },
                "companyName": {
                    "type": "string"
                },
                "createAt": {
                    "description": "创建时间",
                    "type": "string"
                "departmentId": {
                    "type": "integer"
                },
                "email": {
                    "type": "string"
                },
                "enable": {
                    "type": "boolean"
                },
                "headerImg": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "ip": {
                    "type": "string"
                },
                "menuIds": {
@@ -6324,26 +6314,13 @@
                "nickName": {
                    "type": "string"
                },
                "parentId": {
                    "type": "string"
                },
                "parentName": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "port": {
                    "type": "string"
                },
                "pos": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "updateAt": {
                    "description": "更新时间",
                "realName": {
                    "type": "string"
                },
                "userType": {
@@ -7526,29 +7503,46 @@
        "request.Register": {
            "type": "object",
            "properties": {
                "authorityId": {
                    "description": "用户角色ID",
                    "type": "integer"
                },
                "departmentId": {
                    "type": "integer"
                },
                "email": {
                    "type": "string",
                    "example": "电子邮箱"
                    "type": "string"
                },
                "headerImg": {
                    "type": "string",
                    "example": "头像链接"
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "nickName": {
                    "type": "string",
                    "example": "昵称"
                    "type": "string"
                },
                "passWord": {
                    "type": "string",
                    "example": "密码"
                "password": {
                    "type": "string"
                },
                "phone": {
                    "type": "string",
                    "example": "电话号码"
                    "type": "string"
                },
                "userName": {
                    "type": "string",
                    "example": "用户名"
                "pos": {
                    "type": "string"
                },
                "rePassword": {
                    "description": "确认密码",
                    "type": "string"
                },
                "realName": {
                    "type": "string"
                },
                "userType": {
                    "$ref": "#/definitions/constvar.UserType"
                },
                "username": {
                    "type": "string"
                }
            }
        },