{ "openapi": "3.1.0", "info": { "title": "智慧传承系统pc端", "description": "智慧传承系统pc端—相关接口文档", "version": "1.0-SNAPSHOT" }, "paths": { "/basis/department/add": { "post": { "tags": ["工作室管理API"], "summary": "新增工作室", "operationId": "addPs", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PersonalStudioDetail" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/AjaxResult" } } } } } } } }, "components": { "schemas": { "PersonalStudioDetail": { "type": "object", "properties": { "pid": { "type": "integer", "format": "int64", "description": "主键ID" }, "deptCode": { "type": "string", "description": "工作室编码", "minLength": 1 }, "deptName": { "type": "string", "description": "工作室名称", "minLength": 1 }, "profile": { "type": "string", "description": "工作室简介" }, "hospitalId": { "type": "integer", "format": "int64", "description": "机构id" }, "hospitalName": { "type": "string", "description": "机构名称", "minLength": 1 }, "doctorName": { "type": "string", "description": "医生姓名", "minLength": 1 }, "doctorProfile": { "type": "string", "description": "医生简介" }, "curatorName": { "type": "string", "description": "负责人姓名", "minLength": 1 }, "phoneNumber": { "type": "string", "description": "联系电话", "minLength": 1 }, "specificDirection": { "type": "string", "description": "专科方向" }, "sectName": { "type": "string", "description": "流派名称" }, "sectImpart": { "type": "string", "description": "流派传承" }, "impartTeam": { "type": "string", "description": "传承团队" }, "createBy": { "type": "string", "description": "创建者" }, "createTime": { "type": "string", "format": "date-time", "description": "创建时间" }, "updateBy": { "type": "string", "description": "更新者" }, "updateTime": { "type": "string", "format": "date-time", "description": "更新时间" }, "remark": { "type": "string", "description": "备注" } }, "required": [ "curatorName", "deptCode", "deptName", "doctorName", "hospitalId", "hospitalName", "phoneNumber" ] }, "AjaxResult": { "type": "object", "description": "接口返回对象", "properties": { "code": { "type": "integer", "format": "int32", "description": "状态码" }, "msg": { "type": "string", "description": "提示语" }, "data": { "description": "数据对象" } } } } } }