mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-17 07:03:42 +08:00
init minio
This commit is contained in:
@@ -610,6 +610,44 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/iam/avatar/upload": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"identity-access-controller"
|
||||
],
|
||||
"operationId": "uploadAvatar",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"multipart/form-data": {
|
||||
"schema": {
|
||||
"required": [
|
||||
"file"
|
||||
],
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"file": {
|
||||
"type": "string",
|
||||
"format": "binary"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/department": {
|
||||
"post": {
|
||||
"tags": [
|
||||
@@ -1300,6 +1338,9 @@
|
||||
},
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"avatar": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1732,6 +1773,9 @@
|
||||
"type": "string",
|
||||
"writeOnly": true
|
||||
},
|
||||
"avatar": {
|
||||
"type": "string"
|
||||
},
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user