From 823296cc595b3167c31a6257352c136568d0aaaf Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 21 七月 2023 11:43:20 +0800 Subject: [PATCH] add --- docs/docs.go | 188 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 188 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 3a94799..c6d453c 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2040,6 +2040,125 @@ } } }, + "/api/isInvoice/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "娣诲姞鏄惁寮�绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddIsInvoice" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鍒犻櫎鏄惁寮�绁�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鑾峰彇鏄惁寮�绁ㄥ垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.IsInvoiceResponse" + } + } + } + ] + } + } + } + } + }, + "/api/isInvoice/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鏇存柊鏄惁寮�绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateIsInvoices" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/isVisit/add": { "post": { "produces": [ @@ -6698,6 +6817,17 @@ } } }, + "model.IsInvoice": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.IsVisit": { "type": "object", "properties": { @@ -7914,6 +8044,17 @@ } }, "request.AddIndustry": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddIsInvoice": { "type": "object", "required": [ "name" @@ -9615,6 +9756,35 @@ } } }, + "request.UpdateIsInvoice": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateIsInvoices": { + "type": "object", + "required": [ + "is_invoice" + ], + "properties": { + "is_invoice": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateIsInvoice" + } + } + } + }, "request.UpdateIsVisit": { "type": "object", "required": [ @@ -10832,6 +11002,13 @@ "$ref": "#/definitions/model.Industry" } }, + "isInvoice": { + "description": "鏄惁寮�绁�", + "type": "array", + "items": { + "$ref": "#/definitions/model.IsInvoice" + } + }, "isVisit": { "description": "鏈嶅姟浜哄憳鏄惁鏉ヨ繃", "type": "array", @@ -11008,6 +11185,17 @@ } } }, + "response.IsInvoiceResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.IsInvoice" + } + } + } + }, "response.IsVisitResponse": { "type": "object", "properties": { -- Gitblit v1.8.0