From 849b89cde3bf2ac26bdcf33e3940f9a1a00d1e85 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 29 二月 2024 16:30:21 +0800 Subject: [PATCH] 纤度登记列表和删除接口 --- docs/swagger.yaml | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index c28c61e..0eed71b 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -48,6 +48,41 @@ updatedAt: type: string type: object + models.FinenessRegister: + properties: + createdAt: + type: string + deletedAt: + $ref: '#/definitions/gorm.DeletedAt' + endCircle: + description: 缁撴潫鍥炴暟 + type: integer + finishDate: + description: 钀戒笣鏃堕棿 + type: string + id: + type: integer + market: + description: 搴勫彛 + type: string + name: + description: 杞﹂棿 + type: string + number: + description: 缂栧彿 + type: string + spec: + description: 瑙勬牸 + type: string + startCircle: + description: 寮�濮嬪洖鏁� + type: integer + updatedAt: + type: string + workshopGroup: + description: 杞︾粍 + type: string + type: object request.AddDict: properties: dictType: @@ -107,6 +142,52 @@ info: contact: {} paths: + /api-jl/v1/fineness/register: + get: + parameters: + - description: 椤电爜 + in: query + name: page + type: integer + - description: 姣忛〉澶у皬 + in: query + name: pageSize + type: integer + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/util.ResponseList' + - properties: + data: + items: + $ref: '#/definitions/models.FinenessRegister' + type: array + type: object + summary: 绾ゅ害鐧昏鍒楄〃 + tags: + - 绾ゅ害鐧昏 + /api-jl/v1/fineness/register/{id}: + delete: + parameters: + - description: 瀛楀吀淇℃伅 + in: path + name: id + required: true + type: string + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/util.Response' + summary: 绾ゅ害鐧昏鍒犻櫎 + tags: + - 绾ゅ害鐧昏 /api-jl/v1/system/dict: get: parameters: -- Gitblit v1.8.0