| | |
| | | } |
| | | } |
| | | }, |
| | | "/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/downloadContract": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Contract" |
| | | ], |
| | | "summary": "下载Contract", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "fileName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"下载成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/con/findContract": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Contract" |
| | | ], |
| | | "summary": "用id查询Contract", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "fileName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "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": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "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" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "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": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "fileName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "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": [ |
| | |
| | | ], |
| | | "summary": "获取单一客户信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "客户名", |
| | |
| | | "type": "integer", |
| | | "description": "管理ID", |
| | | "name": "sysUserId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "summary": "用id查询Industry", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | ], |
| | | "summary": "分页获取Industry列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | "$ref": "#/definitions/request.IndustryList" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/createMember": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "创建Member", |
| | | "parameters": [ |
| | | { |
| | | "description": "创建Member", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Member" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/deleteMember": { |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "删除Member", |
| | | "parameters": [ |
| | | { |
| | | "description": "删除Member", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Member" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/deleteMemberByIds": { |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "批量删除Member", |
| | | "parameters": [ |
| | | { |
| | | "description": "批量删除Member", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.IdsReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/findMember": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "用id查询Member", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "nickname", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "userName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "uuid", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/getMemberList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "分页获取Member列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "nickname", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "userName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "uuid", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/getMemberListFromGrpc": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "分页获取Member列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "nickname", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "userName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "uuid", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/m/updateMember": { |
| | | "put": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Member" |
| | | ], |
| | | "summary": "更新Member", |
| | | "parameters": [ |
| | | { |
| | | "description": "更新Member", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Member" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/p/createProduct": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "创建Product", |
| | | "parameters": [ |
| | | { |
| | | "description": "创建Product", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ProductCreate" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/p/deleteProduct": { |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "删除Product", |
| | | "parameters": [ |
| | | { |
| | | "description": "删除Product", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Product" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/p/deleteProductByIds": { |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "批量删除Product", |
| | | "parameters": [ |
| | | { |
| | | "description": "批量删除Product", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.IdsReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/p/findProduct": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "用id查询Product", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "deliveryTime", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "maximumStock", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "minimumStock", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "modelNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "number", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "productType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "number", |
| | | "name": "purchasePrice", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "remark", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "shippingDuration", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "specifications", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "unit", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/p/getProductList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "分页获取Product列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "deliveryTime", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "maximumStock", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "minimumStock", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "modelNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "number", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "productType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "number", |
| | | "name": "purchasePrice", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "remark", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "shippingDuration", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "specifications", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "supplierNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "unit", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/p/getProductListFromGrpc": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "分页获取Product列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "deliveryTime", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "maximumStock", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "minimumStock", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "modelNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "number", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "productType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "number", |
| | | "name": "purchasePrice", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "remark", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "shippingDuration", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "specifications", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "supplierNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "unit", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/p/updateProduct": { |
| | | "put": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Product" |
| | | ], |
| | | "summary": "更新Product", |
| | | "parameters": [ |
| | | { |
| | | "description": "更新Product", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.Product" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/purchase": { |
| | | "put": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "更新采购单信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "采购单ID, 采购单信息", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/purchaserequest.UpdatePurchase" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "更新采购单信息", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "创建采购单", |
| | | "parameters": [ |
| | | { |
| | | "description": "采购单,采购单产品", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/purchaserequest.AddPurchase" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "创建采购单", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/purchase/{id}": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "获取单一采购单信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "采购单ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "获取单一采购单信息,返回包括采购单详情", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.PurchaseResponse" |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "delete": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "删除采购单", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "采购单ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "删除采购单", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/purchaseList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "分页获取采购单列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "分页获取采购单列表,返回包括列表,总数,页码,每页数量", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.PageResult" |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/purchaseType": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "创建采购类型", |
| | | "parameters": [ |
| | | { |
| | | "description": "采购类型list", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/purchaserequest.PurchaseType" |
| | | } |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "创建采购类型", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/purchaseTypeList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "获取采购类型列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "获取采购类型列表", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/purchase.PurchaseType" |
| | | } |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/qualityInspectList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "QualityInspect" |
| | | ], |
| | | "summary": "分页获取质检单列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "分页获取质检单列表,返回包括列表,总数,页码,每页数量", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.PageResult" |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/submit/{id}": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "提交采购单", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "采购单ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "提交采购单", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/s/changeSupplierStatus": { |
| | | "post": { |
| | | "security": [ |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "detailAddress", |
| | | "in": "query" |
| | | }, |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "file", |
| | | "type": "integer", |
| | | "name": "fileId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "responsiblePersonId", |
| | | "type": "string", |
| | | "name": "responsiblePersonName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "supplierType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "detailAddress", |
| | | "in": "query" |
| | | }, |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "file", |
| | | "type": "integer", |
| | | "name": "fileId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "responsiblePersonId", |
| | | "type": "string", |
| | | "name": "responsiblePersonName", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "supplierType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "summary": "用id查询SupplierType", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | ], |
| | | "summary": "分页获取SupplierType列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "endCreatedAt", |
| | |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/test.SupplierType" |
| | | "$ref": "#/definitions/request.SupplierTypeList" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "描述", |
| | | "name": "desc", |
| | | "in": "query" |
| | |
| | | "type": "string", |
| | | "description": "字典名(英)", |
| | | "name": "type", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "描述", |
| | | "name": "desc", |
| | | "in": "query" |
| | |
| | | "type": "string", |
| | | "description": "字典名(英)", |
| | | "name": "type", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "summary": "用id查询SysDictionaryDetail", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | |
| | | "type": "integer", |
| | | "description": "关联标记", |
| | | "name": "sysDictionaryID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "summary": "分页获取SysDictionaryDetail列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "主键ID", |
| | | "name": "id", |
| | |
| | | "type": "integer", |
| | | "description": "关联标记", |
| | | "name": "sysDictionaryID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "错误信息", |
| | | "name": "error_message", |
| | | "in": "query" |
| | |
| | | "type": "integer", |
| | | "description": "请求状态", |
| | | "name": "status", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "错误信息", |
| | | "name": "error_message", |
| | | "in": "query" |
| | |
| | | "type": "integer", |
| | | "description": "请求状态", |
| | | "name": "status", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | } |
| | | }, |
| | | "email": { |
| | | "$ref": "#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email" |
| | | "$ref": "#/definitions/srm_config.Email" |
| | | }, |
| | | "excel": { |
| | | "$ref": "#/definitions/config.Excel" |
| | |
| | | "description": "环境值", |
| | | "type": "string" |
| | | }, |
| | | "grpc-admin-url": { |
| | | "description": "grpc服务地址", |
| | | "type": "string" |
| | | }, |
| | | "grpc-url": { |
| | | "description": "grpc服务地址", |
| | | "type": "string" |
| | | }, |
| | | "iplimit-count": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "example.ExaCustomer": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "customerName": { |
| | | "description": "客户名", |
| | | "type": "string" |
| | |
| | | "sysUserId": { |
| | | "description": "管理ID", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "properties": { |
| | | "chunkTotal": { |
| | | "type": "integer" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "exaFileChunk": { |
| | | "type": "array", |
| | |
| | | }, |
| | | "isFinish": { |
| | | "type": "boolean" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "example.ExaFileChunk": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "exaFileID": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "example.ExaFileUploadAndDownload": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | |
| | | "description": "文件标签", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "url": { |
| | | "description": "文件地址", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "github_com_flipped-aurora_gin-vue-admin_server_config.Email": { |
| | | "purchase.OrderStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | ], |
| | | "x-enum-comments": { |
| | | "OrderStatusCompleted": "已完成", |
| | | "OrderStatusConfirmed": "已下单", |
| | | "OrderStatusReceived": "已到货", |
| | | "OrderStatusStored": "已入库" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "OrderStatusConfirmed", |
| | | "OrderStatusReceived", |
| | | "OrderStatusStored", |
| | | "OrderStatusCompleted" |
| | | ] |
| | | }, |
| | | "purchase.PriceAdjustmentType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "PriceAdjustmentTypeAdd": "增加", |
| | | "PriceAdjustmentTypeSub": "减少" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "PriceAdjustmentTypeAdd", |
| | | "PriceAdjustmentTypeSub" |
| | | ] |
| | | }, |
| | | "purchase.Purchase": { |
| | | "type": "object", |
| | | "properties": { |
| | | "from": { |
| | | "description": "发件人 你自己要发邮件的邮箱", |
| | | "contact": { |
| | | "description": "联系人", |
| | | "type": "string" |
| | | }, |
| | | "host": { |
| | | "description": "服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议", |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "is-ssl": { |
| | | "description": "是否SSL 是否开启SSL", |
| | | "type": "boolean" |
| | | }, |
| | | "nickname": { |
| | | "description": "昵称 发件人昵称 通常为自己的邮箱", |
| | | "creator": { |
| | | "description": "制单人", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": "端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465", |
| | | "deliveryDate": { |
| | | "description": "交付日期", |
| | | "type": "string" |
| | | }, |
| | | "handledBy": { |
| | | "description": "经办人", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "secret": { |
| | | "description": "密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥", |
| | | "invoiceAmount": { |
| | | "description": "已收票金额", |
| | | "type": "number" |
| | | }, |
| | | "name": { |
| | | "description": "采购名称", |
| | | "type": "string" |
| | | }, |
| | | "to": { |
| | | "description": "收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用", |
| | | "number": { |
| | | "description": "采购编号", |
| | | "type": "string" |
| | | }, |
| | | "orderSource": { |
| | | "description": "单据来源", |
| | | "type": "string" |
| | | }, |
| | | "orderType": { |
| | | "description": "单据类型", |
| | | "type": "string" |
| | | }, |
| | | "paidAmount": { |
| | | "description": "已付金额", |
| | | "type": "number" |
| | | }, |
| | | "phone": { |
| | | "description": "联系人电话", |
| | | "type": "string" |
| | | }, |
| | | "priceAdjustment": { |
| | | "description": "价格调整值", |
| | | "type": "number" |
| | | }, |
| | | "priceAdjustmentType": { |
| | | "description": "价格调整类型", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/purchase.PriceAdjustmentType" |
| | | } |
| | | ] |
| | | }, |
| | | "principal": { |
| | | "description": "采购负责人", |
| | | "type": "string" |
| | | }, |
| | | "purchaseType": { |
| | | "$ref": "#/definitions/purchase.PurchaseType" |
| | | }, |
| | | "purchaseTypeId": { |
| | | "description": "采购类型id", |
| | | "type": "integer" |
| | | }, |
| | | "quantity": { |
| | | "description": "采购数量", |
| | | "type": "number" |
| | | }, |
| | | "realTotalPrice": { |
| | | "description": "最终价格", |
| | | "type": "number" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "shouldPayAmount": { |
| | | "description": "应付金额", |
| | | "type": "number" |
| | | }, |
| | | "signingDate": { |
| | | "description": "签约日期", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/purchase.OrderStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "supplier": { |
| | | "$ref": "#/definitions/test.Supplier" |
| | | }, |
| | | "supplierId": { |
| | | "description": "供应商id", |
| | | "type": "integer" |
| | | }, |
| | | "totalPrice": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | | }, |
| | | "unInvoiceAmount": { |
| | | "description": "未收票金额", |
| | | "type": "number" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "warehouse": { |
| | | "description": "收货仓库", |
| | | "type": "string" |
| | | }, |
| | | "wholeDiscount": { |
| | | "description": "整单折扣值", |
| | | "type": "number" |
| | | }, |
| | | "wholeDiscountType": { |
| | | "description": "整单折扣类型", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/purchase.WholeDiscountType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | "purchase.PurchaseProducts": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "采购数量", |
| | | "type": "number" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "price": { |
| | | "description": "采购单价", |
| | | "type": "number" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | }, |
| | | "purchaseId": { |
| | | "description": "采购id", |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "description": "描述", |
| | | "type": "string" |
| | | }, |
| | | "total": { |
| | | "description": "采购总价", |
| | | "type": "number" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "purchase.PurchaseType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "采购类型", |
| | | "type": "string" |
| | | }, |
| | | "pin": { |
| | | "description": "是否置顶", |
| | | "type": "boolean" |
| | | }, |
| | | "sort": { |
| | | "description": "排序", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "purchase.WholeDiscountType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "WholeDiscountTypeDiscount": "直接降价", |
| | | "WholeDiscountTypePercent": "百分比降价" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "WholeDiscountTypePercent", |
| | | "WholeDiscountTypeDiscount" |
| | | ] |
| | | }, |
| | | "purchaserequest.AddPurchase": { |
| | | "type": "object", |
| | | "properties": { |
| | | "productList": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/purchase.PurchaseProducts" |
| | | } |
| | | }, |
| | | "purchase": { |
| | | "$ref": "#/definitions/purchaserequest.Purchase" |
| | | } |
| | | } |
| | | }, |
| | | "purchaserequest.Purchase": { |
| | | "type": "object", |
| | | "properties": { |
| | | "contact": { |
| | | "description": "联系人", |
| | | "type": "string" |
| | | }, |
| | | "deliveryDate": { |
| | | "description": "交付日期", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "采购名称", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "采购编号", |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "description": "联系人电话", |
| | | "type": "string" |
| | | }, |
| | | "priceAdjustment": { |
| | | "description": "价格调整值", |
| | | "type": "number" |
| | | }, |
| | | "priceAdjustmentType": { |
| | | "description": "价格调整类型", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/purchase.PriceAdjustmentType" |
| | | } |
| | | ] |
| | | }, |
| | | "purchaseTypeId": { |
| | | "description": "采购类型id", |
| | | "type": "integer" |
| | | }, |
| | | "quantity": { |
| | | "description": "采购数量", |
| | | "type": "number" |
| | | }, |
| | | "realTotalPrice": { |
| | | "description": "最终价格", |
| | | "type": "number" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "signingDate": { |
| | | "description": "签约日期", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/purchase.OrderStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "supplierId": { |
| | | "description": "供应商id", |
| | | "type": "integer" |
| | | }, |
| | | "totalPrice": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | | }, |
| | | "wholeDiscount": { |
| | | "description": "整单折扣值", |
| | | "type": "number" |
| | | }, |
| | | "wholeDiscountType": { |
| | | "description": "整单折扣类型", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/purchase.WholeDiscountType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | "purchaserequest.PurchaseType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "采购类型", |
| | | "type": "string" |
| | | }, |
| | | "pin": { |
| | | "description": "是否置顶", |
| | | "type": "boolean" |
| | | }, |
| | | "sort": { |
| | | "description": "排序", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "purchaserequest.UpdatePurchase": { |
| | | "type": "object", |
| | | "properties": { |
| | | "productList": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/purchase.PurchaseProducts" |
| | | } |
| | | }, |
| | | "purchase": { |
| | | "$ref": "#/definitions/purchaserequest.Purchase" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.IndustryList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "industries": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/test.Industry" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.InitDB": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.ProductCreate": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/test.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.Register": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "description": "api组", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "description": "排序方式:升序false(默认)|降序true", |
| | | "type": "boolean" |
| | |
| | | }, |
| | | "path": { |
| | | "description": "api路径", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.SupplierTypeList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "supplierTypes": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/test.SupplierType" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.PurchaseProducts": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "采购数量", |
| | | "type": "number" |
| | | }, |
| | | "deliveryTime": { |
| | | "type": "integer" |
| | | }, |
| | | "modelNumber": { |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "price": { |
| | | "description": "采购单价", |
| | | "type": "number" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | }, |
| | | "productType": { |
| | | "type": "string" |
| | | }, |
| | | "purchaseId": { |
| | | "description": "采购id", |
| | | "type": "integer" |
| | | }, |
| | | "purchasePrice": { |
| | | "type": "number" |
| | | }, |
| | | "shippingDuration": { |
| | | "type": "integer" |
| | | }, |
| | | "specifications": { |
| | | "type": "string" |
| | | }, |
| | | "total": { |
| | | "description": "采购总价", |
| | | "type": "number" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "response.PurchaseResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "productList": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.PurchaseProducts" |
| | | } |
| | | }, |
| | | "purchase": { |
| | | "$ref": "#/definitions/purchase.Purchase" |
| | | } |
| | | } |
| | | }, |
| | | "response.Response": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "properties": { |
| | | "user": { |
| | | "$ref": "#/definitions/system.SysUser" |
| | | } |
| | | } |
| | | }, |
| | | "srm_config.Email": { |
| | | "type": "object", |
| | | "properties": { |
| | | "from": { |
| | | "description": "发件人 你自己要发邮件的邮箱", |
| | | "type": "string" |
| | | }, |
| | | "host": { |
| | | "description": "服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议", |
| | | "type": "string" |
| | | }, |
| | | "is-ssl": { |
| | | "description": "是否SSL 是否开启SSL", |
| | | "type": "boolean" |
| | | }, |
| | | "nickname": { |
| | | "description": "昵称 发件人昵称 通常为自己的邮箱", |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "description": "端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465", |
| | | "type": "integer" |
| | | }, |
| | | "secret": { |
| | | "description": "密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥", |
| | | "type": "string" |
| | | }, |
| | | "to": { |
| | | "description": "收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "api组", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "description": { |
| | | "description": "api中文描述", |
| | | "type": "string" |
| | |
| | | }, |
| | | "path": { |
| | | "description": "api路径", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "system.SysAutoCode": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "packageName": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "component": { |
| | | "description": "对应前端文件路径", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "hidden": { |
| | |
| | | "sort": { |
| | | "description": "排序标记", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "system.SysBaseMenuBtn": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "sysBaseMenuID": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "system.SysBaseMenuParameter": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | |
| | | "description": "地址栏携带参数为params还是query", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "地址栏携带参数的值", |
| | | "type": "string" |
| | |
| | | "system.SysDictionary": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | | "description": "描述", |
| | | "type": "string" |
| | |
| | | "type": { |
| | | "description": "字典名(英)", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "system.SysDictionaryDetail": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | |
| | | "sysDictionaryID": { |
| | | "description": "关联标记", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "字典值", |
| | |
| | | }, |
| | | "component": { |
| | | "description": "对应前端文件路径", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "hidden": { |
| | |
| | | "sort": { |
| | | "description": "排序标记", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "body": { |
| | | "description": "请求Body", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "error_message": { |
| | |
| | | "description": "请求状态", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "user": { |
| | | "$ref": "#/definitions/system.SysUser" |
| | | }, |
| | |
| | | "description": "基础颜色", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "email": { |
| | | "description": "用户邮箱", |
| | | "type": "string" |
| | |
| | | "description": "用户侧边主题", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "userName": { |
| | | "description": "用户登录名", |
| | | "type": "string" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "test.Contract": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "fileName": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "supplierID": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "test.Industry": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "test.Member": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "nickname": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "userName": { |
| | | "type": "string" |
| | | }, |
| | | "uuid": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "test.Product": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "deliveryTime": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "maximumStock": { |
| | | "type": "integer" |
| | | }, |
| | | "minimumStock": { |
| | | "type": "integer" |
| | | }, |
| | | "modelNumber": { |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "productType": { |
| | | "type": "string" |
| | | }, |
| | | "purchasePrice": { |
| | | "type": "number" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "shippingDuration": { |
| | | "type": "integer" |
| | | }, |
| | | "specifications": { |
| | | "type": "string" |
| | | }, |
| | | "supplier": { |
| | | "$ref": "#/definitions/test.Supplier" |
| | | }, |
| | | "supplierId": { |
| | | "type": "integer" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "contact": { |
| | | "type": "string" |
| | | }, |
| | | "contract": { |
| | | "$ref": "#/definitions/test.Contract" |
| | | }, |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "detailAddress": { |
| | | "type": "string" |
| | | }, |
| | | "email": { |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | "fileId": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | |
| | | "phone": { |
| | | "type": "string" |
| | | }, |
| | | "responsiblePersonId": { |
| | | "type": "integer" |
| | | "responsiblePersonName": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | }, |
| | | "supplierType": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "url": { |
| | |
| | | "test.SupplierType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |