| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |
| | |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/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" |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/purchase": { |
| | | "put": { |
| | | "security": [ |
| | |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "供应商id", |
| | | "name": "supplierId", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "供应商id", |
| | | "name": "supplierId", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/submit/{id}": { |
| | | "/purchase/submit": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | |
| | | "type": "string", |
| | | "name": "url", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}", |
| | | "schema": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/s/getSupplierByNumber/{number}": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Supplier" |
| | | ], |
| | | "summary": "用编码查询Supplier", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "供应商编码", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "grpc-admin-url": { |
| | | "description": "grpc服务地址", |
| | | "description": "admin grpc服务地址", |
| | | "type": "string" |
| | | }, |
| | | "grpc-port": { |
| | | "description": "对外提供服务grpc端口", |
| | | "type": "string" |
| | | }, |
| | | "grpc-url": { |
| | | "description": "grpc服务地址", |
| | | "description": "aps grpc服务地址", |
| | | "type": "string" |
| | | }, |
| | | "iplimit-count": { |
| | | "type": "integer" |
| | | }, |
| | | "iplimit-time": { |
| | | "type": "integer" |
| | | }, |
| | | "oss-type": { |
| | | "description": "Oss类型", |
| | | "grpc-wms-url": { |
| | | "description": "wms grpc服务地址", |
| | | "type": "string" |
| | | }, |
| | | "router-prefix": { |
| | | "type": "string" |
| | | }, |
| | | "use-multipoint": { |
| | | "description": "多点登录拦截", |
| | | "type": "boolean" |
| | | }, |
| | | "use-redis": { |
| | | "description": "使用redis", |
| | | "type": "boolean" |
| | | } |
| | | } |
| | | }, |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "OrderStatusCanceled": "已取消", |
| | | "OrderStatusCompleted": "已完成", |
| | | "OrderStatusConfirmed": "已下单", |
| | | "OrderStatusReceived": "已到货", |
| | | "OrderStatusConfirmed": "待确认", |
| | | "OrderStatusReceived": "待入库", |
| | | "OrderStatusStored": "已入库" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "OrderStatusConfirmed", |
| | | "OrderStatusReceived", |
| | | "OrderStatusStored", |
| | | "OrderStatusCompleted" |
| | | "OrderStatusCompleted", |
| | | "OrderStatusCanceled" |
| | | ] |
| | | }, |
| | | "purchase.PriceAdjustmentType": { |
| | |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "string" |
| | | "type": "integer" |
| | | }, |
| | | "purchaseId": { |
| | | "description": "采购id", |
| | |
| | | "description": "采购编号", |
| | | "type": "string" |
| | | }, |
| | | "orderSource": { |
| | | "description": "单据来源", |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "description": "联系人电话", |
| | | "type": "string" |