From 5fd608f17fca7e1c3c0e339831b226a3bcd8af41 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 24 八月 2023 19:39:30 +0800 Subject: [PATCH] add --- docs/swagger.yaml | 270 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 270 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 2b2722c..8a50206 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1474,6 +1474,40 @@ name: type: string type: object + test.Supplier: + properties: + account: + type: string + accountName: + type: string + bank: + type: string + contact: + type: string + detailAddress: + type: string + email: + type: string + file: + type: string + id: + description: 涓婚敭ID + type: integer + industry: + type: string + name: + type: string + number: + type: string + phone: + type: string + responsiblePersonId: + type: integer + supplierType: + type: string + url: + type: string + type: object test.SupplierType: properties: id: @@ -3330,6 +3364,242 @@ summary: 鏇存柊鑿滃崟 tags: - Menu + /s/createSupplier: + post: + consumes: + - application/json + parameters: + - description: 鍒涘缓Supplier + in: body + name: data + required: true + schema: + $ref: '#/definitions/test.Supplier' + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鍒涘缓Supplier + tags: + - Supplier + /s/deleteSupplier: + delete: + consumes: + - application/json + parameters: + - description: 鍒犻櫎Supplier + in: body + name: data + required: true + schema: + $ref: '#/definitions/test.Supplier' + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鍒犻櫎鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鍒犻櫎Supplier + tags: + - Supplier + /s/deleteSupplierByIds: + delete: + consumes: + - application/json + parameters: + - description: 鎵归噺鍒犻櫎Supplier + in: body + name: data + required: true + schema: + $ref: '#/definitions/request.IdsReq' + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鎵归噺鍒犻櫎鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鎵归噺鍒犻櫎Supplier + tags: + - Supplier + /s/findSupplier: + get: + consumes: + - application/json + parameters: + - in: query + name: account + type: string + - in: query + name: accountName + type: string + - in: query + name: bank + type: string + - in: query + name: contact + type: string + - in: query + name: detailAddress + type: string + - in: query + name: email + type: string + - in: query + name: file + type: string + - description: 涓婚敭ID + in: query + name: id + type: integer + - in: query + name: industry + type: string + - in: query + name: name + type: string + - in: query + name: number + type: string + - in: query + name: phone + type: string + - in: query + name: responsiblePersonId + type: integer + - in: query + name: supplierType + type: string + - in: query + name: url + type: string + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鏌ヨ鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鐢╥d鏌ヨSupplier + tags: + - Supplier + /s/getSupplierList: + get: + consumes: + - application/json + parameters: + - in: query + name: account + type: string + - in: query + name: accountName + type: string + - in: query + name: bank + type: string + - in: query + name: contact + type: string + - in: query + name: detailAddress + type: string + - in: query + name: email + type: string + - in: query + name: endCreatedAt + type: string + - in: query + name: file + type: string + - description: 涓婚敭ID + in: query + name: id + type: integer + - in: query + name: industry + type: string + - description: 鍏抽敭瀛� + in: query + name: keyword + type: string + - in: query + name: name + type: string + - in: query + name: number + type: string + - description: 椤电爜 + in: query + name: page + type: integer + - description: 姣忛〉澶у皬 + in: query + name: pageSize + type: integer + - in: query + name: phone + type: string + - in: query + name: responsiblePersonId + type: integer + - in: query + name: startCreatedAt + type: string + - in: query + name: supplierType + type: string + - in: query + name: url + type: string + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鍒嗛〉鑾峰彇Supplier鍒楄〃 + tags: + - Supplier + /s/updateSupplier: + put: + consumes: + - application/json + parameters: + - description: 鏇存柊Supplier + in: body + name: data + required: true + schema: + $ref: '#/definitions/test.Supplier' + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鏇存柊鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鏇存柊Supplier + tags: + - Supplier /st/createSupplierType: post: consumes: -- Gitblit v1.8.0