fix
wangpengfei
2023-07-20 f7da9306eb62a7ccda30a002f2d4242c4e52cfa3
docs/swagger.yaml
@@ -577,6 +577,8 @@
        type: integer
      currency:
        $ref: '#/definitions/constvar.CurrencyType'
      detail_address:
        type: string
      disadvantages:
        type: string
      expected_time:
@@ -613,6 +615,8 @@
        type: integer
      regular_customers_id:
        type: integer
      remark:
        type: string
      sale_stage_id:
        type: integer
      sale_type_id:
@@ -747,6 +751,29 @@
      refundMethod:
        type: string
    type: object
  model.SalesReturn:
    properties:
      clientId:
        type: integer
      id:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        type: string
      repository:
        type: string
      returnDate:
        type: string
      status:
        type: integer
    type: object
  model.SalesSources:
    properties:
      id:
@@ -867,21 +894,14 @@
      authorityId:
        description: 用户角色ID
        type: integer
      companyName:
        type: string
      createAt:
        description: 创建时间
        type: string
      departmentId:
        type: integer
      email:
        type: string
      enable:
        type: boolean
      headerImg:
        type: string
      id:
        type: string
      ip:
        type: string
        type: integer
      menuIds:
        description: 菜单ID列表
        items:
@@ -889,24 +909,17 @@
        type: array
      nickName:
        type: string
      parentId:
        type: string
      parentName:
        type: string
      phone:
        type: string
      port:
        type: string
      pos:
        type: string
      status:
        type: integer
      updateAt:
        description: 更新时间
      realName:
        type: string
      userType:
        $ref: '#/definitions/constvar.UserType'
      username:
        type: string
      uuid:
        type: string
    type: object
  request.AddAuthority:
@@ -1250,6 +1263,8 @@
        type: integer
      currency:
        type: integer
      detail_address:
        type: string
      disadvantages:
        type: string
      expected_time:
@@ -1280,6 +1295,8 @@
        type: integer
      regular_customers_id:
        type: integer
      remark:
        type: string
      sale_stage_id:
        type: integer
      sale_type_id:
@@ -1454,8 +1471,37 @@
    type: object
  request.AddSubOrder:
    properties:
      subOrder:
        $ref: '#/definitions/request.SubOrder'
      clientId:
        type: integer
      masterOrderId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      product:
        items:
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  request.AddVetting:
    properties:
      opinion:
        type: string
      status:
        type: integer
      userId:
        type: integer
      vettingId:
        type: integer
      vettingType:
        type: integer
    required:
    - opinion
    - status
    - userId
    - vettingId
    - vettingType
    type: object
  request.CasbinInfo:
    properties:
@@ -1708,23 +1754,33 @@
    type: object
  request.Register:
    properties:
      authorityId:
        description: 用户角色ID
        type: integer
      departmentId:
        type: integer
      email:
        example: 电子邮箱
        type: string
      headerImg:
        example: 头像链接
        type: string
      id:
        type: string
      nickName:
        example: 昵称
        type: string
      passWord:
        example: 密码
      password:
        type: string
      phone:
        example: 电话号码
        type: string
      userName:
        example: 用户名
      pos:
        type: string
      rePassword:
        description: 确认密码
        type: string
      realName:
        type: string
      userType:
        $ref: '#/definitions/constvar.UserType'
      username:
        type: string
    type: object
  request.SalesDetails:
@@ -1844,21 +1900,6 @@
        description: 地区ID列表
        items:
          type: integer
        type: array
    type: object
  request.SubOrder:
    properties:
      clientId:
        type: integer
      masterOrderId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      product:
        items:
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  request.UpdateCities:
@@ -2376,6 +2417,8 @@
        type: integer
      currency:
        type: integer
      detail_address:
        type: string
      disadvantages:
        type: string
      expected_time:
@@ -2408,6 +2451,8 @@
        type: integer
      regular_customers_id:
        type: integer
      remark:
        type: string
      sale_stage_id:
        type: integer
      sale_type_id:
@@ -2772,6 +2817,11 @@
        items:
          $ref: '#/definitions/model.Country'
        type: array
      department:
        description: 部门
        items:
          $ref: '#/definitions/model.Department'
        type: array
      enterprise_nature:
        description: 企业性质
        items:
@@ -2786,6 +2836,11 @@
        description: 行业
        items:
          $ref: '#/definitions/model.Industry'
        type: array
      member:
        description: Member
        items:
          $ref: '#/definitions/model.User'
        type: array
      province:
        description: 省份数据
@@ -2973,6 +3028,13 @@
      list:
        items:
          $ref: '#/definitions/model.SalesRefund'
        type: array
    type: object
  response.SalesReturnResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.SalesReturn'
        type: array
    type: object
  response.SalesSourceResponse:
@@ -5459,7 +5521,12 @@
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.SalesReturnResponse'
              type: object
      summary: 获取销售退货列表
      tags:
      - SalesReturn
@@ -6070,4 +6137,23 @@
      summary: 设置用户信息
      tags:
      - User
  /api/vetting/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddVetting'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加审批
      tags:
      - Vetting
swagger: "2.0"