| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- {
- "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": "数据对象"
- }
- }
- }
- }
- }
- }
|