add
wangpengfei
2023-07-21 bf9d36e5474301bcfe571606d9caaa7ceefa8192
docs/swagger.yaml
@@ -544,6 +544,13 @@
      validity_date:
        type: string
    type: object
  model.RefundMethod:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.Region:
    properties:
      id:
@@ -1298,6 +1305,13 @@
        type: integer
      validity_date:
        type: string
    type: object
  request.AddRefundMethod:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddRegion:
    properties:
@@ -2491,6 +2505,25 @@
      validity_date:
        type: string
    type: object
  request.UpdateRefundMethod:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateRefundMethods:
    properties:
      refund_method:
        items:
          $ref: '#/definitions/request.UpdateRefundMethod'
        type: array
    required:
    - refund_method
    type: object
  request.UpdateRegion:
    properties:
      id:
@@ -3159,6 +3192,11 @@
        items:
          $ref: '#/definitions/model.Province'
        type: array
      refundMethod:
        description: 退款方式
        items:
          $ref: '#/definitions/model.RefundMethod'
        type: array
      region:
        description: 区域数据
        items:
@@ -3328,6 +3366,13 @@
      list:
        items:
          $ref: '#/definitions/model.Quotation'
        type: array
    type: object
  response.RefundMethodResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.RefundMethod'
        type: array
    type: object
  response.RegisteredCapitalResponse:
@@ -5343,6 +5388,79 @@
      summary: 更新报价单
      tags:
      - Quotation
  /api/refundMethod/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddRefundMethod'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加退款方式
      tags:
      - RefundMethod
  /api/refundMethod/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:
      - RefundMethod
  /api/refundMethod/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.RefundMethodResponse'
              type: object
      summary: 获取退款方式列表
      tags:
      - RefundMethod
  /api/refundMethod/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateRefundMethods'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新退款方式
      tags:
      - RefundMethod
  /api/region/add:
    post:
      parameters: