| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/code/getAutoCode": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "编码" |
| | | ], |
| | | "summary": "获取自动编码", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/code/getCodeList": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | "solutions": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Status" |
| | | } |
| | | ] |
| | | }, |
| | | "status_id": { |
| | | "$ref": "#/definitions/model.Status" |
| | | "type": "integer" |
| | | }, |
| | | "threats": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "description": "交付类型:1.一次发货,2.多次发货", |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | }, |
| | | "client_status_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "description": "交付类型:1.一次发货,2.多次发货", |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "properties": { |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |