| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {
- "openapi": "3.1.0",
- "info": {
- "title": "智慧传承系统pc端",
- "description": "智慧传承系统pc端—相关接口文档",
- "version": "1.0-SNAPSHOT"
- },
- "paths": {
- "/business/add": {
- "post": {
- "tags": ["专病管理API"],
- "summary": "新增专病",
- "operationId": "add_1",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SpecificDiseaseDetail"
- }
- }
- },
- "required": true
- },
- "responses": {
- "200": {
- "description": "OK",
- "content": {
- "*/*": {
- "schema": {
- "$ref": "#/components/schemas/AjaxResult"
- }
- }
- }
- }
- }
- }
- }
- },
- "components": {
- "schemas": {
- "SpecificDiseaseDetail": {
- "type": "object",
- "properties": {
- "pid": {
- "type": "integer",
- "format": "int64",
- "description": "主键ID"
- },
- "deptId": {
- "type": "integer",
- "format": "int64",
- "description": "工作室ID"
- },
- "diseaseName": {
- "type": "string",
- "description": "专病名称",
- "minLength": 1
- },
- "imageUrl": {
- "type": "string",
- "description": "形象图片url"
- },
- "specificDescribe": {
- "type": "string",
- "description": "描述"
- }
- },
- "required": ["deptId", "diseaseName"]
- },
- "AjaxResult": {
- "type": "object",
- "description": "接口返回对象",
- "properties": {
- "code": {
- "type": "integer",
- "format": "int32",
- "description": "状态码"
- },
- "msg": {
- "type": "string",
- "description": "提示语"
- },
- "data": {
- "description": "数据对象"
- }
- }
- }
- }
- }
- }
|