From 25c573d55986e02cf5f70cc3868e2b94a4be98e2 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 25 八月 2023 19:35:57 +0800
Subject: [PATCH] change package name
---
docs/docs.go | 468 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 460 insertions(+), 8 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index e1ac368..f7ba6c5 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1780,6 +1780,353 @@
}
}
},
+ "/con/createContract": {
+ "post": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "multipart/form-data"
+ ],
+ "produces": [
+ "multipart/form-data"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鍒涘缓Contract",
+ "parameters": [
+ {
+ "type": "file",
+ "description": "涓婁紶鏂囦欢",
+ "name": "file",
+ "in": "formData",
+ "required": true
+ },
+ {
+ "type": "string",
+ "description": "鏂囦欢鍚嶇О",
+ "name": "name",
+ "in": "formData",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/con/deleteContract": {
+ "delete": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鍒犻櫎Contract",
+ "parameters": [
+ {
+ "description": "鍒犻櫎Contract",
+ "name": "data",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/test.Contract"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"鍒犻櫎鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/con/deleteContractByIds": {
+ "delete": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鎵归噺鍒犻櫎Contract",
+ "parameters": [
+ {
+ "description": "鎵归噺鍒犻櫎Contract",
+ "name": "data",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.IdsReq"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"鎵归噺鍒犻櫎鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/con/findContract": {
+ "get": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鐢╥d鏌ヨContract",
+ "parameters": [
+ {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "collectionFormat": "csv",
+ "name": "fileContent",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "fileName",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "涓婚敭ID",
+ "name": "id",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "name": "supplierID",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"鏌ヨ鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/con/getContractList": {
+ "get": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鍒嗛〉鑾峰彇Contract鍒楄〃",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "endCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "collectionFormat": "csv",
+ "name": "fileContent",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "fileName",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "涓婚敭ID",
+ "name": "id",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "description": "鍏抽敭瀛�",
+ "name": "keyword",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "椤电爜",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "姣忛〉澶у皬",
+ "name": "pageSize",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "name": "supplierID",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/con/previewContract": {
+ "get": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "棰勮Contract",
+ "parameters": [
+ {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "collectionFormat": "csv",
+ "name": "fileContent",
+ "in": "query"
+ },
+ {
+ "type": "string",
+ "name": "fileName",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "涓婚敭ID",
+ "name": "id",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "name": "supplierID",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"棰勮鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "/con/updateContract": {
+ "put": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鏇存柊Contract",
+ "parameters": [
+ {
+ "description": "鏇存柊Contract",
+ "name": "data",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/test.Contract"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"鏇存柊鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
"/customer/customer": {
"get": {
"security": [
@@ -2663,7 +3010,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/test.Industry"
+ "$ref": "#/definitions/request.IndustryList"
}
}
],
@@ -3253,6 +3600,44 @@
}
}
},
+ "/s/changeSupplierStatus": {
+ "post": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Supplier"
+ ],
+ "summary": "淇敼Supplier鐘舵��",
+ "parameters": [
+ {
+ "description": "淇敼Supplier鐘舵��",
+ "name": "data",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SupplierStatus"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "{\"success\":true,\"data\":{},\"msg\":\"淇敼鎴愬姛\"}",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
"/s/createSupplier": {
"post": {
"security": [
@@ -3416,8 +3801,8 @@
"in": "query"
},
{
- "type": "string",
- "name": "file",
+ "type": "integer",
+ "name": "fileId",
"in": "query"
},
{
@@ -3449,6 +3834,11 @@
{
"type": "integer",
"name": "responsiblePersonId",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "name": "status",
"in": "query"
},
{
@@ -3526,8 +3916,8 @@
"in": "query"
},
{
- "type": "string",
- "name": "file",
+ "type": "integer",
+ "name": "fileId",
"in": "query"
},
{
@@ -3582,6 +3972,11 @@
{
"type": "string",
"name": "startCreatedAt",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "name": "status",
"in": "query"
},
{
@@ -3889,7 +4284,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/test.SupplierType"
+ "$ref": "#/definitions/request.SupplierTypeList"
}
}
],
@@ -6670,6 +7065,17 @@
}
}
},
+ "request.IndustryList": {
+ "type": "object",
+ "properties": {
+ "industries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/test.Industry"
+ }
+ }
+ }
+ },
"request.InitDB": {
"type": "object",
"required": [
@@ -6864,6 +7270,28 @@
},
"id": {
"type": "integer"
+ }
+ }
+ },
+ "request.SupplierStatus": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "status": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.SupplierTypeList": {
+ "type": "object",
+ "properties": {
+ "supplierTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/test.SupplierType"
+ }
}
}
},
@@ -7713,6 +8141,27 @@
}
}
},
+ "test.Contract": {
+ "type": "object",
+ "properties": {
+ "fileContent": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "fileName": {
+ "type": "string"
+ },
+ "id": {
+ "description": "涓婚敭ID",
+ "type": "integer"
+ },
+ "supplierID": {
+ "type": "integer"
+ }
+ }
+ },
"test.Industry": {
"type": "object",
"properties": {
@@ -7746,8 +8195,8 @@
"email": {
"type": "string"
},
- "file": {
- "type": "string"
+ "fileId": {
+ "type": "integer"
},
"id": {
"description": "涓婚敭ID",
@@ -7768,6 +8217,9 @@
"responsiblePersonId": {
"type": "integer"
},
+ "status": {
+ "type": "integer"
+ },
"supplierType": {
"type": "string"
},
--
Gitblit v1.8.0