From a9a16bf0aabf5323a658d79a87473008d2197584 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期一, 10 七月 2023 14:10:45 +0800 Subject: [PATCH] add --- docs/swagger.yaml | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 219a2f8..6c8e6f6 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -895,6 +895,13 @@ required: - name type: object + request.AddStatus: + properties: + name: + type: string + required: + - name + type: object request.ChangePasswordReq: properties: newPassword: @@ -1632,6 +1639,25 @@ items: $ref: '#/definitions/request.UpdateSalesSources' type: array + type: object + request.UpdateStatus: + properties: + id: + type: integer + name: + type: string + required: + - id + - name + type: object + request.UpdateStatusList: + properties: + list: + items: + $ref: '#/definitions/request.UpdateStatus' + type: array + required: + - list type: object response.CityResponse: properties: @@ -3524,6 +3550,74 @@ summary: 鏇存柊鍟嗘満鏉ユ簮 tags: - SalesSources + /api/status/add: + post: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.AddStatus' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 娣诲姞鐘舵�� + tags: + - Status + /api/status/delete/{id}: + delete: + parameters: + - description: 鏌ヨ鍙傛暟 + in: path + name: id + required: true + type: integer + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鍒犻櫎鐘舵�� + tags: + - Status + /api/status/list: + get: + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鐘舵�佸垪琛� + tags: + - Status + /api/status/update: + put: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.UpdateStatusList' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 鏇存柊鐘舵�� + tags: + - Status /api/user/changePassword: post: parameters: -- Gitblit v1.8.0