{ "openapi": "3.1.0", "info": { "title": "智慧传承系统pc端", "description": "智慧传承系统pc端—相关接口文档", "version": "1.0-SNAPSHOT" }, "paths": { "/basis/member/add": { "post": { "tags": ["工作室管理API"], "summary": "新增工作室成员", "operationId": "addPsMember", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PersonalStudioMemberDetail" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/AjaxResult" } } } } } } } }, "components": { "schemas": { "PersonalStudioMemberDetail": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "主键ID" }, "personalStudioId": { "type": "integer", "format": "int64", "description": "工作室ID" }, "name": { "type": "string", "description": "姓名", "minLength": 1 }, "phone": { "type": "string", "description": "电话", "minLength": 1 }, "jobTitle": { "type": "string", "description": "职称(详见字典:智慧传承系统-职称)", "minLength": 1, "pattern": "^[01234]$" }, "expertTitle": { "type": "string", "description": "专家头衔(详见字典:智慧传承系统-专家头衔)", "pattern": "^[0123]$" }, "imageUrl": { "type": "string", "description": "头像" }, "jobProfile": { "type": "string", "description": "职责简介", "minLength": 1 }, "createBy": { "type": "string", "description": "创建者" }, "createTime": { "type": "string", "format": "date-time", "description": "创建时间" }, "updateBy": { "type": "string", "description": "更新者" }, "updateTime": { "type": "string", "format": "date-time", "description": "更新时间" } }, "required": [ "jobProfile", "jobTitle", "name", "personalStudioId", "phone" ] }, "AjaxResult": { "type": "object", "description": "接口返回对象", "properties": { "code": { "type": "integer", "format": "int32", "description": "状态码" }, "msg": { "type": "string", "description": "提示语" }, "data": { "description": "数据对象" } } } } } }