104 lines
2.7 KiB
JSON
104 lines
2.7 KiB
JSON
{
|
|
"openapi": "3.0.1",
|
|
"info": {
|
|
"title": "默认模块",
|
|
"description": "",
|
|
"version": "1.0.0"
|
|
},
|
|
"tags": [],
|
|
"paths": {
|
|
"/api/v1/admin/user/user/update": {
|
|
"post": {
|
|
"summary": "更新用户信息",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"user_id": {
|
|
"description": "用户ID",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"sex": {
|
|
"description": "性别 true 男 false 女",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"age": {
|
|
"description": "年龄",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"cover_id": {
|
|
"description": "头像id",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"user_name": {
|
|
"description": "用户名",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"recommend_id": {
|
|
"description": "推介用户id",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"phone": {
|
|
"description": "手机号码",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"email": {
|
|
"description": "邮箱",
|
|
"example": "",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {},
|
|
"responses": {},
|
|
"securitySchemes": {}
|
|
},
|
|
"servers": [],
|
|
"security": []
|
|
} |