123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- {
- "swagger": "2.0",
- "info": {
- "contact": {},
- "license": {}
- },
- "paths": {
- "/dust_excessive_img": {
- "post": {
- "description": "扬尘超标数据图片",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "扬尘超标数据图片"
- ],
- "summary": "扬尘超标数据图片",
- "parameters": [
- {
- "description": "sn",
- "name": "body",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ExcessiveImgBody"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ExcessiveImgResponse"
- }
- },
- "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.ExcessiveImgBody": {
- "type": "object",
- "required": [
- "mn"
- ],
- "properties": {
- "ecode": {
- "description": "超标数据编号",
- "type": "string"
- },
- "imageBase64": {
- "description": "图片",
- "type": "string"
- },
- "mn": {
- "type": "string"
- }
- }
- },
- "v1.ExcessiveImgResponse": {
- "type": "object",
- "properties": {
- "code": {
- "description": "返回码",
- "type": "integer",
- "format": "int",
- "default": 0
- },
- "message": {
- "description": "消息",
- "type": "string",
- "default": "success"
- }
- }
- }
- }
- }
|