From 6ab6e517d224d8318a9a4ee189671a35bc2fbd2a Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 01 三月 2024 11:02:47 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/silk/silkServer --- docs/docs.go | 151 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 146 insertions(+), 5 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 33d264f..b085057 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -93,6 +93,44 @@ } }, "/api-jl/v1/fineness/register/{id}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绾ゅ害鐧昏" + ], + "summary": "绾ゅ害鐧昏璇︽儏", + "parameters": [ + { + "type": "string", + "description": "瀛楀吀淇℃伅", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.FinenessRegister" + } + } + } + ] + } + } + } + }, "delete": { "produces": [ "application/json" @@ -275,6 +313,66 @@ } } } + }, + "/api-jl/v1/system/getPriceStandardList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆/鐢熶笣瀹氫环鏍囧噯" + ], + "summary": "鑾峰彇鐢熶笣瀹氫环鏍囧噯", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.RawSilkPriceStandard" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-jl/v1/system/savePriceStandard": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆/鐢熶笣瀹氫环鏍囧噯" + ], + "summary": "淇濆瓨鐢熶笣瀹氫环鏍囧噯", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.RawSilkPriceStandard" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } } }, "definitions": { @@ -426,11 +524,49 @@ "description": "寮�濮嬪洖鏁�", "type": "integer" }, + "sumFineness": { + "type": "number" + }, + "sumQuantity": { + "type": "number" + }, "updatedAt": { "type": "string" }, "workshopGroup": { "description": "杞︾粍", + "type": "string" + } + } + }, + "models.RawSilkPriceStandard": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "deletedAt": { + "$ref": "#/definitions/gorm.DeletedAt" + }, + "id": { + "type": "integer" + }, + "marketNumber": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "payStandard": { + "type": "number" + }, + "rawSilkGradeNumber": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "updatedAt": { "type": "string" } } @@ -477,6 +613,10 @@ "description": "钀戒笣鏃堕棿", "type": "string" }, + "id": { + "description": "id 娣诲姞鏃朵紶0", + "type": "integer" + }, "market": { "description": "搴勫彛", "type": "string" @@ -497,8 +637,11 @@ "description": "寮�濮嬪洖鏁�", "type": "integer" }, - "sum": { - "$ref": "#/definitions/request.FinenessItem" + "sumFineness": { + "type": "number" + }, + "sumQuantity": { + "type": "number" }, "workshopGroup": { "description": "杞︾粍", @@ -579,9 +722,7 @@ "pageSize": { "type": "integer" }, - "total": { - "type": "integer" - } + "total": {} } } } -- Gitblit v1.8.0