{ "swagger": "2.0", "info": { "description": "This is a gateway server. On the page, you can go to do testing for every API.", "title": "Project property-system-gateway's APIs", "contact": {}, "license": {}, "version": "1.1" }, "paths": { "/api/v1/application": { "get": { "description": "所有应用列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应用" ], "summary": "所有应用列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "第几页,1为起始页, -1 不分页返回所有", "name": "page", "in": "query", "required": true }, { "type": "integer", "description": "每页条数,-1 不分页返回所有", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ApplicationListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/building": { "get": { "description": "楼栋列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "楼栋列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "楼栋编号", "name": "building_number", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改楼栋", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "更改楼栋", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.BuildingUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加楼栋", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "添加楼栋", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.BuildingAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除楼栋", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "删除楼栋", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/building/import": { "post": { "description": "楼栋导入", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "楼栋导入", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "file", "description": "file", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BatchHouseAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/building/template": { "get": { "description": "获取楼盘模板", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "获取楼盘模板", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.TemplateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/house": { "get": { "description": "房屋列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "房屋列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "门牌号906", "name": "house_number", "in": "query" }, { "type": "integer", "description": "总房号 1-2-906", "name": "house_name", "in": "query" }, { "type": "integer", "description": "楼栋id", "name": "building_id", "in": "query" }, { "type": "integer", "description": "单元id", "name": "unit_id", "in": "query" }, { "type": "integer", "description": "住户uid", "name": "household_uid", "in": "query" }, { "type": "integer", "description": "房屋类型 1 住宅 2 商铺 3 办公", "name": "house_type", "in": "query" }, { "type": "boolean", "description": "是否用于房屋租赁 true 是 false 否", "name": "house_rent", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改房屋", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "更改房屋", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加房屋", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "添加房屋", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除房屋", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "删除房屋", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/house/import": { "post": { "description": "房屋导入", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "房屋导入", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "file", "description": "file", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BatchHouseAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/house/template": { "get": { "description": "获取房屋模板", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "获取房屋模板", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.TemplateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/manager": { "get": { "description": "楼栋管家列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼栋管理" ], "summary": "楼栋管家列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "楼栋id", "name": "building_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingManagerListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加楼栋管家", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼栋管理" ], "summary": "添加楼栋管家", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.BuildingAddManagerBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingAddManagerResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除楼栋管家", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼栋管理" ], "summary": "删除楼栋管家", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "经纪人与楼栋的关系id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BuildingDelManagerResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/unit": { "get": { "description": "单元列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "单元列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "单元编号", "name": "unit_number", "in": "query" }, { "type": "integer", "description": "楼栋id", "name": "building_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UnitListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改单元", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "更改单元", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.UnitUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UnitUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加单元", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "添加单元", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.UnitAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UnitAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除单元", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "删除单元", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UnitDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/unit/import": { "post": { "description": "单元导入", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "单元导入", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "file", "description": "file", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BatchHouseAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/buildings/unit/template": { "get": { "description": "获取单元模板", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "楼盘管理" ], "summary": "获取单元模板", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.TemplateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/batch_urge": { "get": { "description": "批量催缴单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "批量催缴单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "1 房屋 2 车位", "name": "obj_type", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.BatchUrgeResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/bind": { "put": { "description": "费用绑定对象", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "费用绑定对象", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeBindBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeBindResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/conf": { "get": { "description": "费用配置列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用配置" ], "summary": "费用配置列表", "parameters": [ { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "name": "charge_type", "in": "query" }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeConfListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改费用配置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用配置" ], "summary": "修改费用配置", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeConfUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeConfUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加费用配置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用配置" ], "summary": "添加费用配置", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeConfAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeConfAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除费用配置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用配置" ], "summary": "删除费用配置", "parameters": [ { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeConfDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/discard_bill/list": { "get": { "description": "作废账单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "作废账单" ], "summary": "作废账单列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "name": "charge_type", "in": "query" }, { "type": "string", "description": "对象名", "name": "obj_name", "in": "query" }, { "type": "string", "description": "费项名", "name": "charge_name", "in": "query" }, { "type": "integer", "description": "1 房屋 2 车位 3 车辆 ", "name": "obj_type", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeDelBillListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/discard_bill/recover": { "put": { "description": "恢复账单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "作废账单" ], "summary": "恢复账单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeRecoverBillBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeRecoverBillResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/house/binded_list": { "get": { "description": "绑定了项目的房屋列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "绑定了项目的房屋列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费项id", "name": "charge_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeHouseBindedListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/house/can_bind_list": { "get": { "description": "可以绑定某项目的房屋列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "可以绑定某项目的房屋列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费项id", "name": "charge_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "房号1-2-906", "name": "house_name", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeHouseNotBindListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/bill": { "put": { "description": "手动生成账单,仅周期性费用和水电气可以生成", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "手动生成账单,仅周期性费用和水电气可以生成", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeGenerateBillBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeGenerateBillResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/bill_list": { "get": { "description": "对象的某费项下的待缴账单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "对象的某费项下的待缴账单列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "绑定关系id", "name": "bind_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeBillListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/charge_list": { "get": { "description": "查看费用,费项列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "查看费用,费项列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "房屋/车位/车辆id", "name": "obj_id", "in": "query", "required": true }, { "type": "integer", "description": "1 房屋 2 车位 3 车辆 ", "name": "obj_type", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/house_list": { "get": { "description": "房屋收费 房屋列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "房屋收费 房屋列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeHouseGroupResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/pay": { "put": { "description": "欠费线下缴费", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "欠费线下缴费", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeBillPayBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeBillPayResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/pre_pay": { "put": { "description": "线下预缴物业费或车位费", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "线下预缴物业费或车位费", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargePrePayBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargePrePayResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/pre_pay_info": { "get": { "description": "预缴物业费或车位费前获取对应的金额信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "预缴物业费或车位费前获取对应的金额信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "关系id", "name": "bind_id", "in": "query", "required": true }, { "type": "integer", "description": "缴费月数", "name": "months", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargePrePayInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/space_list": { "get": { "description": "车位收费 车位列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "车位收费 车位列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeSpaceGroupResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/ticket": { "get": { "description": "小票和收据信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "小票和收据信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "订单号 ", "name": "order_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeOrderTicketResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/time": { "put": { "description": "变更时间", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "变更时间", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeTimeSetBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeTimeSetResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/unpay_list": { "get": { "description": "欠费缴费欠费列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "欠费缴费欠费列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "房屋/车位/车辆id", "name": "obj_id", "in": "query", "required": true }, { "type": "integer", "description": "1 房屋 2 车位 3 车辆 ", "name": "obj_type", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeUnpayListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/obj_charge/vehicle_list": { "get": { "description": "车辆收费 车辆列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "对象收费相关" ], "summary": "车辆收费 车辆列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeVehicleGroupResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/order/confirm": { "put": { "description": "确认订单已支付", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "缴费订单" ], "summary": "确认订单已支付", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeOrderPayBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeOrderPayResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/order/info": { "get": { "description": "订单详情", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "缴费订单" ], "summary": "订单详情", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "订单详情", "name": "order_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeOrderInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/order/list": { "get": { "description": "缴费订单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "缴费订单" ], "summary": "缴费订单列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账 6 小程序微信支付 7 小程序支付宝支付 8 app 微信支付 9 app 支付宝支付", "name": "pay_type", "in": "query" }, { "type": "string", "description": "对象名", "name": "obj_name", "in": "query" }, { "type": "integer", "description": "1 待支付 2 已支付", "name": "pay_status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeOrderListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/payed_bill/list": { "get": { "description": "已缴账单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "已缴账单" ], "summary": "已缴账单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "name": "charge_type", "in": "query" }, { "type": "string", "description": "对象名", "name": "obj_name", "in": "query" }, { "type": "string", "description": "费项名", "name": "charge_name", "in": "query" }, { "type": "integer", "description": "1 房屋 2 车位 3 车辆 ", "name": "obj_type", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargePayedBillListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/power": { "get": { "description": "抄表列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "抄表" ], "summary": "抄表列表", "parameters": [ { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "费用类型 2 水费 3 电费 4 气费 ", "name": "charge_type", "in": "query" }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PowerRecordListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加抄表记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "抄表" ], "summary": "添加抄表记录", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.PowerRecordAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PowerRecordAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除抄表记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "抄表" ], "summary": "删除抄表记录", "parameters": [ { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PowerRecordDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/power/batch": { "post": { "description": "批量抄表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "抄表" ], "summary": "批量抄表", "parameters": [ { "type": "string", "description": "jwt token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费用类型 2 水费 3 电费 4 气费", "name": "charge_type", "in": "query", "required": true }, { "type": "file", "description": "file", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PowerRecordBatchAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/power/template": { "get": { "description": "获取抄表模板", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "抄表" ], "summary": "获取抄表模板", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.TemplateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/property_package": { "get": { "description": "物业费套餐列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "物业费套餐" ], "summary": "物业费套餐列表", "parameters": [ { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PropertyPackageListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改物业费套餐", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "物业费套餐" ], "summary": "修改物业费套餐", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.PropertyPackageUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PropertyPackageUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加物业费套餐", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "物业费套餐" ], "summary": "添加物业费套餐", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.PropertyPackageAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PropertyPackageAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除物业费套餐", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "物业费套餐" ], "summary": "删除物业费套餐", "parameters": [ { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PropertyPackageDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/space/binded_list": { "get": { "description": "绑定了项目的车位列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "绑定了项目的车位列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费项id", "name": "charge_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeSpaceBindedListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/space/can_bind_list": { "get": { "description": "可以绑定某项目的车位列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "可以绑定某项目的车位列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费项id", "name": "charge_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeSpaceNotBindListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/unbind": { "put": { "description": "费用解绑对象", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "费用解绑对象", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeUnbindBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeUnbindResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/unpay_bill/discard": { "put": { "description": "作废账单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应收账单" ], "summary": "作废账单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeDelBillBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeDelBillResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/unpay_bill/obj_bill_list": { "get": { "description": "应收账单平铺列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应收账单" ], "summary": "应收账单平铺列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "房屋/车位/车辆id", "name": "obj_id", "in": "query" }, { "type": "integer", "description": "1 房屋 2 车位 3 车辆 ", "name": "obj_type", "in": "query" }, { "type": "integer", "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "name": "charge_type", "in": "query" }, { "type": "string", "description": "对象名", "name": "obj_name", "in": "query" }, { "type": "string", "description": "费项名", "name": "charge_name", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeObjBillListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/unpay_bill/obj_list": { "get": { "description": "应收账单中的对象列表(已废弃)", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应收账单" ], "summary": "应收账单中的对象列表(已废弃)", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeBillObjListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/unpay_bill/urge": { "post": { "description": "一键催缴", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应收账单" ], "summary": "一键催缴", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeUrgeBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeUrgeResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/urge": { "get": { "description": "催缴信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "催缴设置" ], "summary": "催缴信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeUrgeInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "催缴设置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "催缴设置" ], "summary": "催缴设置", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChargeUrgeSetBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeUrgeSetResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/vehicle/binded_list": { "get": { "description": "绑定了项目的车辆列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "绑定了项目的车辆列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费项id", "name": "charge_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeVehicleBindedListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/charge/vehicle/can_bind_list": { "get": { "description": "可以绑定某项目的车辆列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "费用绑定相关" ], "summary": "可以绑定某项目的车辆列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "费项id", "name": "charge_id", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChargeVehicleNotBindListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/department": { "get": { "description": "部门列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门" ], "summary": "部门列表", "parameters": [ { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.DepartmentListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改部门", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门" ], "summary": "更改部门", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.DepartmentUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.DepartmentUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加部门", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门" ], "summary": "添加部门", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.DepartmentAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.DepartmentAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除部门", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门" ], "summary": "删除部门", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.DepartmentDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/garden": { "get": { "description": "小区信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "小区" ], "summary": "小区信息", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GardenInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改小区普通信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "小区" ], "summary": "修改小区普通信息", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": "小区信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GardenUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GardenUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/garden/key_info": { "get": { "description": "小区关键信息申请列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "小区" ], "summary": "小区关键信息申请列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "0不过率 1 待审核 2 审核通过 3 未通过 ", "name": "status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GardenKeyInfoChangeListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "申请修改小区关键信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "小区" ], "summary": "申请修改小区关键信息", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": "小区信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GardenKeyInfoChangeBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GardenKeyInfoChangeResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate": { "get": { "description": "门禁列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "设备名", "name": "device_name", "in": "query" }, { "type": "string", "description": "厂商", "name": "manufactor", "in": "query" }, { "type": "string", "description": "序列号", "name": "sn", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/card": { "get": { "description": "卡列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "卡列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "姓名", "name": "name", "in": "query" }, { "type": "integer", "description": "下发状态 0 不过滤 1 待下发 2 下发成功 3 下发失败", "name": "down_status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateCardListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "门禁卡号重新下发", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁卡号重新下发", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateCardSyncBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateCardSyncResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加卡", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "添加卡", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateCardAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateCardAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除卡", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "删除卡", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "卡记录id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateCardDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/card/devices": { "get": { "description": "卡还可以绑定的设备", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "卡还可以绑定的设备", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "卡号", "name": "card_number", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateCardCanBindDevicesResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/command": { "get": { "description": "操作记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "操作记录", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "设备id", "name": "device_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateCommandListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/command/open": { "post": { "description": "门禁远程开门", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁远程开门", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateOpenBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateOpenResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/command/restart": { "post": { "description": "门禁重启设备", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁重启设备", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateRestartBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateRestartResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/enable": { "put": { "description": "门禁起停用", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁起停用", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateEnableBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateEnableResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/pic": { "get": { "description": "人脸列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "人脸列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "姓名", "name": "name", "in": "query" }, { "type": "integer", "description": "下发状态 0 不过滤 1 待下发 2 下发成功 3 下发失败", "name": "down_status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateUserPicListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "人脸重新下发", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "人脸重新下发", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateUserPicSyncBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateUserPicSyncResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除人脸", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "删除人脸", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "人脸记录id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateUserPicDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/pic/approve": { "put": { "description": "人脸审核", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "人脸审核", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateUserPicApproveBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateUserPicApproveResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/record": { "get": { "description": "开门记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "开门记录", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "设备id必传", "name": "device_id", "in": "query" }, { "type": "integer", "description": "开始时间", "name": "start", "in": "query" }, { "type": "integer", "description": "结束时间", "name": "end", "in": "query" }, { "type": "integer", "description": "0不过滤 1 访客 2 非访客", "name": "is_visitor", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateRecordListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/set": { "put": { "description": "门禁配置进场场和位置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁配置进场场和位置", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateSetBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateSetResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/unit": { "get": { "description": "门禁单元列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁单元列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "设备id", "name": "device_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "门禁添加单元", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "门禁添加单元", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GateUnitAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateUnitAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/gate/visitor": { "get": { "description": "访客记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "门禁" ], "summary": "访客记录", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "门禁id必传", "name": "gate_id", "in": "query" }, { "type": "integer", "description": "开始时间", "name": "start", "in": "query" }, { "type": "integer", "description": "结束时间", "name": "end", "in": "query" }, { "type": "string", "description": "邀请人", "name": "user", "in": "query" }, { "type": "string", "description": "被邀请人", "name": "visitor", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GateVisitorListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/household/approve": { "put": { "description": "审核业主", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "业主管理" ], "summary": "审核业主", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseholdApproveBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseholdApproveResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/household/list": { "get": { "description": "申请列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "业主管理" ], "summary": "申请列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "业主身份类型", "name": "user_type", "in": "query" }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "业主姓名", "name": "name", "in": "query" }, { "type": "integer", "description": "0 未审核+未通过 1 未审核 2 已通过 3 未通过", "name": "approve_status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseholdListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/household/user_list": { "get": { "description": "业主信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "业主管理" ], "summary": "业主信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "业主身份类型", "name": "user_type", "in": "query" }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "业主姓名", "name": "name", "in": "query" }, { "type": "integer", "description": "房屋id", "name": "house_id", "in": "query" }, { "type": "integer", "description": "楼栋id", "name": "building_id", "in": "query" }, { "type": "integer", "description": "单元id", "name": "unit_id", "in": "query" }, { "type": "string", "description": "门禁设备id", "name": "gate_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseholdListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/material/info": { "get": { "description": "获取单个素材", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "素材" ], "summary": "获取单个素材", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "素材类型", "name": "mtype", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.MaterialInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/material/list": { "get": { "description": "根据类型获取素材列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "素材" ], "summary": "根据类型获取素材列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "类型,多个类型以逗号分隔", "name": "mtypes", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.MaterialListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/msg_package": { "get": { "description": "所有套餐列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "短信套餐" ], "summary": "所有套餐列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "第几页,1为起始页, -1 不分页返回所有", "name": "page", "in": "query", "required": true }, { "type": "integer", "description": "每页条数,-1 不分页返回所有", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.MsgPackageListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/msg_package/order": { "get": { "description": "短信套餐订单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "短信套餐" ], "summary": "短信套餐订单列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "第几页,1为起始页, -1 不分页返回所有", "name": "page", "in": "query", "required": true }, { "type": "integer", "description": "每页条数,-1 不分页返回所有", "name": "page_size", "in": "query" }, { "type": "integer", "description": "0不过滤,1待认证 2 已通过(已购) 3 未通过", "name": "status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.MsgPackageOrderListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "购买短信套餐", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "短信套餐" ], "summary": "购买短信套餐", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.MsgPackageOrderAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.MsgPackageOrderAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/openim_upload": { "post": { "description": "上传文件(openim聊天专用)", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "upload" ], "summary": "上传文件(openim聊天专用)", "parameters": [ { "type": "string", "description": "jwt token", "name": "token", "in": "header", "required": true }, { "type": "file", "description": "file", "name": "file", "in": "formData" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UploadResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/order/application": { "get": { "description": "应用订单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应用订单" ], "summary": "应用订单列表", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "第几页,1为起始页, -1 不分页返回所有", "name": "page", "in": "query", "required": true }, { "type": "integer", "description": "每页条数,-1 不分页返回所有", "name": "page_size", "in": "query" }, { "type": "integer", "description": "0不过滤,1待认证 2 已通过(已购) 3 未通过", "name": "status", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GardenApplicationListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "购买应用", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应用订单" ], "summary": "购买应用", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ApplicationOrderAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ApplicationOrderAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/park": { "get": { "description": "停车场列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车场" ], "summary": "停车场列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改停车场", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车场" ], "summary": "更改停车场", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ParkUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加停车场", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车场" ], "summary": "添加停车场", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ParkAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除停车场", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车场" ], "summary": "删除停车场", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/park/space": { "get": { "description": "停车位列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车位" ], "summary": "停车位列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "车位编号 ", "name": "space_number", "in": "query" }, { "type": "integer", "description": "停车场id ", "name": "park_id", "in": "query" }, { "type": "integer", "description": "车位类型 1 普通车位 2 子母车位 3 豪华车位 ", "name": "space_type", "in": "query" }, { "type": "integer", "description": "业主uid", "name": "household_uid", "in": "query" }, { "type": "integer", "description": "车辆的绑定类型", "name": "bind_type", "in": "query" }, { "type": "integer", "description": "车辆已绑定的车位id", "name": "bind_space_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkSpaceListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改停车位", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车位" ], "summary": "更改停车位", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ParkSpaceUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkSpaceUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加停车位", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车位" ], "summary": "添加停车位", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ParkSpaceAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除停车位", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "停车位" ], "summary": "删除停车位", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ParkSpaceDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/permission/all": { "get": { "description": "所有权限节点信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "权限管理" ], "summary": "所有权限节点信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.AllPermissionResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/permission/group": { "put": { "description": "更改权限组", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "权限管理" ], "summary": "更改权限组", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "组信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GroupUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GroupUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加权限组", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "权限管理" ], "summary": "添加权限组", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "组信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.GroupAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GroupAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除权限组", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "权限管理" ], "summary": "删除权限组", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "组id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GroupDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/permission/group_info": { "get": { "description": "权限组信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "权限管理" ], "summary": "权限组信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "组id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GroupInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/permission/group_list": { "get": { "description": "权限组列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "权限管理" ], "summary": "权限组列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GroupListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/person": { "get": { "description": "个人信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人设置" ], "summary": "个人信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PersonInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "个人信息修改", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人设置" ], "summary": "个人信息修改", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.PersonInfoUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/rent/house": { "get": { "description": "租房列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "租房列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "省份代码", "name": "province_code", "in": "query" }, { "type": "string", "description": "城市代码", "name": "city_code", "in": "query" }, { "type": "string", "description": "区域代码", "name": "area_code", "in": "query" }, { "type": "string", "description": "街道代码", "name": "street_code", "in": "query" }, { "type": "integer", "description": "几室", "name": "room_count", "in": "query" }, { "type": "integer", "description": "几厅", "name": "hall_count", "in": "query" }, { "type": "integer", "description": "几卫", "name": "wc_count", "in": "query" }, { "type": "string", "description": "租金大于", "name": "rent_price_greater", "in": "query" }, { "type": "string", "description": "租金小于", "name": "rent_price_less", "in": "query" }, { "type": "integer", "description": "审核状态 0 不过滤 1 待审核 2 通过 3 未通过", "name": "approve_status", "in": "query" }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机", "name": "base_conf", "in": "query" }, { "type": "integer", "description": "从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租", "name": "special_conf", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "修改信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseRentUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "发布房源", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "发布房源", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseRentApplyBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentApplyResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/rent/house/appointment": { "get": { "description": "租房预约记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "租房预约记录", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "房屋全称", "name": "house_name", "in": "query" }, { "type": "string", "description": "联系人", "name": "name", "in": "query" }, { "type": "string", "description": "联系人电话", "name": "phone", "in": "query" }, { "type": "integer", "description": "租房信息id", "name": "rent_id", "in": "query" }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentAppointmentListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "删除租房预约记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "修改租房预约状态", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseRentAppointmentStatusBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentAppointmentStatusResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除租房预约记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "删除租房预约记录", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "预约记录id", "name": "id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentAppointmentDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/rent/house/approve": { "put": { "description": "审核", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "审核", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseRentApproveBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentApproveResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/rent/house/down": { "put": { "description": "下架", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "下架", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseRentDownBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentDownResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/rent/house/manager": { "get": { "description": "房屋的经纪人列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "房屋的经纪人列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "租房信息id", "name": "rent_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentManagerListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加经纪人", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "添加经纪人", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.HouseRentAddManagerBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentAddManagerResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除经纪人", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "房屋租赁" ], "summary": "删除经纪人", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "经纪人与房屋的关系id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.HouseRentDelManagerResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/class": { "get": { "description": "分类列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "分类列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "1公区 2室内 ", "name": "area", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairClassListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "修改分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairClassUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairClassUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "添加分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairClassAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairClassAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "删除分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairClassDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/order": { "get": { "description": "工单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "工单列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": " 1未派单 2 已派单 3 已完结 ", "name": "status", "in": "query" }, { "type": "string", "description": "报修人", "name": "apply_people", "in": "query" }, { "type": "string", "description": "报修人电话", "name": "apply_people_phone", "in": "query" }, { "type": "boolean", "description": " true: 指派给我的", "name": "is_me", "in": "query" }, { "type": "integer", "description": "分类id", "name": "class_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改工单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "修改工单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairOrderUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "新增工单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "新增工单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairOrderAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除工单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "删除工单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/order/back": { "put": { "description": "退单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "退单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairOrderBackBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderBackResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/order/finish": { "put": { "description": "结单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "结单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairOrderFinishBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderFinishResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/order/info": { "get": { "description": "工单详情", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "工单详情", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/order/return_visit": { "put": { "description": "回访", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "回访", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairOrderReturnVisitBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderReturnVisitResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/repair/order/send": { "put": { "description": "派单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "报事报修" ], "summary": "派单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.RepairOrderSendBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.RepairOrderSendResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/announcement": { "get": { "description": "公告列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公告" ], "summary": "公告列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.AnnouncementListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改公告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公告" ], "summary": "修改公告", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.AnnouncementUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.AnnouncementUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加公告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公告" ], "summary": "添加公告", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.AnnouncementAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.AnnouncementAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除公告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公告" ], "summary": "删除公告", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.AnnouncementDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/event": { "get": { "description": "社区活动列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区活动" ], "summary": "社区活动列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.EventListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改社区活动", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区活动" ], "summary": "修改社区活动", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.EventUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.EventUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加社区活动", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区活动" ], "summary": "添加社区活动", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.EventAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.EventAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除社区活动", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区活动" ], "summary": "删除社区活动", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.EventDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/event/sign": { "get": { "description": "社区活动报名记录列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区活动" ], "summary": "社区活动报名记录列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "活动id", "name": "event_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.EventSignListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除社区活动报名记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区活动" ], "summary": "删除社区活动报名记录", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.EventSignDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/neighbor/article": { "get": { "description": "文章列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "文章列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "文章标题 ", "name": "title", "in": "query" }, { "type": "integer", "description": "分类id", "name": "class_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborArticleListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除文章", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "删除文章", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborArticleDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/neighbor/class": { "get": { "description": "分类列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "分类列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "分类名称 ", "name": "class_name", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborClassListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "修改分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.NeighborClassUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborClassUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "添加分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.NeighborClassAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborClassAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "删除分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborClassDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/neighbor/comment": { "get": { "description": "评论列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "评论列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "文章id", "name": "article_id", "in": "query" }, { "type": "integer", "description": "父评论id", "name": "comment_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborCommentListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "社区邻里" ], "summary": "删除评论", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.NeighborCommentDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/vote": { "get": { "description": "投票列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投票" ], "summary": "投票列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "string", "description": "投票标题", "name": "title", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VoteListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改投票", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投票" ], "summary": "修改投票", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.VoteUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VoteUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加投票", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投票" ], "summary": "添加投票", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.VoteAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VoteAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除投票", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投票" ], "summary": "删除投票", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VoteDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/vote/result": { "get": { "description": "一道题的回答详情", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投票" ], "summary": "一道题的回答详情", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true }, { "type": "integer", "description": "题的编号", "name": "number", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VoteResultListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service/vote/result/statistic": { "get": { "description": "投票结果统计", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投票" ], "summary": "投票结果统计", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VoteResultStatisticResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service_phone": { "get": { "description": "电话列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "电话列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "分类id", "name": "class_id", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改电话", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "修改电话", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ServicePhoneUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加电话", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "添加电话", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ServicePhoneAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除电话", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "删除电话", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/service_phone/class": { "get": { "description": "分类列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "分类列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneClassListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "修改分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ServicePhoneClassUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneClassUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "添加分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ServicePhoneClassAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneClassAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务电话" ], "summary": "删除分类", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ServicePhoneClassDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/statistic": { "get": { "description": "统计", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页" ], "summary": "统计", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.StatisticResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/suggestion/order": { "get": { "description": "工单列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "工单列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": " 1未派单 2 已派单 3 已完结 ", "name": "status", "in": "query" }, { "type": "string", "description": "报修人", "name": "apply_people", "in": "query" }, { "type": "string", "description": "报修人电话", "name": "apply_people_phone", "in": "query" }, { "type": "boolean", "description": " true: 指派给我的", "name": "is_me", "in": "query" }, { "type": "integer", "description": "投诉类型 1 投诉 2 建议", "name": "suggestion_type", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改工单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "修改工单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SuggestionOrderUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "新增工单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "新增工单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SuggestionOrderAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除工单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "删除工单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/suggestion/order/back": { "put": { "description": "退单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "退单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SuggestionOrderBackBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderBackResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/suggestion/order/finish": { "put": { "description": "结单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "结单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SuggestionOrderFinishBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderFinishResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/suggestion/order/info": { "get": { "description": "工单详情", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "工单详情", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/suggestion/order/return_visit": { "put": { "description": "回访", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "回访", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SuggestionOrderReturnVisitBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderReturnVisitResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/suggestion/order/send": { "put": { "description": "派单", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "投诉与建议" ], "summary": "派单", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SuggestionOrderSendBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SuggestionOrderSendResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/system_msg": { "put": { "description": "设置消息为已读", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统消息" ], "summary": "设置消息为已读", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.SystemMsgReadedBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VehicleAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/system_msg/list": { "get": { "description": "获取未读消息列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统消息" ], "summary": "获取未读消息列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.SystemMsgListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/system_user": { "get": { "description": "用户列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "用户列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query", "required": true }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "权限组id", "name": "group_id", "in": "query" }, { "type": "string", "description": "用户名", "name": "user_name", "in": "query" }, { "type": "string", "description": "电话号", "name": "phone", "in": "query" }, { "type": "string", "description": "需要排除的用户id,以逗号分隔,如11,2,13,46 (不需要则留空)", "name": "exclude", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UserListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "更改用户", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "更改用户", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "用户信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.UserUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UserUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加用户", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "添加用户", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "用户信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.UserAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UserAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除用户", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "删除用户", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UserDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/token_refresh": { "put": { "description": "刷新token", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "刷新token", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.TokenResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/upload": { "post": { "description": "上传文件", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "upload" ], "summary": "上传文件", "parameters": [ { "type": "string", "description": "jwt token", "name": "token", "in": "header", "required": true }, { "type": "file", "description": "file", "name": "file", "in": "formData" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.UploadResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/change_password": { "put": { "description": "修改密码", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "修改密码", "parameters": [ { "type": "string", "description": " ", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ChangePasswordBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChangePasswordResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/choose_user": { "get": { "description": "手机号登录选择账户", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "手机号登录选择账户", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": "账户id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ChooseUserResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/company_login": { "post": { "description": "公司账户进入小区", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "公司账户进入小区", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.CompanyEnterGardenResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/login": { "post": { "description": "登录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "登录", "parameters": [ { "description": "登录信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.LoginBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.LoginResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/login_by_phone": { "post": { "description": "手机号登录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "手机号登录", "parameters": [ { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.LoginByPhoneBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.LoginByPhoneResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/openim_token": { "get": { "description": "获取openim_token", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "openim" ], "summary": "获取openim token", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "openim_id", "name": "openim_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.OpenImTokenResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/openim_user_face": { "put": { "description": "设置openim_用户头像", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "openim" ], "summary": "设置openim 用户头像", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": " ", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.OpenImUserSetFaceBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.OpenImUserSetFaceResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/openim_user_info": { "get": { "description": "获取openim_用户信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "openim" ], "summary": "获取openim 用户信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "openim_id", "name": "openim_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.OpenImUserInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/openim_users_info": { "get": { "description": "批量获取openim_用户信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "openim" ], "summary": "批量获取openim 用户信息", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "string", "description": "用户openim_id,以逗号分割", "name": "openim_ids", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.OpenImUsersInfoResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/permission_reget": { "get": { "description": "权限变更后重新获取权限", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "权限变更后重新获取权限和token", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.LoginResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/reset_password": { "put": { "description": "忘记密码重置密码", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "忘记密码重置密码", "parameters": [ { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.ResetPasswordBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.ResetPasswordResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/user/vcode": { "get": { "description": "获取短信验证码", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户" ], "summary": "获取短信验证码", "parameters": [ { "type": "string", "description": " ", "name": "phone", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetVcodeResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/vehicle": { "get": { "description": "车辆列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "车辆" ], "summary": "车辆列表", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "page", "in": "query" }, { "type": "integer", "description": " ", "name": "page_size", "in": "query" }, { "type": "integer", "description": "住户uid", "name": "household_id", "in": "query" }, { "type": "string", "description": "车牌号", "name": "plate_no", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VehicleListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "put": { "description": "修改车辆", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "车辆" ], "summary": "修改车辆", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.VehicleUpdateBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VehicleUpdateResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "post": { "description": "添加车辆", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "车辆" ], "summary": "添加车辆", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "description": "信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.VehicleAddBody" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VehicleAddResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } }, "delete": { "description": "删除车辆", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "车辆" ], "summary": "删除车辆", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true }, { "type": "integer", "description": " ", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VehicleDelResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } }, "/api/v1/vehicle/brand": { "get": { "description": "车辆品牌", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "车辆" ], "summary": "车辆品牌", "parameters": [ { "type": "string", "description": "token", "name": "token", "in": "header", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.VehicleBrandListResponse" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/base.HTTPError" } } } } } }, "definitions": { "base.HTTPError": { "type": "object", "properties": { "code": { "type": "integer", "format": "int", "example": 500 }, "message": { "type": "string", "example": "status bad request" } } }, "v1.AllPermissionResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GardenPermissionListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.AnnouncementAddBody": { "type": "object", "properties": { "content": { "type": "string" }, "title": { "type": "string" } } }, "v1.AnnouncementAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.AnnouncementAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.AnnouncementAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.AnnouncementDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.AnnouncementItem": { "type": "object", "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "integer" }, "read": { "type": "boolean" }, "read_count": { "type": "integer" }, "title": { "type": "string" } } }, "v1.AnnouncementListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.AnnouncementItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.AnnouncementListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.AnnouncementListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.AnnouncementUpdateBody": { "type": "object", "properties": { "content": { "type": "string" }, "id": { "type": "integer" }, "title": { "type": "string" } } }, "v1.AnnouncementUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ApplicationItem": { "type": "object", "properties": { "content": { "type": "string" }, "desc": { "type": "string" }, "enable": { "type": "boolean" }, "icon": { "type": "string" }, "id": { "type": "integer" }, "name": { "type": "string" }, "price": { "type": "integer" } } }, "v1.ApplicationListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ApplicationItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ApplicationListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ApplicationListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ApplicationOrderAddBody": { "type": "object", "properties": { "amount": { "description": "单价*周期得出的总价", "type": "integer" }, "application_id": { "type": "integer" } } }, "v1.ApplicationOrderAddReply": { "type": "object", "properties": { "amount": { "description": "订单金额", "type": "integer" }, "application_desc": { "type": "string" }, "application_name": { "type": "string" }, "bank_account": { "description": "银行账号", "type": "string" }, "bank_name": { "description": "开户行", "type": "string" }, "bank_user_name": { "description": "户名", "type": "string" }, "order_id": { "type": "integer" }, "pay_type": { "description": "支付方式 1 对公转账", "type": "integer" } } }, "v1.ApplicationOrderAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ApplicationOrderAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BatchHouseAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BatchUrgeData": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.BatchUrgeItem" } } } }, "v1.BatchUrgeFeeItem": { "type": "object", "properties": { "charge_name": { "description": "费用名称", "type": "string" }, "charge_type": { "description": "费用类型 1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "type": "integer" }, "fee": { "description": "欠费金额", "type": "integer" } } }, "v1.BatchUrgeItem": { "type": "object", "properties": { "list": { "description": "费用", "type": "array", "items": { "$ref": "#/definitions/v1.BatchUrgeFeeItem" } }, "obj_name": { "description": "房号/车位号", "type": "string" } } }, "v1.BatchUrgeResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.BatchUrgeData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingAddBody": { "type": "object", "properties": { "building_area": { "description": "楼栋建筑面积", "type": "number" }, "building_name": { "description": "楼栋名", "type": "string" }, "building_number": { "description": "楼栋编号", "type": "string" }, "building_used_area": { "description": "楼栋使用面积", "type": "number" }, "comment": { "description": "备注", "type": "string" } } }, "v1.BuildingAddManagerBody": { "type": "object", "properties": { "building_id": { "type": "integer" }, "manager_uid": { "type": "integer" } } }, "v1.BuildingAddManagerReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.BuildingAddManagerResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.BuildingAddManagerReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.BuildingAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.BuildingAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingDelManagerResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingItem": { "type": "object", "properties": { "building_area": { "description": "楼栋建筑面积", "type": "number" }, "building_name": { "description": "楼栋名", "type": "string" }, "building_number": { "description": "楼栋编号", "type": "string" }, "building_used_area": { "description": "楼栋使用面积", "type": "number" }, "comment": { "description": "备注", "type": "string" }, "id": { "description": "id", "type": "integer" }, "unit_count": { "type": "integer" } } }, "v1.BuildingListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.BuildingItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.BuildingListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.BuildingListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingManagerItem": { "type": "object", "properties": { "id": { "type": "integer" }, "manager_uid": { "type": "integer" }, "name": { "description": "姓名", "type": "string" }, "openim_id": { "type": "string" }, "phone": { "type": "string" }, "user_name": { "description": "账号", "type": "string" } } }, "v1.BuildingManagerListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.BuildingManagerItem" } } } }, "v1.BuildingManagerListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.BuildingManagerListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.BuildingUpdateBody": { "type": "object", "properties": { "building_area": { "description": "楼栋建筑面积", "type": "number" }, "building_name": { "description": "楼栋名", "type": "string" }, "building_number": { "description": "楼栋编号", "type": "string" }, "building_used_area": { "description": "楼栋使用面积", "type": "number" }, "comment": { "description": "备注", "type": "string" }, "id": { "type": "integer" } } }, "v1.BuildingUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChangePasswordBody": { "type": "object", "properties": { "new_password": { "type": "string" }, "old_password": { "type": "string" } } }, "v1.ChangePasswordResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeBillItem": { "type": "object", "properties": { "amount": { "type": "integer" }, "bill_id": { "type": "integer" }, "charge_desc": { "type": "string" }, "charge_name": { "type": "string" }, "charge_type": { "type": "integer" }, "current_used": { "type": "number" }, "end": { "type": "string" }, "last_used": { "type": "number" }, "late_fee": { "type": "integer" }, "obj_id": { "type": "integer" }, "obj_name": { "type": "string" }, "obj_type": { "type": "integer" }, "start": { "type": "string" } } }, "v1.ChargeBillListReply": { "type": "object", "properties": { "charge_name": { "type": "string" }, "charge_type": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeBillItem" } }, "page": { "type": "integer" }, "should_pay_amount": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeBillListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeBillListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeBillObjItem": { "type": "object", "properties": { "bill_count": { "type": "integer" }, "obj_id": { "type": "integer" }, "obj_name": { "type": "string" }, "obj_type": { "type": "integer" }, "should_pay_amount": { "type": "integer" } } }, "v1.ChargeBillObjListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeBillObjItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeBillObjListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeBillObjListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeBillPayBody": { "type": "object", "properties": { "bind_ids": { "description": "BillIds []int64 `form:\"bill_ids\" json:\"bill_ids\"`\n绑定关系id列表", "type": "array", "items": { "type": "integer" } }, "comment": { "description": "备注", "type": "string" }, "pay_amount": { "description": "实缴", "type": "integer" }, "pay_type": { "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账", "type": "integer" }, "should_pay_amount": { "description": "应缴", "type": "integer" } } }, "v1.ChargeBillPayReply": { "type": "object", "properties": { "order_id": { "type": "string" } } }, "v1.ChargeBillPayResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeBillPayReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeBindBody": { "type": "object", "properties": { "charge_id": { "type": "integer" }, "custom_fee": { "type": "integer" }, "end": { "description": "只有车辆费用有,结束时间", "type": "integer" }, "obj_ids": { "description": "绑定对象的id", "type": "array", "items": { "type": "integer" } }, "start": { "description": "开始时间", "type": "integer" } } }, "v1.ChargeBindResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeConfAddBody": { "type": "object", "properties": { "bill_period": { "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年", "type": "integer" }, "bill_period_type": { "description": "账单周期计算方式 1自然周期 2 费用生效时间", "type": "integer" }, "charge_basis": { "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义", "type": "integer" }, "charge_effective_time": { "description": "费用生效时间", "type": "integer" }, "charge_name": { "description": "费用名称", "type": "string" }, "charge_time_type": { "description": "缴费时间类型 1 周期性缴 2 一次性", "type": "integer" }, "charge_type": { "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "type": "integer" }, "fix_amount": { "description": "固定费用", "type": "integer" }, "fix_amount_name": { "description": "固定费用别名", "type": "string" }, "lateFeePercent": { "description": "滞纳金比例 1代表万分之1", "type": "integer" }, "late_fee_day": { "description": "账单生成后xx天开始算滞纳金", "type": "integer" }, "late_fee_enable": { "description": "滞纳金开启关闭", "type": "boolean" }, "late_fee_max_days": { "description": "滞纳金封顶天数", "type": "integer" }, "unit_price": { "description": "单价", "type": "integer" } } }, "v1.ChargeConfAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.ChargeConfAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeConfAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeConfDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeConfItem": { "type": "object", "properties": { "bill_period": { "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年", "type": "integer" }, "bill_period_type": { "description": "账单周期计算方式 1自然周期 2 费用生效时间", "type": "integer" }, "charge_basis": { "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义", "type": "integer" }, "charge_effective_time": { "description": "费用生效时间", "type": "integer" }, "charge_name": { "description": "费用名称", "type": "string" }, "charge_time_type": { "description": "缴费时间类型 1 周期性缴 2 一次性", "type": "integer" }, "charge_type": { "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "type": "integer" }, "fix_amount": { "description": "固定费用", "type": "integer" }, "fix_amount_name": { "description": "固定费用别名", "type": "string" }, "garden_id": { "type": "integer" }, "id": { "type": "integer" }, "late_fee_day": { "description": "账单生成后xx天开始算滞纳金", "type": "integer" }, "late_fee_enable": { "description": "滞纳金开启关闭", "type": "boolean" }, "late_fee_max_days": { "description": "滞纳金封顶天数", "type": "integer" }, "late_fee_percent": { "description": "滞纳金比例 1代表万分之1", "type": "integer" }, "unit_price": { "description": "单价", "type": "integer" } } }, "v1.ChargeConfListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeConfItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeConfListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeConfListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeConfUpdateBody": { "type": "object", "properties": { "bill_period": { "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年", "type": "integer" }, "bill_period_type": { "description": "账单周期计算方式 1自然周期 2 费用生效时间", "type": "integer" }, "charge_basis": { "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义", "type": "integer" }, "charge_effective_time": { "description": "费用生效时间", "type": "integer" }, "charge_name": { "description": "费用名称", "type": "string" }, "charge_time_type": { "description": "缴费时间类型 1 周期性缴 2 一次性", "type": "integer" }, "charge_type": { "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他", "type": "integer" }, "fix_amount": { "description": "固定费用", "type": "integer" }, "fix_amount_name": { "description": "固定费用别名", "type": "string" }, "id": { "type": "integer" }, "lateFeePercent": { "description": "滞纳金比例 1代表万分之1", "type": "integer" }, "late_fee_day": { "description": "账单生成后xx天开始算滞纳金", "type": "integer" }, "late_fee_enable": { "description": "滞纳金开启关闭", "type": "boolean" }, "late_fee_max_days": { "description": "滞纳金封顶天数", "type": "integer" }, "unit_price": { "description": "单价", "type": "integer" } } }, "v1.ChargeConfUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeDelBillBody": { "type": "object", "properties": { "bill_id": { "type": "integer" }, "del_reason": { "type": "string" } } }, "v1.ChargeDelBillItem": { "type": "object", "properties": { "amount": { "type": "integer" }, "bill_id": { "type": "integer" }, "charge_desc": { "type": "string" }, "charge_name": { "type": "string" }, "charge_type": { "type": "integer" }, "current_used": { "type": "number" }, "del_at": { "type": "string" }, "del_reason": { "type": "string" }, "end": { "type": "string" }, "household_name": { "type": "string" }, "household_phone": { "type": "string" }, "last_used": { "type": "number" }, "late_fee": { "type": "integer" }, "obj_name": { "type": "string" }, "obj_type": { "type": "integer" }, "pay_time": { "type": "string" }, "pay_type": { "type": "integer" }, "start": { "type": "string" } } }, "v1.ChargeDelBillListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeDelBillItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeDelBillListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeDelBillListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeDelBillResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeGenerateBillBody": { "type": "object", "properties": { "bind_id": { "type": "integer" }, "end": { "type": "integer" } } }, "v1.ChargeGenerateBillResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeHouseBindedListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeHouseData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeHouseBindedListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeHouseBindedListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeHouseData": { "type": "object", "properties": { "house_area": { "type": "number" }, "house_id": { "type": "integer" }, "house_name": { "description": "房屋号", "type": "string" }, "house_number": { "description": "门牌号", "type": "string" }, "house_status": { "type": "integer" }, "house_type": { "type": "integer" }, "house_used_area": { "type": "number" }, "layer": { "type": "integer" }, "start": { "type": "integer" } } }, "v1.ChargeHouseGroupItem": { "type": "object", "properties": { "has_unpay_bill": { "description": "是否有欠费账单", "type": "boolean" }, "house_area": { "type": "number" }, "house_id": { "type": "integer" }, "house_name": { "type": "string" }, "house_property_bind_id": { "description": "房屋与物业费的绑定id", "type": "integer" }, "house_status": { "type": "integer" }, "house_type": { "type": "integer" }, "house_used_area": { "type": "number" }, "layer": { "type": "integer" } } }, "v1.ChargeHouseGroupReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeHouseGroupItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeHouseGroupResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeHouseGroupReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeHouseNotBindListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeHouseData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeHouseNotBindListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeHouseNotBindListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeItem": { "type": "object", "properties": { "bind_id": { "type": "integer" }, "charge_name": { "type": "string" }, "charge_time_type": { "type": "integer" }, "charge_type": { "type": "integer" }, "created_at": { "type": "string" }, "desc": { "type": "string" }, "end": { "type": "string" }, "has_bill": { "type": "boolean" }, "start": { "type": "string" }, "status": { "type": "string" } } }, "v1.ChargeListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeObjBillListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeBillItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeObjBillListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeObjBillListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeOrderBillItem": { "type": "object", "properties": { "amount": { "type": "integer" }, "bill_id": { "type": "integer" }, "charge_desc": { "type": "string" }, "charge_name": { "type": "string" }, "charge_type": { "type": "integer" }, "current_used": { "type": "number" }, "end": { "type": "string" }, "last_used": { "type": "number" }, "late_fee": { "type": "integer" }, "obj_name": { "type": "string" }, "start": { "type": "string" } } }, "v1.ChargeOrderInfoReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeOrderBillItem" } } } }, "v1.ChargeOrderInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeOrderInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeOrderItem": { "type": "object", "properties": { "comment": { "type": "string" }, "obj_name": { "type": "string" }, "order_id": { "type": "string" }, "pay_amount": { "type": "integer" }, "pay_time": { "type": "string" }, "pay_type": { "type": "integer" }, "paying_desc": { "type": "string" }, "should_pay_amount": { "type": "integer" }, "status": { "description": "1 待支付 2 已支付", "type": "integer" }, "transaction_id": { "type": "string" } } }, "v1.ChargeOrderListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeOrderItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeOrderListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeOrderListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeOrderPayBody": { "type": "object", "properties": { "order_id": { "type": "string" } } }, "v1.ChargeOrderPayResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeOrderTicketItem": { "type": "object", "properties": { "amount": { "description": "金额 不包含滞纳金", "type": "integer" }, "area_used": { "description": "面积/用量", "type": "number" }, "charge_name": { "description": "费用名称", "type": "string" }, "charge_type": { "description": "费用类型", "type": "integer" }, "custom_fee": { "description": "自定义费用", "type": "integer" }, "end": { "type": "string" }, "fix_amount": { "description": "固定费用", "type": "integer" }, "late_fee": { "description": "滞纳金", "type": "integer" }, "obj_name": { "description": "房屋/车位/车辆", "type": "string" }, "obj_type": { "description": "1 房屋 2 车位 3 车辆", "type": "integer" }, "pay_time": { "description": "支付时间", "type": "string" }, "start": { "description": "收费范围", "type": "string" }, "unit_price": { "description": "单价", "type": "integer" } } }, "v1.ChargeOrderTicketReply": { "type": "object", "properties": { "comment": { "description": "备注", "type": "string" }, "list": { "description": "账单小票条目", "type": "array", "items": { "$ref": "#/definitions/v1.ChargeOrderTicketItem" } }, "should_pay_amount": { "description": "应付总金额 包含滞纳金", "type": "integer" } } }, "v1.ChargeOrderTicketResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeOrderTicketReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargePayedBillItem": { "type": "object", "properties": { "amount": { "type": "integer" }, "bill_id": { "type": "integer" }, "charge_desc": { "type": "string" }, "charge_name": { "type": "string" }, "charge_type": { "type": "integer" }, "current_used": { "type": "number" }, "end": { "type": "string" }, "last_used": { "type": "number" }, "late_fee": { "type": "integer" }, "obj_name": { "type": "string" }, "obj_type": { "type": "integer" }, "pay_time": { "type": "string" }, "pay_type": { "type": "integer" }, "start": { "type": "string" } } }, "v1.ChargePayedBillListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargePayedBillItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargePayedBillListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargePayedBillListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargePrePayBody": { "type": "object", "properties": { "bind_id": { "type": "integer" }, "comment": { "description": "备注", "type": "string" }, "months": { "type": "integer" }, "pay_amount": { "description": "实缴金额", "type": "integer" }, "pay_type": { "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账", "type": "integer" }, "should_pay_amount": { "description": "应缴金额", "type": "integer" } } }, "v1.ChargePrePayInfoReply": { "type": "object", "properties": { "charge_desc": { "type": "string" }, "charge_name": { "type": "string" }, "charge_type": { "type": "integer" }, "should_pay_amount": { "type": "integer" } } }, "v1.ChargePrePayInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargePrePayInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargePrePayReply": { "type": "object", "properties": { "order_id": { "type": "string" } } }, "v1.ChargePrePayResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargePrePayReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeRecoverBillBody": { "type": "object", "properties": { "bill_id": { "type": "integer" } } }, "v1.ChargeRecoverBillResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeSpaceBindedListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeSpaceData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeSpaceBindedListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeSpaceBindedListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeSpaceData": { "type": "object", "properties": { "park_name": { "type": "string" }, "park_number": { "type": "string" }, "space_area": { "type": "number" }, "space_id": { "type": "integer" }, "space_number": { "type": "string" }, "space_status": { "type": "integer" }, "space_type": { "type": "integer" }, "start": { "type": "integer" } } }, "v1.ChargeSpaceGroupItem": { "type": "object", "properties": { "has_unpay_bill": { "description": "是否有欠费账单", "type": "boolean" }, "park_name": { "type": "string" }, "park_number": { "type": "string" }, "space_area": { "type": "number" }, "space_bind_id": { "description": "车位与费用的绑定id", "type": "integer" }, "space_id": { "type": "integer" }, "space_number": { "type": "string" }, "space_status": { "type": "integer" }, "space_type": { "type": "integer" } } }, "v1.ChargeSpaceGroupReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeSpaceGroupItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeSpaceGroupResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeSpaceGroupReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeSpaceNotBindListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeSpaceData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeSpaceNotBindListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeSpaceNotBindListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeTimeSetBody": { "type": "object", "properties": { "bind_id": { "type": "integer" }, "end": { "description": "仅车辆费用可以设结束时间", "type": "integer" }, "start": { "type": "integer" } } }, "v1.ChargeTimeSetResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeUnbindBody": { "type": "object", "properties": { "charge_id": { "type": "integer" }, "obj_id": { "type": "integer" } } }, "v1.ChargeUnbindResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeUnpayItem": { "type": "object", "properties": { "bill_count": { "type": "integer" }, "bind_id": { "type": "integer" }, "charge_name": { "type": "string" }, "charge_time_type": { "type": "integer" }, "charge_type": { "type": "integer" }, "unpay_amount": { "type": "integer" } } }, "v1.ChargeUnpayListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeUnpayItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeUnpayListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeUnpayListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeUrgeBody": { "type": "object", "properties": { "obj_id": { "type": "integer" }, "obj_type": { "type": "integer" } } }, "v1.ChargeUrgeInfoReply": { "type": "object", "properties": { "id": { "type": "integer" }, "urge_day": { "type": "integer" }, "urge_msg_type": { "type": "integer" }, "urge_target": { "type": "integer" } } }, "v1.ChargeUrgeInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeUrgeInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeUrgeResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeUrgeSetBody": { "type": "object", "properties": { "id": { "description": "催缴信息返回的id为0时填0", "type": "integer" }, "urge_day": { "type": "integer" }, "urge_msg_type": { "description": "1 仅短信 2 仅微信 3 短信和微信", "type": "integer" }, "urge_target": { "description": "1 仅业主 2 业主和家人 3 业主家人租客", "type": "integer" } } }, "v1.ChargeUrgeSetResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeVehicleBindedListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeVehicleData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeVehicleBindedListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeVehicleBindedListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeVehicleData": { "type": "object", "properties": { "brand": { "type": "string" }, "custom_fee": { "type": "integer" }, "displacement": { "type": "string" }, "end": { "type": "integer" }, "is_custom": { "type": "boolean" }, "plate_no": { "type": "string" }, "seat": { "type": "integer" }, "start": { "type": "integer" }, "vehicle_id": { "type": "integer" }, "vehicle_type": { "type": "integer" } } }, "v1.ChargeVehicleGroupItem": { "type": "object", "properties": { "brand": { "type": "string" }, "displacement": { "type": "string" }, "plate_no": { "type": "string" }, "seat": { "type": "integer" }, "vehicle_id": { "type": "integer" }, "vehicle_type": { "type": "integer" } } }, "v1.ChargeVehicleGroupReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeVehicleGroupItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeVehicleGroupResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeVehicleGroupReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChargeVehicleNotBindListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ChargeVehicleData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ChargeVehicleNotBindListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ChargeVehicleNotBindListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ChooseUserResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.LoginData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.CompanyEnterGardenResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.LoginData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.DepartmentAddBody": { "type": "object", "properties": { "department_name": { "type": "string" }, "desc": { "type": "string" } } }, "v1.DepartmentAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.DepartmentAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.DepartmentAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.DepartmentDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.DepartmentItem": { "type": "object", "properties": { "created_at": { "type": "string" }, "department_name": { "type": "string" }, "desc": { "type": "string" }, "id": { "type": "integer" } } }, "v1.DepartmentListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.DepartmentItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.DepartmentListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.DepartmentListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.DepartmentUpdateBody": { "type": "object", "properties": { "department_name": { "type": "string" }, "desc": { "type": "string" }, "id": { "type": "integer" } } }, "v1.DepartmentUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.EventAddBody": { "type": "object", "properties": { "addr": { "description": "活动地址", "type": "string" }, "content": { "description": "内容", "type": "string" }, "end": { "description": "活动结束时间", "type": "integer" }, "fee": { "description": "报名费用", "type": "integer" }, "people_limit": { "description": "人数限制", "type": "integer" }, "pic": { "description": "图片", "type": "array", "items": { "type": "string" } }, "sign_up_end": { "description": "报名截止时间", "type": "integer" }, "start": { "description": "活动开始时间", "type": "integer" }, "title": { "type": "string" } } }, "v1.EventAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.EventAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.EventAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.EventDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.EventItem": { "type": "object", "properties": { "addr": { "description": "活动地址", "type": "string" }, "content": { "description": "内容", "type": "string" }, "created_at": { "type": "string" }, "end": { "description": "活动结束时间", "type": "integer" }, "fee": { "description": "报名费用", "type": "integer" }, "id": { "type": "integer" }, "people_count": { "description": "已报名人数", "type": "integer" }, "people_limit": { "description": "人数限制", "type": "integer" }, "pic": { "description": "图片", "type": "array", "items": { "type": "string" } }, "sign": { "description": "物业端不管该字段,小程序查询时该字段有效 是否报名", "type": "boolean" }, "sign_up_end": { "description": "报名截止时间", "type": "integer" }, "start": { "description": "活动开始时间", "type": "integer" }, "status": { "description": "1 报名进行中 2 报名已截止", "type": "integer" }, "title": { "description": "标题", "type": "string" } } }, "v1.EventListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.EventItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.EventListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.EventListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.EventSignDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.EventSignItem": { "type": "object", "properties": { "comment": { "type": "string" }, "count": { "description": "人数", "type": "integer" }, "event_id": { "type": "integer" }, "id": { "type": "integer" }, "name": { "type": "string" }, "phone": { "type": "string" }, "sign_time": { "type": "string" } } }, "v1.EventSignListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.EventSignItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.EventSignListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.EventSignListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.EventUpdateBody": { "type": "object", "properties": { "addr": { "description": "活动地址", "type": "string" }, "content": { "description": "内容", "type": "string" }, "end": { "description": "活动结束时间", "type": "integer" }, "fee": { "description": "报名费用", "type": "integer" }, "id": { "type": "integer" }, "people_limit": { "description": "人数限制", "type": "integer" }, "pic": { "description": "图片", "type": "array", "items": { "type": "string" } }, "sign_up_end": { "description": "报名截止时间", "type": "integer" }, "start": { "description": "活动开始时间", "type": "integer" }, "title": { "type": "string" } } }, "v1.EventUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GardenApplicationItem": { "type": "object", "properties": { "amount": { "type": "integer" }, "application_id": { "type": "integer" }, "content": { "type": "string" }, "desc": { "type": "string" }, "enable": { "type": "boolean" }, "feedback": { "type": "string" }, "garden_name": { "type": "string" }, "icon": { "type": "string" }, "name": { "type": "string" }, "order_id": { "type": "integer" }, "pay_type": { "description": "1 对公转帐", "type": "integer" }, "status": { "description": "1 待审批 2 通过 3 未通过", "type": "integer" } } }, "v1.GardenApplicationListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GardenApplicationItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GardenApplicationListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GardenApplicationListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GardenHouseRentListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.HouseRentItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GardenInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GardenItem" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GardenItem": { "type": "object", "properties": { "appendix": { "type": "array", "items": { "type": "string" } }, "area": { "description": "区", "type": "string" }, "area_code": { "type": "string" }, "area_percent": { "description": "容积率", "type": "number" }, "avg_price": { "type": "integer" }, "building_area": { "description": "建筑面积", "type": "number" }, "building_company": { "description": "开发企业", "type": "string" }, "building_end": { "description": "建成年份结束时间戳", "type": "integer" }, "building_start": { "description": "建成年份开始时间戳", "type": "integer" }, "building_type": { "description": "1塔楼 2 板楼 3 塔板结合 4 其他", "type": "integer" }, "cid": { "description": "物业公司id", "type": "integer" }, "city": { "description": "市", "type": "string" }, "city_code": { "type": "string" }, "committee": { "description": "社区", "type": "string" }, "committee_code": { "type": "string" }, "covered_area": { "description": "占地面积", "type": "number" }, "electric_type": { "description": "电费类型多选 1 民用 2 商用", "type": "array", "items": { "type": "integer" } }, "enable": { "type": "boolean" }, "expire_at": { "type": "integer" }, "feedback": { "type": "string" }, "garden_addr": { "description": "小区地址", "type": "string" }, "garden_desc": { "type": "string" }, "garden_name": { "description": "小区名字", "type": "string" }, "garden_pic": { "type": "string" }, "garden_pics": { "description": "小区图片", "type": "array", "items": { "type": "string" } }, "gas_fee_end": { "description": "燃气费开始,单位分", "type": "integer" }, "gas_fee_start": { "description": "燃气费开始,单位分", "type": "integer" }, "green_percent": { "description": "绿化率", "type": "number" }, "house_count": { "type": "integer" }, "house_count_limit": { "type": "integer" }, "house_total": { "description": "总户数", "type": "integer" }, "id": { "type": "integer" }, "in_use": { "type": "boolean" }, "lat": { "description": "纬度", "type": "number" }, "lnt": { "description": "经度", "type": "number" }, "mch_id": { "type": "string" }, "pay_mode": { "type": "integer" }, "property_fee_end": { "description": "物业费结束, 单位分", "type": "integer" }, "property_fee_start": { "description": "物业费开始,单位分", "type": "integer" }, "property_person": { "description": "物业联系人", "type": "string" }, "property_phone": { "description": "物业联系人手机号", "type": "string" }, "province": { "description": "省", "type": "string" }, "province_code": { "type": "string" }, "space_info": { "description": "车位配比", "type": "string" }, "space_total": { "description": "固定车位数", "type": "integer" }, "status": { "type": "integer" }, "street": { "description": "街道", "type": "string" }, "street_code": { "type": "string" }, "water_type": { "description": "水费类型多选 1 民用 2 商用", "type": "array", "items": { "type": "integer" } } } }, "v1.GardenKeyInfoChangeBody": { "type": "object", "properties": { "area": { "description": "区", "type": "string" }, "area_code": { "type": "string" }, "city": { "description": "市", "type": "string" }, "city_code": { "type": "string" }, "committee": { "description": "社区", "type": "string" }, "committee_code": { "type": "string" }, "garden_name": { "description": "小区名字", "type": "string" }, "province": { "description": "省", "type": "string" }, "province_code": { "type": "string" }, "street": { "description": "街道", "type": "string" }, "street_code": { "type": "string" } } }, "v1.GardenKeyInfoChangeListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GardenKeyInfoData" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GardenKeyInfoChangeListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GardenKeyInfoChangeListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GardenKeyInfoChangeResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GardenKeyInfoData": { "type": "object", "properties": { "cid": { "type": "integer" }, "feedback": { "type": "string" }, "garden_detail": { "type": "string" }, "garden_id": { "type": "integer" }, "garden_name": { "type": "string" }, "id": { "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GardenKeyInfoItem" } }, "status": { "type": "integer" } } }, "v1.GardenKeyInfoItem": { "type": "object", "properties": { "field_name": { "type": "string" }, "field_value_dst": { "type": "string" }, "field_value_src": { "type": "string" } } }, "v1.GardenPermissionItem": { "type": "object", "properties": { "applete_path": { "description": "小程序组件路径", "type": "string" }, "childs": { "type": "array", "items": { "$ref": "#/definitions/v1.GardenPermissionItem" } }, "code": { "type": "string" }, "created_at": { "type": "integer" }, "enable": { "description": "1 已发布 2 未发布", "type": "integer" }, "enable_at": { "type": "integer" }, "level": { "type": "integer" }, "name": { "description": "权限名字", "type": "string" }, "path": { "description": "组件路径", "type": "string" }, "pcode": { "description": "父code,若没有则填空", "type": "string" }, "router": { "description": "路由", "type": "string" } } }, "v1.GardenPermissionListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GardenPermissionItem" } } } }, "v1.GardenUpdateBody": { "type": "object", "properties": { "area_percent": { "description": "容积率", "type": "number" }, "avg_price": { "type": "integer" }, "building_area": { "description": "建筑面积", "type": "number" }, "building_company": { "description": "开发企业", "type": "string" }, "building_end": { "description": "建成年份结束时间戳", "type": "integer" }, "building_start": { "description": "建成年份开始时间戳", "type": "integer" }, "building_type": { "description": "1塔楼 2 板楼 3 塔板结合 4 其他", "type": "integer" }, "covered_area": { "description": "占地面积", "type": "number" }, "electric_type": { "description": "电费类型多选 1 民用 2 商用", "type": "array", "items": { "type": "integer" } }, "garden_addr": { "description": "省\nProvince string `form:\"province\" json:\"province\"`\nProvinceCode string `form:\"province_code\" json:\"province_code\"`\n市\nCity string `form:\"city\" json:\"city\"`\nCityCode string `form:\"city_code\" json:\"city_code\"`\n区\nArea string `form:\"area\" json:\"area\"`\nAreaCode string `form:\"area_code\" json:\"area_code\"`\n街道\nStreet string `form:\"street\" json:\"street\"`\nStreetCode string `form:\"street_code\" json:\"street_code\"`\n社区\nCommittee string `form:\"committee\" json:\"committee\"`\nCommitteeCode string `form:\"committee_code\" json:\"committee_code\"`\n小区名字\nGardenName string `form:\"garden_name\" json:\"garden_name\"`\n小区地址", "type": "string" }, "garden_desc": { "description": "小区描述", "type": "string" }, "garden_pic": { "description": "小区形象图片", "type": "string" }, "garden_pics": { "description": "小区图片", "type": "array", "items": { "type": "string" } }, "gas_fee_end": { "description": "燃气费开始,单位分", "type": "integer" }, "gas_fee_start": { "description": "燃气费开始,单位分", "type": "integer" }, "green_percent": { "description": "绿化率", "type": "number" }, "house_total": { "description": "总户数", "type": "integer" }, "lat": { "description": "纬度", "type": "number" }, "lnt": { "description": "经度", "type": "number" }, "property_fee_end": { "description": "物业费结束, 单位分", "type": "integer" }, "property_fee_start": { "description": "物业费开始,单位分", "type": "integer" }, "property_person": { "description": "物业联系人", "type": "string" }, "property_phone": { "description": "物业联系人手机号", "type": "string" }, "space_info": { "description": "车位配比", "type": "string" }, "space_total": { "description": "固定车位数", "type": "integer" }, "water_type": { "description": "水费类型多选 1 民用 2 商用", "type": "array", "items": { "type": "integer" } } } }, "v1.GardenUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateCardAddBody": { "type": "object", "properties": { "card_number": { "type": "string" }, "device_ids": { "type": "array", "items": { "type": "integer" } }, "name": { "type": "string" } } }, "v1.GateCardAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateCardCanBindDevicesReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateItem" } } } }, "v1.GateCardCanBindDevicesResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateCardCanBindDevicesReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateCardDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateCardDevice": { "type": "object", "properties": { "device_id": { "type": "integer" }, "device_name": { "type": "string" }, "direction": { "type": "integer" }, "down_status": { "type": "integer" }, "location": { "type": "string" } } }, "v1.GateCardItem": { "type": "object", "properties": { "card_number": { "type": "string" }, "created_at": { "type": "integer" }, "down_status": { "type": "integer" }, "gate_permissions": { "type": "array", "items": { "$ref": "#/definitions/v1.GateCardDevice" } }, "id": { "type": "integer" }, "name": { "type": "string" } } }, "v1.GateCardListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateCardItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GateCardListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateCardListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateCardSyncBody": { "type": "object", "properties": { "id": { "description": "卡的记录id", "type": "integer" } } }, "v1.GateCardSyncResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateCommandItem": { "type": "object", "properties": { "created_at": { "type": "integer" }, "desc": { "type": "string" }, "device_id": { "type": "integer" }, "id": { "type": "integer" }, "result_status": { "description": "1 成功 2 失败", "type": "integer" }, "result_status_desc": { "description": "结果描述", "type": "string" }, "status": { "description": "1 待执行 2 执行中 3 执行完成", "type": "integer" } } }, "v1.GateCommandListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateCommandItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GateCommandListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateCommandListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateEnableBody": { "type": "object", "properties": { "device_id": { "type": "integer" }, "enable": { "description": "true 启用 false 停用", "type": "boolean" } } }, "v1.GateEnableResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateItem": { "type": "object", "properties": { "auth_key": { "description": "授权key", "type": "string" }, "card_support": { "description": "1 支持卡 2 不支持", "type": "integer" }, "device_id": { "description": "设备id", "type": "integer" }, "device_name": { "description": "设备名", "type": "string" }, "direction": { "description": "1 进场 2 出场 3 进出场", "type": "integer" }, "enable": { "description": "true 已启用 false 已禁用", "type": "boolean" }, "garden_id": { "description": "小区id", "type": "integer" }, "garden_name": { "description": "小区名", "type": "string" }, "ip": { "type": "string" }, "location": { "type": "string" }, "mac": { "type": "string" }, "manufactor": { "description": "厂商", "type": "string" }, "out_time": { "description": "出库时间", "type": "integer" }, "out_user": { "description": "出库人", "type": "string" }, "password": { "type": "string" }, "pic_support": { "description": "1 支持人脸 2 不支持", "type": "integer" }, "port": { "type": "integer" }, "protocol": { "description": "协议", "type": "integer" }, "protocol_desc": { "type": "string" }, "qcode_support": { "description": "1支持二维码 2 不支持", "type": "integer" }, "sn": { "description": "序列号", "type": "string" }, "status": { "description": "1 在线 2 离线", "type": "integer" }, "user_name": { "type": "string" } } }, "v1.GateListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GateListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateOpenBody": { "type": "object", "properties": { "device_id": { "type": "integer" } } }, "v1.GateOpenResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateRecordItem": { "type": "object", "properties": { "card_number": { "type": "string" }, "card_owner": { "type": "string" }, "device_id": { "type": "string" }, "direction": { "type": "integer" }, "garden_id": { "type": "integer" }, "household_housename": { "type": "string" }, "household_id_number": { "type": "string" }, "household_uid": { "type": "integer" }, "household_user": { "type": "string" }, "is_visitor": { "description": "1 访客 2 非访客", "type": "integer" }, "location": { "type": "string" }, "online": { "type": "integer" }, "open_time": { "description": "开门时间", "type": "integer" }, "open_type": { "description": "1 二维码 2 刷卡 3 人脸", "type": "integer" }, "protocol": { "type": "integer" }, "sn": { "type": "string" }, "visitor_name": { "type": "string" }, "visitor_phone": { "type": "string" }, "white_id": { "type": "integer" } } }, "v1.GateRecordListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateRecordItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GateRecordListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateRecordListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateRestartBody": { "type": "object", "properties": { "device_id": { "type": "integer" } } }, "v1.GateRestartResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateSetBody": { "type": "object", "properties": { "device_id": { "type": "integer" }, "direction": { "description": "1 进场 2 出场 3 进出场", "type": "integer" }, "gate_name": { "type": "string" }, "ip": { "type": "string" }, "location": { "description": "位置", "type": "string" }, "mac": { "type": "string" }, "password": { "type": "string" }, "user": { "type": "string" } } }, "v1.GateSetResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateUnitAddBody": { "type": "object", "properties": { "device_id": { "type": "integer" }, "unit_id": { "type": "array", "items": { "type": "integer" } } } }, "v1.GateUnitAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateUserPicApproveBody": { "type": "object", "properties": { "feedback": { "type": "string" }, "id": { "description": "人脸记录id", "type": "integer" }, "status": { "type": "boolean" } } }, "v1.GateUserPicApproveResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateUserPicDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateUserPicDevice": { "type": "object", "properties": { "device_id": { "type": "integer" }, "device_name": { "type": "string" }, "direction": { "type": "integer" }, "down_status": { "type": "integer" }, "location": { "type": "string" } } }, "v1.GateUserPicItem": { "type": "object", "properties": { "approve_status": { "type": "integer" }, "approved_at": { "type": "integer" }, "created_at": { "type": "integer" }, "down_status": { "type": "integer" }, "gate_permissions": { "type": "array", "items": { "$ref": "#/definitions/v1.GateUserPicDevice" } }, "house_name": { "type": "string" }, "id": { "type": "integer" }, "id_number": { "type": "string" }, "name": { "type": "string" }, "pic_url": { "type": "string" }, "uid": { "type": "integer" }, "user_type": { "type": "integer" } } }, "v1.GateUserPicListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateUserPicItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GateUserPicListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateUserPicListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateUserPicSyncBody": { "type": "object", "properties": { "id": { "description": "人脸记录id", "type": "integer" } } }, "v1.GateUserPicSyncResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GateVisitorListItem": { "type": "object", "properties": { "comment": { "type": "string" }, "device_id": { "type": "integer" }, "end": { "type": "integer" }, "garden_name": { "type": "string" }, "gate_name": { "type": "string" }, "id": { "type": "integer" }, "location": { "type": "string" }, "name": { "type": "string" }, "open_time": { "type": "integer" }, "phone": { "type": "string" }, "qcode": { "type": "string" }, "start": { "type": "integer" }, "status": { "description": "1 未通行 2 已同行 3 已过期", "type": "integer" }, "uid": { "type": "integer" }, "visitor": { "type": "string" }, "visitor_phone": { "type": "string" } } }, "v1.GateVisitorListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GateVisitorListItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.GateVisitorListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GateVisitorListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GetVcodeReply": { "type": "object", "properties": { "vcode": { "type": "integer" } } }, "v1.GetVcodeResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GetVcodeReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GroupAddBody": { "type": "object", "properties": { "group_desc": { "type": "string" }, "group_name": { "type": "string" }, "permission_codes": { "type": "array", "items": { "type": "string" } } } }, "v1.GroupAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.GroupAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GroupAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GroupDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GroupInfoReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.SystemGroupPermissionItem" } } } }, "v1.GroupInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GroupInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GroupItem": { "type": "object", "properties": { "group_desc": { "type": "string" }, "group_name": { "type": "string" }, "id": { "type": "integer" }, "super": { "type": "boolean" }, "user_count": { "type": "integer" } } }, "v1.GroupListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.GroupItem" } } } }, "v1.GroupListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GroupListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.GroupUpdateBody": { "type": "object", "properties": { "group_desc": { "type": "string" }, "group_name": { "type": "string" }, "id": { "type": "integer" }, "permission_codes": { "type": "array", "items": { "type": "string" } } } }, "v1.GroupUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseAddBody": { "type": "object", "properties": { "building_id": { "type": "integer" }, "hall_count": { "description": "几厅", "type": "integer" }, "house_area": { "description": "房屋建筑面积", "type": "number" }, "house_number": { "description": "门牌号", "type": "string" }, "house_type": { "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅", "type": "integer" }, "house_used_area": { "description": "房屋使用面积", "type": "number" }, "layer": { "description": "楼层", "type": "integer" }, "room_count": { "description": "几室", "type": "integer" }, "unit_id": { "description": "单元id", "type": "integer" } } }, "v1.HouseAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.HouseAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseItem": { "type": "object", "properties": { "building_id": { "type": "integer" }, "building_number": { "type": "string" }, "hall_count": { "description": "几厅", "type": "integer" }, "has_lift": { "type": "boolean" }, "house_area": { "description": "房屋建筑面积", "type": "number" }, "house_name": { "type": "string" }, "house_number": { "description": "门牌号", "type": "string" }, "house_type": { "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅", "type": "integer" }, "house_used_area": { "description": "房屋使用面积", "type": "number" }, "id": { "type": "integer" }, "layer": { "description": "楼层", "type": "integer" }, "room_count": { "description": "几室", "type": "integer" }, "status": { "description": "房屋状态 1 未入住 2 已入住 3 已出租", "type": "integer" }, "unit_id": { "description": "单元id", "type": "integer" }, "unit_number": { "type": "integer" } } }, "v1.HouseListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.HouseItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.HouseListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentAddManagerBody": { "type": "object", "properties": { "manager_uid": { "type": "integer" }, "rent_id": { "type": "integer" } } }, "v1.HouseRentAddManagerReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.HouseRentAddManagerResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseRentAddManagerReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentApplyBody": { "type": "object", "properties": { "base_conf": { "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机", "type": "integer" }, "cert_pic": { "description": "房屋证件图片", "type": "array", "items": { "type": "string" } }, "contact_phone": { "description": "联系人电话", "type": "string" }, "contacter": { "description": "联系人", "type": "string" }, "decorating": { "description": "1 精装 2 简装 3 清水", "type": "integer" }, "desc": { "description": "简介", "type": "string" }, "desposit": { "description": "押金", "type": "integer" }, "direction": { "description": "朝向", "type": "integer" }, "house_id": { "description": "房屋id", "type": "integer" }, "house_pic": { "description": "房屋图片", "type": "array", "items": { "type": "string" } }, "in_time": { "description": "可入住时间", "type": "integer" }, "intermediary_price": { "description": "中介费", "type": "integer" }, "pay_time_type": { "description": "1 月付 2 季付 3 半年付 4 年付", "type": "integer" }, "rent_price": { "description": "月租", "type": "integer" }, "rent_type": { "description": "1 整租 2 合租 3 转租", "type": "integer" }, "room_area": { "description": "房间面积", "type": "number" }, "room_type": { "description": "1 全部 2 主卧 3 次卧", "type": "integer" }, "service_price": { "description": "服务费", "type": "integer" }, "special_conf": { "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租", "type": "integer" }, "wc_count": { "description": "几卫", "type": "integer" } } }, "v1.HouseRentApplyReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.HouseRentApplyResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseRentApplyReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentAppointmentDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentAppointmentItem": { "type": "object", "properties": { "appointment_time": { "type": "integer" }, "area": { "type": "number" }, "garden_id": { "type": "integer" }, "garden_name": { "type": "string" }, "gender": { "type": "integer" }, "house_name": { "type": "string" }, "id": { "type": "integer" }, "layer": { "type": "integer" }, "name": { "type": "string" }, "phone": { "type": "string" }, "rent_id": { "type": "integer" }, "status": { "description": "1 待受理,2 已受理,3 已拒绝,4 未到访,5已到访,6已过期", "type": "integer" }, "uid": { "type": "integer" } } }, "v1.HouseRentAppointmentListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.HouseRentAppointmentItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.HouseRentAppointmentListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseRentAppointmentListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentAppointmentStatusBody": { "type": "object", "properties": { "feedback": { "type": "string" }, "id": { "type": "integer" }, "status": { "description": "2 已受理,3 已拒绝,4 未到访,5已到访", "type": "integer" } } }, "v1.HouseRentAppointmentStatusResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentApproveBody": { "type": "object", "properties": { "feedback": { "type": "string" }, "id": { "type": "integer" }, "status": { "type": "boolean" } } }, "v1.HouseRentApproveResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentDelManagerResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentDownBody": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.HouseRentDownResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentItem": { "type": "object", "properties": { "addr": { "type": "string" }, "approve_status": { "description": "审核状态 1 待审 2 通过 3 未通过", "type": "integer" }, "area": { "description": "区域", "type": "string" }, "base_conf": { "description": "基础设施", "type": "integer" }, "cert_pic": { "description": "房屋证件图片", "type": "array", "items": { "type": "string" } }, "city": { "description": "城市", "type": "string" }, "contact_phone": { "description": "联系人电话", "type": "string" }, "contacter": { "description": "联系人", "type": "string" }, "decorating": { "description": "1 精装 2 简装 3 清水", "type": "integer" }, "desc": { "description": "简介", "type": "string" }, "desposit": { "description": "押金", "type": "integer" }, "direction": { "description": "朝向", "type": "integer" }, "garden_id": { "description": "小区id", "type": "integer" }, "garden_name": { "description": "小区名称", "type": "string" }, "hall_count": { "description": "几厅", "type": "integer" }, "has_lift": { "description": "是否有电梯", "type": "boolean" }, "house_area": { "description": "房屋建筑面积", "type": "number" }, "house_id": { "type": "integer" }, "house_name": { "description": "房屋号", "type": "string" }, "house_pic": { "description": "房屋图片", "type": "array", "items": { "type": "string" } }, "id": { "description": "租房id", "type": "integer" }, "in_time": { "description": "可入住时间", "type": "integer" }, "intermediary_price": { "description": "中介费", "type": "integer" }, "lat": { "description": "纬度", "type": "number" }, "layer": { "description": "楼层", "type": "integer" }, "lnt": { "description": "经度", "type": "number" }, "pay_time_type": { "description": "1 月付 2 季付 3 半年付 4 年付", "type": "integer" }, "province": { "description": "省份", "type": "string" }, "rent_price": { "description": "月租", "type": "integer" }, "rent_type": { "description": "1 整租 2 合租 3 转租", "type": "integer" }, "room_area": { "description": "房间面积", "type": "number" }, "room_count": { "description": "几室", "type": "integer" }, "room_type": { "description": "1 全部 2 主卧 3 次卧", "type": "integer" }, "service_price": { "description": "服务费", "type": "integer" }, "special_conf": { "description": "特色配置", "type": "integer" }, "street": { "description": "街道", "type": "string" }, "wc_count": { "description": "几卫", "type": "integer" } } }, "v1.HouseRentListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.GardenHouseRentListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentManagerItem": { "type": "object", "properties": { "id": { "type": "integer" }, "manager_uid": { "type": "integer" }, "name": { "description": "姓名", "type": "string" }, "phone": { "type": "string" }, "user_name": { "description": "账号", "type": "string" } } }, "v1.HouseRentManagerListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.HouseRentManagerItem" } } } }, "v1.HouseRentManagerListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseRentManagerListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseRentUpdateBody": { "type": "object", "properties": { "base_conf": { "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机", "type": "integer" }, "cert_pic": { "description": "房屋证件图片", "type": "array", "items": { "type": "string" } }, "contact_phone": { "description": "联系人电话", "type": "string" }, "contacter": { "description": "联系人", "type": "string" }, "decorating": { "description": "1 精装 2 简装 3 清水", "type": "integer" }, "desc": { "description": "简介", "type": "string" }, "desposit": { "description": "押金", "type": "integer" }, "direction": { "description": "朝向", "type": "integer" }, "house_id": { "description": "房屋id", "type": "integer" }, "house_pic": { "description": "房屋图片", "type": "array", "items": { "type": "string" } }, "id": { "type": "integer" }, "in_time": { "description": "可入住时间", "type": "integer" }, "intermediary_price": { "description": "中介费", "type": "integer" }, "pay_time_type": { "description": "1 月付 2 季付 3 半年付 4 年付", "type": "integer" }, "rent_price": { "description": "月租", "type": "integer" }, "rent_type": { "description": "1 整租 2 合租 3 转租", "type": "integer" }, "room_area": { "description": "房间面积", "type": "number" }, "room_type": { "description": "1 全部 2 主卧 3 次卧", "type": "integer" }, "service_price": { "description": "服务费", "type": "integer" }, "special_conf": { "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租", "type": "integer" }, "wc_count": { "type": "integer" } } }, "v1.HouseRentUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseUpdateBody": { "type": "object", "properties": { "hall_count": { "description": "几厅", "type": "integer" }, "house_area": { "description": "房屋建筑面积", "type": "number" }, "house_number": { "description": "门牌号", "type": "string" }, "house_type": { "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅", "type": "integer" }, "house_used_area": { "description": "房屋使用面积", "type": "number" }, "id": { "type": "integer" }, "layer": { "description": "楼层", "type": "integer" }, "room_count": { "description": "几室", "type": "integer" }, "unit_id": { "description": "单元id", "type": "integer" } } }, "v1.HouseUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseholdApproveBody": { "type": "object", "properties": { "feedback": { "type": "string" }, "id": { "type": "integer" }, "status": { "type": "boolean" } } }, "v1.HouseholdApproveResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.HouseholdItem": { "type": "object", "properties": { "appendix": { "type": "array", "items": { "type": "string" } }, "approve_status": { "type": "integer" }, "garden_id": { "type": "integer" }, "garden_name": { "type": "string" }, "house_id": { "type": "integer" }, "house_name": { "description": "房号", "type": "string" }, "id": { "type": "integer" }, "id_number": { "description": "证件号", "type": "string" }, "id_type": { "description": "1 身份证 2 护照", "type": "integer" }, "name": { "type": "string" }, "phone": { "type": "string" }, "uid": { "type": "integer" }, "user_type": { "description": "1业主 2家人 3租客", "type": "integer" } } }, "v1.HouseholdListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.HouseholdItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.HouseholdListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.HouseholdListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.LoginBody": { "type": "object", "properties": { "password": { "type": "string" }, "user": { "type": "string" } } }, "v1.LoginByPhoneBody": { "type": "object", "properties": { "phone": { "type": "string" }, "vcode": { "description": "短信验证码", "type": "integer" } } }, "v1.LoginByPhoneData": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.LoginByPhoneItem" } }, "token": { "type": "string" } } }, "v1.LoginByPhoneItem": { "type": "object", "properties": { "garden_id": { "type": "integer" }, "garden_name": { "type": "string" }, "is_super": { "type": "boolean" }, "openim_id": { "type": "string" }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/v1.SystemGroupPermissionData" } }, "uid": { "type": "integer" }, "user": { "type": "string" } } }, "v1.LoginByPhoneResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.LoginByPhoneData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.LoginData": { "type": "object", "properties": { "company": { "type": "boolean" }, "is_super": { "type": "boolean" }, "openim_id": { "type": "string" }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/v1.SystemGroupPermissionData" } }, "token": { "type": "string" }, "uid": { "type": "integer" }, "user": { "type": "string" } } }, "v1.LoginResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.LoginData" }, "message": { "description": "消息", "type": "string", "default": "success" }, "phone_data": { "description": "当账号存在多个小区时使用phone_data", "type": "object", "$ref": "#/definitions/v1.LoginByPhoneData" } } }, "v1.MaterialInfoReply": { "type": "object", "properties": { "pic": { "type": "string" } } }, "v1.MaterialInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.MaterialInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.MaterialItem": { "type": "object", "properties": { "created_at": { "type": "integer" }, "enable": { "type": "integer" }, "id": { "type": "integer" }, "mtype": { "type": "integer" }, "pic": { "type": "string" } } }, "v1.MaterialListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.MaterialItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.MaterialListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.MaterialListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.MsgPackageItem": { "type": "object", "properties": { "comment": { "description": "套餐描述", "type": "string" }, "id": { "type": "integer" }, "msg_count": { "description": "短信条数", "type": "integer" }, "name": { "description": "套餐名称", "type": "string" }, "price": { "description": "套餐价格", "type": "integer" } } }, "v1.MsgPackageListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.MsgPackageItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.MsgPackageListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.MsgPackageListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.MsgPackageOrderAddBody": { "type": "object", "properties": { "amount": { "description": "套餐总价 price*package_count", "type": "integer" }, "package_count": { "description": "套餐个数", "type": "integer" }, "package_id": { "description": "套餐id", "type": "integer" } } }, "v1.MsgPackageOrderAddReply": { "type": "object", "properties": { "amount": { "description": "订单金额", "type": "integer" }, "bank_account": { "description": "银行账号", "type": "string" }, "bank_name": { "description": "开户行", "type": "string" }, "bank_user_name": { "description": "户名", "type": "string" }, "garden_count": { "type": "integer" }, "order_id": { "type": "integer" }, "package_count": { "description": "购买个数", "type": "integer" }, "package_name": { "type": "string" }, "pay_type": { "description": "支付方式 1 对公转账", "type": "integer" } } }, "v1.MsgPackageOrderAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.MsgPackageOrderAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.MsgPackageOrderItem": { "type": "object", "properties": { "amount": { "description": "订单总价", "type": "integer" }, "comment": { "type": "string" }, "created_at": { "type": "integer" }, "feedback": { "type": "string" }, "garden_id": { "type": "integer" }, "garden_name": { "type": "string" }, "msg_available_count": { "description": "订单套餐短信剩余条数", "type": "integer" }, "msg_count": { "description": "套餐短信条数", "type": "integer" }, "msg_total_count": { "description": "订单套餐短信总条数", "type": "integer" }, "name": { "type": "string" }, "order_id": { "type": "integer" }, "package_count": { "description": "订单包含的套餐个数", "type": "integer" }, "package_id": { "type": "integer" }, "price": { "description": "套餐单价", "type": "integer" }, "status": { "description": "1 待审核 2 通过 3 未通过", "type": "integer" } } }, "v1.MsgPackageOrderListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.MsgPackageOrderItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.MsgPackageOrderListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.MsgPackageOrderListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborArticleDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborArticleItem": { "type": "object", "properties": { "class_id": { "description": "分类id", "type": "integer" }, "comment_count": { "description": "评论总数", "type": "integer" }, "content": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "integer" }, "like": { "description": "true 本人已点赞 false 本人未点赞", "type": "boolean" }, "likes": { "description": "文章点赞数", "type": "integer" }, "owner": { "description": "是否是本人发布的文章", "type": "boolean" }, "pics": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "uid": { "type": "integer" }, "updated_at": { "type": "string" }, "user_icon": { "description": "用户头像", "type": "string" }, "user_name": { "type": "string" }, "user_phone": { "type": "string" } } }, "v1.NeighborArticleListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.NeighborArticleItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.NeighborArticleListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.NeighborArticleListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborClassAddBody": { "type": "object", "properties": { "class_name": { "type": "string" }, "class_pic": { "description": "分类图标", "type": "string" }, "enable": { "description": "true 开启 false 禁用", "type": "boolean" } } }, "v1.NeighborClassAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborClassDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborClassItem": { "type": "object", "properties": { "article_count": { "description": "分类下的文章总数", "type": "integer" }, "class_name": { "type": "string" }, "class_pic": { "type": "string" }, "created_at": { "description": "分类创建时间", "type": "string" }, "enable": { "type": "boolean" }, "id": { "type": "integer" }, "updated_at": { "description": "分类结束时间", "type": "string" } } }, "v1.NeighborClassListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.NeighborClassItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.NeighborClassListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.NeighborClassListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborClassUpdateBody": { "type": "object", "properties": { "class_name": { "type": "string" }, "class_pic": { "description": "分类图标", "type": "string" }, "enable": { "description": "true 开启 false 禁用", "type": "boolean" }, "id": { "type": "integer" } } }, "v1.NeighborClassUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborCommentDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.NeighborCommentItem": { "type": "object", "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "integer" }, "like": { "description": "本人是否点赞", "type": "boolean" }, "likes": { "description": "点赞数", "type": "integer" }, "owner": { "description": "是否是本人发布的文章", "type": "boolean" }, "pics": { "type": "array", "items": { "type": "string" } }, "sub_comment_count": { "description": "子评论数", "type": "integer" }, "uid": { "type": "integer" }, "updated_at": { "type": "string" }, "user_icon": { "description": "用户头像", "type": "string" }, "user_name": { "type": "string" }, "user_phone": { "type": "string" } } }, "v1.NeighborCommentListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.NeighborCommentItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.NeighborCommentListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.NeighborCommentListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.OpenImTokenReply": { "type": "object", "properties": { "expire_at": { "type": "integer" }, "token": { "type": "string" } } }, "v1.OpenImTokenResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.OpenImTokenReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.OpenImUserData": { "type": "object", "properties": { "face_url": { "type": "string" }, "gender": { "type": "integer" }, "nick_name": { "type": "string" }, "openim_id": { "type": "string" } } }, "v1.OpenImUserInfoReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.OpenImUserData" } } } }, "v1.OpenImUserInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.OpenImUserData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.OpenImUserSetFaceBody": { "type": "object", "properties": { "face_url": { "type": "string" }, "openim_id": { "type": "string" } } }, "v1.OpenImUserSetFaceResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.OpenImUsersInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.OpenImUserInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkAddBody": { "type": "object", "properties": { "comment": { "type": "string" }, "park_name": { "type": "string" }, "park_number": { "type": "string" }, "park_type": { "type": "integer" } } }, "v1.ParkAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.ParkAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ParkAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkItem": { "type": "object", "properties": { "comment": { "type": "string" }, "created_at": { "type": "string" }, "garden_id": { "type": "integer" }, "id": { "type": "integer" }, "park_name": { "type": "string" }, "park_number": { "type": "string" }, "park_type": { "type": "integer" }, "space_count": { "type": "integer" } } }, "v1.ParkListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ParkItem" } } } }, "v1.ParkListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ParkListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkSpaceAddBody": { "type": "object", "properties": { "comment": { "type": "string" }, "house_id": { "type": "integer" }, "park_id": { "type": "integer" }, "space_area": { "type": "number" }, "space_number": { "type": "string" }, "space_type": { "type": "integer" } } }, "v1.ParkSpaceDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkSpaceItem": { "type": "object", "properties": { "comment": { "type": "string" }, "created_at": { "type": "string" }, "house_id": { "type": "integer" }, "house_name": { "type": "string" }, "id": { "type": "integer" }, "park_id": { "type": "integer" }, "park_name": { "type": "string" }, "park_number": { "type": "string" }, "park_type": { "type": "integer" }, "plate_no": { "type": "string" }, "space_area": { "type": "number" }, "space_number": { "type": "string" }, "space_type": { "type": "integer" }, "status": { "description": "1 空闲 2 已售 3 已租", "type": "integer" } } }, "v1.ParkSpaceListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ParkSpaceItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ParkSpaceListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ParkSpaceListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkSpaceUpdateBody": { "type": "object", "properties": { "comment": { "type": "string" }, "house_id": { "type": "integer" }, "id": { "type": "integer" }, "park_id": { "type": "integer" }, "space_area": { "type": "number" }, "space_number": { "type": "string" }, "space_type": { "type": "integer" } } }, "v1.ParkSpaceUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ParkUpdateBody": { "type": "object", "properties": { "comment": { "type": "string" }, "id": { "type": "integer" }, "park_name": { "type": "string" }, "park_number": { "type": "string" }, "park_type": { "type": "integer" } } }, "v1.ParkUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PersonInfoData": { "type": "object", "properties": { "department": { "type": "string" }, "email": { "type": "string" }, "gender": { "type": "integer" }, "phone": { "type": "string" }, "real_name": { "type": "string" }, "user": { "type": "string" } } }, "v1.PersonInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.PersonInfoData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PersonInfoUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PowerRecordAddBody": { "type": "object", "properties": { "charge_type": { "description": "费用类型", "type": "integer" }, "comment": { "description": "备注", "type": "string" }, "current_amount": { "description": "本期抄表数", "type": "number" }, "end": { "description": "结束时间戳", "type": "integer" }, "house_id": { "description": "房屋id", "type": "integer" }, "last_amount": { "description": "上期抄表数", "type": "number" }, "start": { "description": "开始时间戳", "type": "integer" } } }, "v1.PowerRecordAddReply": { "type": "object" }, "v1.PowerRecordAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.PowerRecordAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PowerRecordBatchAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PowerRecordDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PowerRecordItem": { "type": "object", "properties": { "charge_type": { "type": "integer" }, "comment": { "type": "string" }, "created_at": { "type": "integer" }, "current_amount": { "type": "number" }, "end": { "type": "integer" }, "has_bill": { "type": "boolean" }, "house_id": { "type": "integer" }, "house_name": { "type": "string" }, "id": { "type": "integer" }, "last_amount": { "type": "number" }, "read_at": { "type": "integer" }, "start": { "type": "integer" } } }, "v1.PowerRecordListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.PowerRecordItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.PowerRecordListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.PowerRecordListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PropertyPackageAddBody": { "type": "object", "properties": { "enable": { "type": "boolean" }, "give_content": { "description": "增送文本", "type": "string" }, "give_months": { "description": "赠送月数", "type": "integer" }, "package_type": { "description": "1 按月 2 按文本", "type": "integer" }, "pay_months": { "description": "购买月数", "type": "integer" } } }, "v1.PropertyPackageAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.PropertyPackageAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.PropertyPackageAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PropertyPackageDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PropertyPackageItem": { "type": "object", "properties": { "enable": { "type": "boolean" }, "give_content": { "description": "增送文本", "type": "string" }, "give_months": { "description": "赠送月数", "type": "integer" }, "id": { "type": "integer" }, "package_type": { "description": "1 按月 2 按文本", "type": "integer" }, "pay_months": { "description": "购买月数", "type": "integer" } } }, "v1.PropertyPackageListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.PropertyPackageItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.PropertyPackageListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.PropertyPackageListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.PropertyPackageUpdateBody": { "type": "object", "properties": { "enable": { "type": "boolean" }, "give_content": { "description": "增送文本", "type": "string" }, "give_months": { "description": "赠送月数", "type": "integer" }, "id": { "type": "integer" }, "package_type": { "description": "1 按月 2 按文本", "type": "integer" }, "pay_months": { "description": "购买月数", "type": "integer" } } }, "v1.PropertyPackageUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairClassAddBody": { "type": "object", "properties": { "area": { "description": "1 公共区域 2 室内", "type": "integer" }, "enable": { "type": "boolean" }, "name": { "type": "string" } } }, "v1.RepairClassAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.RepairClassAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.RepairClassAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairClassDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairClassItem": { "type": "object", "properties": { "area": { "type": "integer" }, "enable": { "type": "boolean" }, "id": { "type": "integer" }, "name": { "type": "string" } } }, "v1.RepairClassListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.RepairClassItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.RepairClassListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.RepairClassListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairClassUpdateBody": { "type": "object", "properties": { "area": { "type": "integer" }, "enable": { "type": "boolean" }, "id": { "type": "integer" }, "name": { "type": "string" } } }, "v1.RepairClassUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderAddBody": { "type": "object", "properties": { "apply_content": { "description": "报修内容", "type": "string" }, "apply_people": { "description": "报修人", "type": "string" }, "apply_people_phone": { "description": "报修人电话", "type": "string" }, "apply_pic": { "description": "报修图片", "type": "array", "items": { "type": "string" } }, "appointment": { "description": "预约时间", "type": "integer" }, "class_id": { "description": "分类id", "type": "integer" }, "house_id": { "description": "房屋id", "type": "integer" } } }, "v1.RepairOrderAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.RepairOrderAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.RepairOrderAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderBackBody": { "type": "object", "properties": { "feedback": { "description": "意见", "type": "string" }, "id": { "description": "工单id", "type": "integer" } } }, "v1.RepairOrderBackResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderFinishBody": { "type": "object", "properties": { "feedback": { "description": "意见", "type": "string" }, "id": { "description": "工单id", "type": "integer" }, "repair_pic": { "description": "处理图片", "type": "array", "items": { "type": "string" } } } }, "v1.RepairOrderFinishResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderInfoReply": { "type": "object", "properties": { "base_info": { "description": "基本信息", "type": "object", "$ref": "#/definitions/v1.RepairOrderItem" }, "list": { "description": "工单流水线", "type": "array", "items": { "$ref": "#/definitions/v1.RepairOrderPipelineData" } } } }, "v1.RepairOrderInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.RepairOrderInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderItem": { "type": "object", "properties": { "apply_content": { "description": "报修内容", "type": "string" }, "apply_people": { "description": "报修人", "type": "string" }, "apply_people_phone": { "description": "报修人电话", "type": "string" }, "apply_pic": { "description": "报修图片", "type": "array", "items": { "type": "string" } }, "appointment": { "description": "预约时间", "type": "string" }, "area": { "type": "integer" }, "building_id": { "description": "楼栋id", "type": "integer" }, "class_id": { "description": "分类id", "type": "integer" }, "class_name": { "description": "分类名称", "type": "string" }, "created_at": { "description": "报修时间", "type": "string" }, "current_user": { "description": "当前状态处理人", "type": "string" }, "house_id": { "description": "房屋id", "type": "integer" }, "house_name": { "description": "房屋全称", "type": "string" }, "id": { "type": "integer" }, "last_user": { "description": "上级处理人", "type": "string" }, "repair_pic": { "description": "维修图片", "type": "array", "items": { "type": "string" } }, "repair_time": { "description": "维修时间", "type": "string" }, "return_visit_content": { "description": "回访内容", "type": "string" }, "return_visit_level": { "description": "回访满意度", "type": "integer" }, "status": { "type": "integer" }, "unit_id": { "description": "单元id", "type": "integer" } } }, "v1.RepairOrderListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.RepairOrderItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.RepairOrderListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.RepairOrderListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderPipelineData": { "type": "object", "properties": { "feedback": { "description": "处理意见", "type": "string" }, "handle_time": { "description": "处理时间", "type": "string" }, "phone": { "type": "string" }, "status": { "type": "string" }, "user": { "description": "处理人", "type": "string" } } }, "v1.RepairOrderReturnVisitBody": { "type": "object", "properties": { "id": { "type": "integer" }, "return_visit_content": { "description": "回访内容", "type": "string" }, "return_visit_level": { "description": "1 满意 2 不满意", "type": "integer" } } }, "v1.RepairOrderReturnVisitResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderSendBody": { "type": "object", "properties": { "current_uid": { "description": "指派给谁", "type": "integer" }, "feedback": { "description": "意见", "type": "string" }, "id": { "description": "工单id", "type": "integer" } } }, "v1.RepairOrderSendResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.RepairOrderUpdateBody": { "type": "object", "properties": { "apply_content": { "description": "报修内容", "type": "string" }, "apply_people": { "description": "报修人", "type": "string" }, "apply_people_phone": { "description": "报修人电话", "type": "string" }, "apply_pic": { "description": "报修图片", "type": "array", "items": { "type": "string" } }, "appointment": { "description": "预约时间", "type": "integer" }, "class_id": { "description": "分类id", "type": "integer" }, "house_id": { "description": "房屋id", "type": "integer" }, "id": { "type": "integer" } } }, "v1.RepairOrderUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ResetPasswordBody": { "type": "object", "properties": { "password": { "type": "string" }, "phone": { "type": "string" }, "uid": { "description": "用户id,第一次调用时为空,如果电话对应多个账号,选择账号后第二次调用需填该值", "type": "integer" }, "vcode": { "description": "短信验证码", "type": "integer" } } }, "v1.ResetPasswordData": { "type": "object", "properties": { "garden_name": { "description": "小区名", "type": "string" }, "uid": { "description": "用户id", "type": "integer" }, "username": { "description": "用户名", "type": "string" } } }, "v1.ResetPasswordReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ResetPasswordData" } } } }, "v1.ResetPasswordResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ResetPasswordReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneAddBody": { "type": "object", "properties": { "class_id": { "type": "integer" }, "enable": { "type": "boolean" }, "name": { "type": "string" }, "phone": { "type": "string" } } }, "v1.ServicePhoneAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.ServicePhoneAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ServicePhoneAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneClassAddBody": { "type": "object", "properties": { "class_name": { "type": "string" }, "enable": { "type": "boolean" } } }, "v1.ServicePhoneClassAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.ServicePhoneClassAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ServicePhoneClassAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneClassDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneClassItem": { "type": "object", "properties": { "class_name": { "type": "string" }, "enable": { "type": "boolean" }, "id": { "type": "integer" } } }, "v1.ServicePhoneClassListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ServicePhoneClassItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ServicePhoneClassListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ServicePhoneClassListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneClassUpdateBody": { "type": "object", "properties": { "class_name": { "type": "string" }, "enable": { "type": "boolean" }, "id": { "type": "integer" } } }, "v1.ServicePhoneClassUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneItem": { "type": "object", "properties": { "class_id": { "type": "integer" }, "class_name": { "type": "string" }, "enable": { "type": "boolean" }, "id": { "type": "integer" }, "name": { "type": "string" }, "phone": { "type": "string" } } }, "v1.ServicePhoneListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ServicePhoneItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.ServicePhoneListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.ServicePhoneListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.ServicePhoneUpdateBody": { "type": "object", "properties": { "enable": { "type": "boolean" }, "id": { "type": "integer" }, "name": { "type": "string" }, "phone": { "type": "string" } } }, "v1.ServicePhoneUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.StatisticReply": { "type": "object", "properties": { "house_count": { "description": "房屋数", "type": "integer" }, "list": { "type": "array", "items": { "$ref": "#/definitions/v1.StatisticWaitFinish" } }, "space_count": { "description": "车位数", "type": "integer" }, "user_count": { "description": "住户数", "type": "integer" }, "vehicle_count": { "description": "车辆数", "type": "integer" } } }, "v1.StatisticResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.StatisticReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.StatisticWaitFinish": { "type": "object", "properties": { "finish_count": { "type": "integer" }, "type": { "type": "string" }, "wait_count": { "type": "integer" } } }, "v1.SuggestionOrderAddBody": { "type": "object", "properties": { "apply_content": { "description": "投诉内容", "type": "string" }, "apply_people": { "description": "投诉人", "type": "string" }, "apply_people_phone": { "description": "投诉人电话", "type": "string" }, "apply_pic": { "description": "投诉图片", "type": "array", "items": { "type": "string" } }, "suggestion_type": { "description": "投诉类型 1 投诉 2 建议", "type": "integer" } } }, "v1.SuggestionOrderAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.SuggestionOrderAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.SuggestionOrderAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderBackBody": { "type": "object", "properties": { "feedback": { "description": "意见", "type": "string" }, "id": { "description": "工单id", "type": "integer" } } }, "v1.SuggestionOrderBackResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderFinishBody": { "type": "object", "properties": { "feedback": { "description": "意见", "type": "string" }, "handle_pic": { "description": "处理图片", "type": "array", "items": { "type": "string" } }, "id": { "description": "工单id", "type": "integer" } } }, "v1.SuggestionOrderFinishResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderInfoReply": { "type": "object", "properties": { "base_info": { "description": "基本信息", "type": "object", "$ref": "#/definitions/v1.SuggestionOrderItem" }, "list": { "description": "工单流水线", "type": "array", "items": { "$ref": "#/definitions/v1.SuggestionOrderPipelineData" } } } }, "v1.SuggestionOrderInfoResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.SuggestionOrderInfoReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderItem": { "type": "object", "properties": { "apply_content": { "description": "投诉内容", "type": "string" }, "apply_people": { "description": "投诉人", "type": "string" }, "apply_people_phone": { "description": "投诉人电话", "type": "string" }, "apply_pic": { "description": "投诉图片", "type": "array", "items": { "type": "string" } }, "created_at": { "description": "投诉时间", "type": "string" }, "current_user": { "description": "当前状态处理人", "type": "string" }, "id": { "type": "integer" }, "last_user": { "description": "上级处理人", "type": "string" }, "return_visit_content": { "description": "回访内容", "type": "string" }, "return_visit_level": { "description": "回访满意度", "type": "integer" }, "status": { "type": "integer" }, "suggestion_type": { "description": "投诉类型 1 投诉 2 建议", "type": "integer" } } }, "v1.SuggestionOrderListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.SuggestionOrderItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.SuggestionOrderListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.SuggestionOrderListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderPipelineData": { "type": "object", "properties": { "feedback": { "description": "处理意见", "type": "string" }, "handle_time": { "description": "处理时间", "type": "string" }, "phone": { "type": "string" }, "status": { "type": "string" }, "user": { "description": "处理人", "type": "string" } } }, "v1.SuggestionOrderReturnVisitBody": { "type": "object", "properties": { "id": { "type": "integer" }, "return_visit_content": { "description": "回访内容", "type": "string" }, "return_visit_level": { "description": "1 满意 2 不满意", "type": "integer" } } }, "v1.SuggestionOrderReturnVisitResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderSendBody": { "type": "object", "properties": { "current_uid": { "description": "指派给谁", "type": "integer" }, "feedback": { "description": "意见", "type": "string" }, "id": { "description": "工单id", "type": "integer" } } }, "v1.SuggestionOrderSendResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SuggestionOrderUpdateBody": { "type": "object", "properties": { "apply_content": { "description": "投诉内容", "type": "string" }, "apply_people": { "description": "投诉人", "type": "string" }, "apply_people_phone": { "description": "投诉人电话", "type": "string" }, "apply_pic": { "description": "投诉图片", "type": "array", "items": { "type": "string" } }, "id": { "type": "integer" }, "suggestion_type": { "description": "投诉类型 1 投诉 2 建议", "type": "integer" } } }, "v1.SuggestionOrderUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SystemGroupPermissionData": { "type": "object", "properties": { "applete_path": { "type": "string" }, "code": { "type": "string" }, "name": { "description": "权限名字", "type": "string" }, "path": { "description": "组件路径", "type": "string" }, "pcode": { "description": "父code,若没有则填空", "type": "string" }, "router": { "description": "路由", "type": "string" } } }, "v1.SystemGroupPermissionItem": { "type": "object", "properties": { "applete_path": { "description": "小程序组件路径", "type": "string" }, "childs": { "type": "array", "items": { "$ref": "#/definitions/v1.SystemGroupPermissionItem" } }, "code": { "type": "string" }, "name": { "description": "权限名字", "type": "string" }, "path": { "description": "组件路径", "type": "string" }, "pcode": { "description": "父code,若没有则填空", "type": "string" }, "router": { "description": "路由", "type": "string" }, "selected": { "description": "是否拥有该权限", "type": "boolean" } } }, "v1.SystemMsgItem": { "type": "object", "properties": { "code": { "type": "string" }, "content": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "integer" } } }, "v1.SystemMsgListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.SystemMsgItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.SystemMsgListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.SystemMsgListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.SystemMsgReadedBody": { "type": "object", "properties": { "id": { "type": "array", "items": { "type": "integer" } } } }, "v1.TemplateData": { "type": "object", "properties": { "url": { "type": "string" } } }, "v1.TemplateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.TemplateData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.TokenResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "string" }, "message": { "description": "消息", "type": "string", "default": "success" }, "refresh_token": { "type": "string" } } }, "v1.UnitAddBody": { "type": "object", "properties": { "building_id": { "type": "integer" }, "has_lift": { "description": "是否有电梯", "type": "boolean" }, "unit_layers": { "description": "楼层数", "type": "integer" }, "unit_name": { "description": "单元名", "type": "string" }, "unit_number": { "description": "单元编号", "type": "integer" } } }, "v1.UnitAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.UnitAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.UnitAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UnitDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UnitItem": { "type": "object", "properties": { "building_id": { "description": "楼栋id", "type": "integer" }, "building_name": { "type": "string" }, "building_number": { "type": "string" }, "has_lift": { "type": "boolean" }, "id": { "type": "integer" }, "unit_layers": { "description": "楼层数", "type": "integer" }, "unit_name": { "description": "单元名", "type": "string" }, "unit_number": { "description": "单元编号", "type": "integer" } } }, "v1.UnitListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.UnitItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.UnitListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.UnitListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UnitUpdateBody": { "type": "object", "properties": { "building_id": { "type": "integer" }, "has_lift": { "description": "是否有电梯", "type": "boolean" }, "id": { "type": "integer" }, "unit_layers": { "description": "楼层数", "type": "integer" }, "unit_name": { "description": "单元名", "type": "string" }, "unit_number": { "description": "单元编号", "type": "integer" } } }, "v1.UnitUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UploadResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "string" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UserAddBody": { "type": "object", "properties": { "base_permission": { "description": "1 仅用户小区后台 2 仅用于员工小程序 3 二者皆可", "type": "integer" }, "department_id": { "type": "integer" }, "email": { "type": "string" }, "gender": { "type": "integer" }, "group_id": { "type": "integer" }, "password": { "type": "string" }, "phone": { "type": "string" }, "real_name": { "type": "string" }, "user_name": { "type": "string" } } }, "v1.UserAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.UserAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.UserAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UserDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UserItem": { "type": "object", "properties": { "base_permission": { "type": "integer" }, "cid": { "type": "integer" }, "created_at": { "type": "string" }, "department_name": { "type": "string" }, "email": { "type": "string" }, "enable": { "type": "boolean" }, "garden_id": { "type": "integer" }, "garden_name": { "type": "string" }, "gender": { "type": "integer" }, "group_id": { "type": "integer" }, "group_name": { "type": "string" }, "id": { "type": "integer" }, "openim_id": { "type": "string" }, "password": { "type": "string" }, "phone": { "type": "string" }, "real_name": { "type": "string" }, "super": { "type": "boolean" }, "user_name": { "type": "string" } } }, "v1.UserListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.UserItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.UserListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.UserListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.UserUpdateBody": { "type": "object", "properties": { "base_permission": { "description": "1 仅用户小区后台 2 仅用于员工小程序 3 二者皆可", "type": "integer" }, "department_id": { "type": "integer" }, "email": { "type": "string" }, "gender": { "type": "integer" }, "group_id": { "type": "integer" }, "id": { "type": "integer" }, "password": { "type": "string" }, "phone": { "type": "string" }, "real_name": { "type": "string" }, "user_name": { "type": "string" } } }, "v1.UserUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VehicleAddBody": { "type": "object", "properties": { "bind_type": { "description": "1 出租 2 出售", "type": "integer" }, "brand": { "description": "品牌", "type": "string" }, "color": { "description": "颜色", "type": "string" }, "displacement": { "description": "排量", "type": "number" }, "displacement_unit": { "description": "排量单位", "type": "string" }, "engine_no": { "description": "发动机号", "type": "string" }, "household_uid": { "description": "住户uid", "type": "integer" }, "plate_no": { "description": "车牌号", "type": "string" }, "seat": { "description": "座位数", "type": "integer" }, "space_id": { "description": "车位id", "type": "integer" }, "vehicle_type": { "description": "1 小型车 2 大型车 3 新能源小车 4 新能源大车", "type": "integer" }, "vin": { "description": "车架号", "type": "string" } } }, "v1.VehicleAddReply": { "type": "object", "properties": { "id": { "type": "integer" } } }, "v1.VehicleAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.VehicleAddReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VehicleBrandData": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.VehicleBrandItem" } } } }, "v1.VehicleBrandItem": { "type": "object", "properties": { "brand": { "type": "string" }, "brand_pic": { "type": "string" } } }, "v1.VehicleBrandListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.VehicleBrandData" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VehicleDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VehicleItem": { "type": "object", "properties": { "bind_type": { "type": "integer" }, "brand": { "type": "string" }, "brand_pic": { "type": "string" }, "color": { "type": "string" }, "displacement": { "type": "number" }, "displacement_unit": { "type": "string" }, "engine_no": { "type": "string" }, "household_name": { "type": "string" }, "household_phone": { "type": "string" }, "household_uid": { "type": "integer" }, "id": { "type": "integer" }, "park_id": { "type": "integer" }, "park_name": { "type": "string" }, "park_number": { "type": "string" }, "plate_no": { "type": "string" }, "seat": { "type": "integer" }, "space_id": { "type": "integer" }, "space_number": { "type": "string" }, "vehicle_type": { "type": "integer" }, "vin": { "type": "string" } } }, "v1.VehicleListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.VehicleItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.VehicleListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.VehicleListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VehicleUpdateBody": { "type": "object", "properties": { "bind_type": { "description": "1 出租 2 出售", "type": "integer" }, "brand": { "description": "品牌", "type": "string" }, "color": { "description": "颜色", "type": "string" }, "displacement": { "description": "排量", "type": "number" }, "displacement_unit": { "description": "排量单位", "type": "string" }, "engine_no": { "description": "发动机号", "type": "string" }, "household_uid": { "description": "住户uid", "type": "integer" }, "id": { "type": "integer" }, "plate_no": { "description": "车牌号", "type": "string" }, "seat": { "description": "座位数", "type": "integer" }, "space_id": { "description": "车位id", "type": "integer" }, "vehicle_type": { "description": "1 小型车 2 大型车 3 新能源小车 4 新能源大车", "type": "integer" }, "vin": { "description": "车架号", "type": "string" } } }, "v1.VehicleUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VoteAddBody": { "type": "object", "properties": { "end": { "description": "投票结束时间", "type": "integer" }, "pics": { "description": "图片", "type": "array", "items": { "type": "string" } }, "start": { "description": "投票开始时间", "type": "integer" }, "title": { "description": "投票标题", "type": "string" }, "topics": { "description": "投票题目列表", "type": "array", "items": { "$ref": "#/definitions/v1.VoteTopic" } } } }, "v1.VoteAddResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VoteDelResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VoteItem": { "type": "object", "properties": { "created_at": { "type": "integer" }, "end": { "type": "integer" }, "id": { "type": "integer" }, "pics": { "type": "array", "items": { "type": "string" } }, "start": { "type": "integer" }, "title": { "type": "string" }, "topics": { "type": "array", "items": { "$ref": "#/definitions/v1.VoteTopic" } }, "user_count": { "type": "integer" } } }, "v1.VoteListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.VoteItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.VoteListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.VoteListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VoteResultData": { "type": "object", "properties": { "choice_answers": { "description": "选择题回答,当题目类型为选择题时有效", "type": "array", "items": { "type": "string" } }, "choice_items": { "description": "选择题的选项", "type": "array", "items": { "$ref": "#/definitions/v1.VoteTopicChoiceItem" } }, "completion_answers": { "description": "问答题回答,当题目类型为问答题时有效", "type": "array", "items": { "type": "string" } }, "must": { "description": "是否必选", "type": "boolean" }, "number": { "description": "题目编号", "type": "integer" }, "star": { "description": "总星数,当为评分题时有效", "type": "integer" }, "star_answers": { "description": "评分题回答,当题目类型为评分题时有效", "type": "integer" }, "topic_name": { "type": "string" }, "topic_type": { "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题", "type": "integer" } } }, "v1.VoteResultListReply": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.VoteResultUserAnswerItem" } }, "page": { "type": "integer" }, "total": { "type": "integer" } } }, "v1.VoteResultListResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.VoteResultListReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VoteResultStatisticChoice": { "type": "object", "properties": { "count": { "description": "该选项被选的用户", "type": "integer" }, "flag": { "description": "选择选项标识", "type": "string" }, "text": { "type": "string" } } }, "v1.VoteResultStatisticItem": { "type": "object", "properties": { "choice_items": { "description": "选择题的选项内容", "type": "array", "items": { "$ref": "#/definitions/v1.VoteTopicChoiceItem" } }, "choice_statistic": { "description": "选择题的选项回答统计,当题目类型为选择题时有效", "type": "array", "items": { "$ref": "#/definitions/v1.VoteResultStatisticChoice" } }, "must": { "description": "是否必选", "type": "boolean" }, "number": { "description": "题目编号", "type": "integer" }, "star": { "description": "总星数,当为评分题时有效", "type": "integer" }, "star_avg": { "description": "平均分, 当题目类型为评分题时有效", "type": "number" }, "star_statistic": { "description": "评分题的分数回答统计,当题目类型为评分题时有效", "type": "array", "items": { "$ref": "#/definitions/v1.VoteResultStatisticStar" } }, "topic_name": { "type": "string" }, "topic_type": { "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题", "type": "integer" } } }, "v1.VoteResultStatisticReply": { "type": "object", "properties": { "list": { "description": "题目统计", "type": "array", "items": { "$ref": "#/definitions/v1.VoteResultStatisticItem" } } } }, "v1.VoteResultStatisticResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "data": { "type": "object", "$ref": "#/definitions/v1.VoteResultStatisticReply" }, "message": { "description": "消息", "type": "string", "default": "success" } } }, "v1.VoteResultStatisticStar": { "type": "object", "properties": { "count": { "description": "评该星数的用户数量", "type": "integer" }, "star": { "description": "评分星数", "type": "integer" } } }, "v1.VoteResultUserAnswerItem": { "type": "object", "properties": { "answer": { "type": "object", "$ref": "#/definitions/v1.VoteResultData" }, "uid": { "description": "用户uid", "type": "integer" }, "user_name": { "type": "string" } } }, "v1.VoteTopic": { "type": "object", "properties": { "choice_items": { "description": "选择题的选项", "type": "array", "items": { "$ref": "#/definitions/v1.VoteTopicChoiceItem" } }, "must": { "description": "是否必选", "type": "boolean" }, "number": { "description": "题目编号", "type": "integer" }, "star": { "description": "总星数,当为评分题时有效", "type": "integer" }, "topic_name": { "type": "string" }, "topic_type": { "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题", "type": "integer" } } }, "v1.VoteTopicChoiceItem": { "type": "object", "properties": { "flag": { "type": "string" }, "text": { "type": "string" } } }, "v1.VoteUpdateBody": { "type": "object", "properties": { "end": { "description": "投票结束时间", "type": "integer" }, "id": { "description": "投票id", "type": "integer" }, "pics": { "description": "图片", "type": "array", "items": { "type": "string" } }, "start": { "description": "投票开始时间", "type": "integer" }, "title": { "description": "投票标题", "type": "string" }, "topics": { "description": "投票题目列表", "type": "array", "items": { "$ref": "#/definitions/v1.VoteTopic" } } } }, "v1.VoteUpdateResponse": { "type": "object", "properties": { "code": { "description": "返回码", "type": "integer", "format": "int", "default": 0 }, "message": { "description": "消息", "type": "string", "default": "success" } } } } }