swagger: "2.0"
info:
  title: utimes API docs
  description: This is utimes API docs，iOS、Android、Server developers can test every
    API in this page.
  version: 1.0.0
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
basePath: /api/v1
paths:
  /access_log/access_log:
    get:
      tags:
      - access_log
      description: 访问日志
      operationId: BaseAccessLogController.访问日志
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: state
        description: 接口调用返回状态
        type: integer
        format: int64
      - in: query
        name: code
        description: 接口调用返回状态
        type: string
      - in: query
        name: request_param
        description: 请求参数
        type: string
      - in: query
        name: search
        description: 关键字
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: min
        description: 最小耗时
        type: number
        format: double
      - in: query
        name: max
        description: 最大耗时
        type: number
        format: double
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryAccessLogResp'
        "500":
          description: 服务器错误
  /access_log/access_log_count:
    get:
      tags:
      - access_log
      description: 访问日志统计
      operationId: BaseAccessLogController.访问日志统计
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryAccessLogCountResp'
        "500":
          description: 服务器错误
  /access_log/access_log_export:
    post:
      tags:
      - access_log
      description: 平台日志导出
      operationId: BaseAccessLogController.平台日志导出
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: export
        description: 导出任务信息
        required: true
        schema:
          $ref: '#/definitions/.LogExportInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryUserAccessCountExportResp'
        "500":
          description: 服务器错误
  /access_log/access_log_get_thirdpart_log:
    get:
      tags:
      - access_log
      description: 访问日志关联数据源日志
      operationId: BaseAccessLogController.访问日志关联数据源日志
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: access_id
        description: 访问日志id
        required: true
        type: integer
        format: int64
      - in: query
        name: create_time
        description: 时间
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryAccessLogThirdpartLogResp'
        "500":
          description: 服务器错误
  /access_log/access_log_interface_analyze:
    get:
      tags:
      - access_log
      description: 访问日志接口异常分析
      operationId: BaseAccessLogController.访问日志接口异常分析
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: status
        description: 0 全部 1 成功 2 失败
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryInterfaceAnalyzeResp'
        "500":
          description: 服务器错误
  /access_log/access_log_interface_count:
    get:
      tags:
      - access_log
      description: 访问日志接口统计详情
      operationId: BaseAccessLogController.访问日志接口统计详情
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryInterfaceCountResp'
        "500":
          description: 服务器错误
  /access_log/api_service_consume_info:
    get:
      tags:
      - access_log
      description: 获取消费概况
      operationId: BaseAccessLogController.bi consume info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: 0 今天，1 昨天 2 本周 3 本月
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetApiServiceConsumeInfoResp'
        "500":
          description: 服务器错误
  /access_log/api_service_data_info:
    get:
      tags:
      - access_log
      description: 获取数据概况
      operationId: BaseAccessLogController.bi data info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: api_id
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetApiServiceDataInfoResp'
        "500":
          description: 服务器错误
  /access_log/api_service_fail_info:
    get:
      tags:
      - access_log
      description: 获取异常概况
      operationId: BaseAccessLogController.bi fail info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: 0 今天，1 昨天 2 本周 3 本月
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetApiServiceConsumeInfoResp'
        "500":
          description: 服务器错误
  /access_log/api_service_income_info:
    get:
      tags:
      - access_log
      description: 获取营利概况
      operationId: BaseAccessLogController.bi income info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: 0 今天，1 昨天 2 本周 3 本月
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetApiServiceIncomeInfoResp'
        "500":
          description: 服务器错误
  /access_log/bi_api_distribution:
    get:
      tags:
      - access_log
      description: 获取api 错误码分布
      operationId: BaseAccessLogController.bi api distribution
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: api_id
        description: "true"
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetDistributionResp'
        "500":
          description: 服务器错误
  /access_log/bi_api_report:
    get:
      tags:
      - access_log
      description: 获取api 报表
      operationId: BaseAccessLogController.bi api report
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: api_id
        description: "false"
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetReportResp'
        "500":
          description: 服务器错误
  /access_log/bi_api_status:
    get:
      tags:
      - access_log
      description: 获取api 服务性能
      operationId: BaseAccessLogController.bi api status
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: api_id
        description: "true"
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: "false"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetServiceStatusResp'
        "500":
          description: 服务器错误
  /access_log/bi_api_trend:
    get:
      tags:
      - access_log
      description: 获取api 走势
      operationId: BaseAccessLogController.bi api trend
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: api_id
        description: "true"
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: "false"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetTrendResp'
        "500":
          description: 服务器错误
  /access_log/bi_dashboard:
    get:
      tags:
      - access_log
      description: 获取bi dashboard
      operationId: BaseAccessLogController.bi dashbord
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetDashResp'
        "500":
          description: 服务器错误
  /access_log/bi_pay_distribution:
    get:
      tags:
      - access_log
      description: 获取api 成本分布
      operationId: BaseAccessLogController.bi api pay distribution
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: api_id
        description: "true"
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetPayDistributionResp'
        "500":
          description: 服务器错误
  /access_log/bi_provider_distribution:
    get:
      tags:
      - access_log
      description: 获取数据源错误码分布
      operationId: BaseAccessLogController.bi provider distribution
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: "true"
        type: string
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderDistributionResp'
        "500":
          description: 服务器错误
  /access_log/bi_provider_report:
    get:
      tags:
      - access_log
      description: 获取数据源 报表
      operationId: BaseAccessLogController.bi provider report
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: "true"
        type: string
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderReportResp'
        "500":
          description: 服务器错误
  /access_log/bi_provider_status:
    get:
      tags:
      - access_log
      description: 获取 数据源api 服务性能
      operationId: BaseAccessLogController.bi provider status
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: "true"
        type: string
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: "false"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderServiceStatusResp'
        "500":
          description: 服务器错误
  /access_log/bi_provider_trend:
    get:
      tags:
      - access_log
      description: 获取数据源走势
      operationId: BaseAccessLogController.bi provider trend
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: "true"
        type: string
      - in: query
        name: start_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: "true"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: "false"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderTrendResp'
        "500":
          description: 服务器错误
  /access_log/export:
    delete:
      tags:
      - access_log
      description: 删除导出报表
      operationId: BaseAccessLogController.删除导出报表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: id
        description: 导出报告id
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogExportDeleteResp'
        "500":
          description: 服务器错误
  /access_log/exports:
    get:
      tags:
      - access_log
      description: 获取导出列表
      operationId: BaseAccessLogController.获取导出列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否返回所有
        type: boolean
      - in: query
        name: export_type
        description: api报表或数据源列表
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogExportListResp'
        "500":
          description: 服务器错误
  /access_log/provider_count_export:
    post:
      tags:
      - access_log
      description: 数据源日志用户统计报表导出
      operationId: BaseAccessLogController.数据源日志用户统计报表导出
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: export
        description: "true"
        schema:
          $ref: '#/definitions/.LogQueryProviderCountExportReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryProviderCountExportResp'
        "500":
          description: 服务器错误
  /access_log/provider_service_data_info:
    get:
      tags:
      - access_log
      description: 获取数据源数据概况
      operationId: BaseAccessLogController.bi provider data info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: "true"
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderServiceDataInfoResp'
        "500":
          description: 服务器错误
  /access_log/provider_service_fail_info:
    get:
      tags:
      - access_log
      description: 获取异常概况
      operationId: BaseAccessLogController.bi provider fail info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: 0 今天，1 昨天 2 本周 3 本月
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderServiceFailInfoResp'
        "500":
          description: 服务器错误
  /access_log/provider_service_pay_info:
    get:
      tags:
      - access_log
      description: 获取数据源成本概况
      operationId: BaseAccessLogController.bi provider pay info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: time_type
        description: 0 今天，1 昨天 2 本周 3 本月
        type: integer
        format: int64
      - in: query
        name: today_end_timestamp
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BiGetProviderServicePayInfoResp'
        "500":
          description: 服务器错误
  /access_log/third_party_analyze:
    get:
      tags:
      - access_log
      description: 访问日志接口数据源分析
      operationId: BaseAccessLogController.访问日志接口数据源分析
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryInterfaceAnalyzeResp'
        "500":
          description: 服务器错误
  /access_log/third_party_err_analyze:
    get:
      tags:
      - access_log
      description: 数据源异常分析
      operationId: BaseAccessLogController.数据源异常分析
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: status
        description: 0 全部 1 成功 2 异常
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ThirdPartyInterfaceErrorAnalyzeResp'
        "500":
          description: 服务器错误
  /access_log/thirdpart_access_count:
    get:
      tags:
      - access_log
      description: 数据源接口用量统计
      operationId: BaseAccessLogController.数据源接口用量统计
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 数据源api id
        type: integer
        format: int64
      - in: query
        name: time
        description: 时间
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryThirdpartAccessCountResp'
        "500":
          description: 服务器错误
  /access_log/thirdpart_access_interface_count:
    get:
      tags:
      - access_log
      description: 数据源接口统计报表
      operationId: BaseAccessLogController.数据源接口统计报表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 数据源api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryThirdpartInterfaceCountResp'
        "500":
          description: 服务器错误
  /access_log/thirdpart_access_log:
    get:
      tags:
      - access_log
      description: 数据源日志
      operationId: BaseAccessLogController.数据源日志
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: state
        description: 接口调用返回状态
        type: integer
        format: int64
      - in: query
        name: search
        description: 关键字
        type: string
      - in: query
        name: request_param
        description: 请求参数
        type: string
      - in: query
        name: provider_id
        description: 三方平台id
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 三方api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: min
        description: 最小耗时
        type: number
        format: double
      - in: query
        name: max
        description: 最大耗时
        type: number
        format: double
      - in: query
        name: raw_code
        description: 原始错误码
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryThirdpartAccessLogResp'
        "500":
          description: 服务器错误
  /access_log/thirdpart_accesslog_count:
    get:
      tags:
      - access_log
      description: 数据源查询统
      operationId: BaseAccessLogController.数据源查询统计
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_id
        description: 三方平台id
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 三方api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryThirdpartAccessLogCountResp'
        "500":
          description: 服务器错误
  /access_log/thirdpart_log_export:
    post:
      tags:
      - access_log
      description: 数据源日志导出
      operationId: BaseAccessLogController.数据源日志导出
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: export
        description: 导出任务信息
        required: true
        schema:
          $ref: '#/definitions/.ThirdpartLogExportInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryUserAccessCountExportResp'
        "500":
          description: 服务器错误
  /access_log/user_access_count:
    get:
      tags:
      - access_log
      description: 访问日志用户统计报表
      operationId: BaseAccessLogController.访问日志用户统计报表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: start_timestamp
        description: 开始时间
        type: integer
        format: int64
      - in: query
        name: end_timestamp
        description: 结束时间
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryUserAccessCountResp'
        "500":
          description: 服务器错误
  /access_log/user_access_count_export:
    post:
      tags:
      - access_log
      description: 访问日志用户统计报表导出
      operationId: BaseAccessLogController.访问日志用户统计报表导出
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: export
        description: 数据源
        required: true
        schema:
          $ref: '#/definitions/.LogQueryUserAccessCountExportReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogQueryUserAccessCountResp'
        "500":
          description: 服务器错误
  /accounting/bill_detail:
    put:
      tags:
      - accounting
      description: 更新账单详情（设置计费量）
      operationId: AccountingController.更新账单详情（设置计费量）
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.UpdateBillDetailReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.UpdateBillDetailResp'
        "500":
          description: 服务器错误
  /accounting/bill_detail_list:
    get:
      tags:
      - accounting
      description: 商户价格()列表
      operationId: AccountingController.账单详情列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: bill_id
        description: 账单id
        required: true
        type: integer
        format: int64
      - in: query
        name: month
        description: 月份（2022-02）
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BillDetailListResp'
        "500":
          description: 服务器错误
  /accounting/bill_export_excel:
    get:
      tags:
      - accounting
      description: 账单导出Excel
      operationId: AccountingController.账单导出Excel
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: bill_id
        description: 账单id
        required: true
        type: integer
        format: int64
      - in: query
        name: month
        description: 月份（2022-02）
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BillExportExcelResp'
        "500":
          description: 服务器错误
  /accounting/bill_list:
    get:
      tags:
      - accounting
      description: 获取账单列表
      operationId: AccountingController.获取账单列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: start_time
        description: 开始时间
        type: string
      - in: query
        name: end_time
        description: 结束时间
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BillListResp'
        "500":
          description: 服务器错误
  /accounting/bill_remark:
    put:
      tags:
      - accounting
      description: 添加账单备注
      operationId: AccountingController.添加账单备注
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.BillRemarkReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BillRemarkResp'
        "500":
          description: 服务器错误
  /accounting/charge_list:
    get:
      tags:
      - accounting
      description: 获取充值列表
      operationId: AccountingController.获取充值列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: start_time
        description: 开始时间
        type: string
      - in: query
        name: end_time
        description: 结束时间
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ChargeListResp'
        "500":
          description: 服务器错误
  /accounting/consume_list:
    get:
      tags:
      - accounting
      description: 获取消费列表
      operationId: AccountingController.获取消费列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: data_api_id
        description: 数据api id
        type: integer
        format: int64
      - in: query
        name: start_time
        description: 开始时间
        type: string
      - in: query
        name: end_time
        description: 结束时间
        type: string
      - in: query
        name: consume_order
        description: 消费排序
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ConsumeListResp'
        "500":
          description: 服务器错误
  /accounting/consume_trend_list:
    get:
      tags:
      - accounting
      description: 消费趋势
      operationId: AccountingController.消费趋势
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: data_api_id
        description: 数据api id
        type: integer
        format: int64
      - in: query
        name: start_time
        description: 开始时间
        type: string
      - in: query
        name: end_time
        description: 结束时间
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ConsumeTrendListResp'
        "500":
          description: 服务器错误
  /accounting/generate_bill:
    get:
      tags:
      - accounting
      description: 生成账单
      operationId: AccountingController.生成账单
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: month
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.BillListResp'
        "500":
          description: 服务器错误
  /accounting/merchant_charge:
    post:
      tags:
      - accounting
      description: 商户充值
      operationId: AccountingController.商户充值
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.MerchantChargeReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.MerchantChargeResp'
        "500":
          description: 服务器错误
  /accounting/merchant_data_api_price:
    put:
      tags:
      - accounting
      description: 设置商户数据api单价
      operationId: AccountingController.设置商户数据api单价
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.SetMerchantDataApiPriceReqReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.SetMerchantDataApiPriceReqResp'
        "500":
          description: 服务器错误
  /accounting/merchant_data_api_price_list:
    get:
      tags:
      - accounting
      description: 商户数据api价格列表
      operationId: AccountingController.商户数据api价格列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.MerchantDataApiPriceListResp'
        "500":
          description: 服务器错误
  /accounting/merchant_price_list:
    get:
      tags:
      - accounting
      description: 商户价格()列表
      operationId: AccountingController.商户价格列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: merchant_type_list
        description: 商户类型列表
        type: string
      - in: query
        name: arrearage_order
        description: 可欠费金额排序
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.MerchantPriceListResp'
        "500":
          description: 服务器错误
  /accounting/merchant_type:
    put:
      tags:
      - accounting
      description: 设置商户类型
      operationId: AccountingController.设置商户类型
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.SetMerchantTypeReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.SetMerchantTypeResp'
        "500":
          description: 服务器错误
  /action_log/:
    get:
      tags:
      - action_log
      description: 添加基础api
      operationId: ActionLogController.add base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: search
        description: 搜索
        type: string
      - in: query
        name: page_num
        description: 页码
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 每页条数
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.GetActionLogResp'
        "500":
          description: 服务器错误
  /admin/access:
    get:
      tags:
      - admin
      description: 获取用户权限
      operationId: BaseAdminController.获取用户权限
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.GetAccessResp'
        "500":
          description: 服务器错误
  /admin/admin:
    put:
      tags:
      - admin
      description: 管理用户信息修改
      operationId: BaseAdminController.管理用户信息修改
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.AdminModifyBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AdminModifyResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - admin
      description: 管理用户添加
      operationId: BaseAdminController.管理用户添加
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.AddAdminBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AdminRegisterResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - admin
      description: 管理用户删除
      operationId: BaseAdminController.管理用户删除
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: admin_id
        description: 要删除的admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AdminDeleteResp'
        "500":
          description: 服务器错误
  /admin/info:
    get:
      tags:
      - admin
      description: 管理用户状态
      operationId: BaseAdminController.管理用户状态
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.GetInfoResp'
        "500":
          description: 服务器错误
  /admin/list:
    get:
      tags:
      - admin
      description: 管理用户列表
      operationId: BaseAdminController.管理用户列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: string
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: search
        description: 搜索
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AdminGetAllResp'
        "500":
          description: 服务器错误
  /admin/login:
    put:
      tags:
      - admin
      description: 管理用户登录
      operationId: BaseAdminController.管理用户登录
      parameters:
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.AdminLoginBody'
      responses:
        "200":
          description: '{string} json "{}" "响应信息"'
        "500":
          description: 服务器错误
  /admin/node_list:
    get:
      tags:
      - admin
      description: 获取所有的节点列表
      operationId: BaseAdminController.获取所有的节点列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.GetNodeListResp'
        "500":
          description: 服务器错误
  /admin/rbac_group:
    put:
      tags:
      - admin
      description: 更新权限分组
      operationId: BaseAdminController.更新权限分组
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: body
        required: true
        schema:
          $ref: '#/definitions/.UpdateRbacGroup'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.UpdateRbacGroupResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - admin
      description: 添加权限分组
      operationId: BaseAdminController.添加权限分组
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: body
        required: true
        schema:
          $ref: '#/definitions/.UpdateRbacGroup'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AddRbacGroupResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - admin
      description: 删除权限分组
      operationId: BaseAdminController.删除权限分组
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: id
        description: id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.DeleteRbacGroupResp'
        "500":
          description: 服务器错误
  /admin/rbac_group_list:
    get:
      tags:
      - admin
      description: 获取权限分组信息
      operationId: BaseAdminController.获取权限分组信息
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.GetRbacGroupListResp'
        "500":
          description: 服务器错误
  /admin/status:
    put:
      tags:
      - admin
      description: 修改管理用户状态
      operationId: BaseAdminController.修改管理用户状态
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.UpdateStatusBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.UpdateStatusResp'
        "500":
          description: 服务器错误
  /admin/token_verify:
    get:
      tags:
      - admin
      description: token验证
      operationId: BaseAdminController.token check
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AdminTokenVerifyResp'
        "500":
          description: 服务器错误
  /auth/oss:
    get:
      tags:
      - auth
      description: oss sts 授权
      operationId: AuthController.oss sts 授权
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.AuthGetOSSInfoResp'
        "500":
          description: 服务器错误
  /base_api/base_api:
    post:
      tags:
      - base_api
      description: 添加基础api
      operationId: BaseApiController.add base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: body
        name: base_api_info
        description: api信息
        required: true
        schema:
          $ref: '#/definitions/.ManagementBaseApiInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddBaseApiResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - base_api
      description: 删除基础api
      operationId: BaseApiController.del base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: api_id
        description: api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelBaseApiResp'
        "500":
          description: 服务器错误
  /base_api/base_api/{api_id}:
    put:
      tags:
      - base_api
      description: 修改基础api
      operationId: BaseApiController.update base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: path
        name: api_id
        description: api id
        required: true
        type: integer
        format: int64
      - in: body
        name: base_api_info
        description: api信息
        required: true
        schema:
          $ref: '#/definitions/.ManagementBaseApiInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateBaseApiResp'
        "500":
          description: 服务器错误
  /base_api/base_api_info:
    get:
      tags:
      - base_api
      description: 获取api信息
      operationId: BaseApiController.get base api info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: api_id
        description: api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetBaseApiInfoResp'
        "500":
          description: 服务器错误
  /base_api/base_api_list:
    get:
      tags:
      - base_api
      description: 获取api列表
      operationId: BaseApiController.get base api list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: api_type
        description: api类型
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否全部返回
        type: boolean
      - in: query
        name: search
        description: 搜索字符串
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetBaseApiListResp'
        "500":
          description: 服务器错误
  /base_api/base_api_provider:
    post:
      tags:
      - base_api
      description: 添加基础api数据源接口
      operationId: BaseApiController.add base api provider
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理用户id
        required: true
        type: string
      - in: body
        name: providers
        description: 数据源
        required: true
        schema:
          $ref: '#/definitions/.ManagementAddBaseApiProviderReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddBaseApiProviderResp'
        "500":
          description: 服务器错误
  /base_api/base_api_provider_list:
    get:
      tags:
      - base_api
      description: 获取基础api数据源接口列表
      operationId: BaseApiController.get base api provider list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理用户id
        required: true
        type: string
      - in: query
        name: api_id
        description: "true"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetBaseApiProviderListResp'
        "500":
          description: 服务器错误
  /base_api/base_api_show_info/{api_id}:
    put:
      tags:
      - base_api
      description: 报表是否展示该api
      operationId: BaseApiController.is show in report
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: path
        name: api_id
        description: api id
        required: true
        type: integer
        format: int64
      - in: body
        name: show_info
        description: api信息
        required: true
        schema:
          $ref: '#/definitions/.ManagementBaseApiShowInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetBaseApiShowInfoResp'
        "500":
          description: 服务器错误
  /base_api/base_api_state/{api_id}:
    put:
      tags:
      - base_api
      description: 停启用api
      operationId: BaseApiController.set base api state
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: path
        name: api_id
        description: api id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.ManagementSetBaseApiStateBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetBaseApiStateResp'
        "500":
          description: 服务器错误
  /base_api/base_api_threshold/{api_id}:
    put:
      tags:
      - base_api
      description: 设置api告警阀值
      operationId: BaseApiController.set base api waring threshold
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: path
        name: api_id
        description: "true"
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/param_v1_0.ManagementSetBaseApiThresholdBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetBaseApiThresholdResp'
        "500":
          description: 服务器错误
  /base_api/param_type_list:
    get:
      tags:
      - base_api
      description: 获取参数类型列表
      operationId: BaseApiController.get param type list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetBaseApiParamTypeListResp'
        "500":
          description: 服务器错误
  /base_api/try:
    post:
      tags:
      - base_api
      description: 测试api调用
      operationId: BaseApiController.try api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: body
        name: api_info
        description: api信息
        required: true
        schema:
          $ref: '#/definitions/.ManagementTryBaseApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementTryBaseApiResp'
        "500":
          description: 服务器错误
  /base_api/try_api_excel_template:
    get:
      tags:
      - base_api
      description: 跑批数据 excel 模板
      operationId: BaseApiController.excel template
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementTryApiExcelResp'
        "500":
          description: 服务器错误
  /base_api/try_api_task:
    put:
      tags:
      - base_api
      description: 测试api调用
      operationId: BaseApiController.create api task
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: body
        name: data
        description: "true"
        schema:
          $ref: '#/definitions/.ManagementChangeApiTaskBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementTryBaseApiResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - base_api
      description: 测试api调用
      operationId: BaseApiController.create api task
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: api_name
        description: "true"
        type: string
      - in: query
        name: router
        description: "true"
        type: string
      - in: query
        name: method
        description: "true"
        type: string
      - in: query
        name: app_key
        description: "true"
        type: string
      - in: query
        name: app_secret
        description: "true"
        type: string
      - in: query
        name: is_crypto
        description: "true"
        type: boolean
      - in: query
        name: merchant_account
        description: "true"
        type: boolean
      - in: query
        name: multi_number
        description: "false"
        type: integer
        format: int64
      - in: query
        name: task_name
        description: "false"
        type: string
      - in: query
        name: chinese_header
        description: "false"
        type: boolean
      - in: query
        name: encrypto_type
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementTryBaseApiResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - base_api
      description: 删除api跑批任务
      operationId: BaseApiController.del api task
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: task_id
        description: "true"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDeleteTryApiTaskResp'
        "500":
          description: 服务器错误
  /base_api/try_api_task_list:
    get:
      tags:
      - base_api
      description: api跑批任务列表
      operationId: BaseApiController.get api task list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: is_all
        description: "true"
        type: boolean
      - in: query
        name: page_number
        description: "true"
        type: integer
        format: int64
      - in: query
        name: page_size
        description: "false"
        type: integer
        format: int64
      - in: query
        name: api_name
        description: "false"
        type: string
      - in: query
        name: type
        description: 类型：1、平台接口，2、数据源
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetTryApiTaskListResp'
        "500":
          description: 服务器错误
  /crontab/report:
    get:
      tags:
      - crontab
      description: 手动生成日报
      operationId: CrontabController.手动生成日报
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: api_id
        description: 基础api id
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 数据源api id
        type: integer
        format: int64
      - in: query
        name: dates
        description: 导出日期以分号分隔，默认为前一天
        type: string
      - in: query
        name: api_report
        description: 是否统计商户日报
        type: boolean
      - in: query
        name: provider_report
        description: 是否统计数据源日报
        type: boolean
      - in: query
        name: business_report
        description: 是否统计商务日报
        type: boolean
      - in: query
        name: is_insert
        description: 统计的数据是否插入日报表中
        type: boolean
      - in: query
        name: only_mail
        description: 是否仅发送邮件，不统计
        type: boolean
      - in: query
        name: only_report
        description: 是否仅统计， 不发送邮件
        type: boolean
      - in: query
        name: file_name
        description: 指定文件名
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.LogGenerateReportResp'
        "500":
          description: 服务器错误
  /data_api/base_api:
    get:
      tags:
      - data_api
      description: 数据api获取基础api
      operationId: BaseDataApiController.数据api获取基础api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: data_api_base_api_id
        description: 数据api中基础api id
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiGetBaseApiResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - data_api
      description: 数据api修改基础api信息
      operationId: BaseDataApiController.数据api修改基础api信息
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiModifyBaseApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiModifyBaseApiResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - data_api
      description: 数据api添加基础api
      operationId: BaseDataApiController.数据api添加基础api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiAddBaseApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiAddBaseApiResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - data_api
      description: 数据api删除基础api
      operationId: BaseDataApiController.数据api删除基础api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: data_api_base_api_id
        description: 数据api中基础api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiRemoveBaseApiResp'
        "500":
          description: 服务器错误
  /data_api/combo_list:
    get:
      tags:
      - data_api
      description: 数据api套餐列表
      operationId: BaseDataApiController.数据api套餐列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: query_type_id
        description: 数据api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiComboListResp'
        "500":
          description: 服务器错误
  /data_api/data_api:
    get:
      tags:
      - data_api
      description: 获取数据api列表
      operationId: BaseDataApiController.获取数据api列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否获取全部数据
        type: boolean
      - in: query
        name: search
        description: 搜索字符串
        type: string
      - in: query
        name: data_api_type
        description: "false"
        type: string
      - in: query
        name: merchant_id
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiGetAllResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - data_api
      description: 修改数据api
      operationId: BaseDataApiController.修改数据api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiModifyApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiModifyApiResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - data_api
      description: 添加数据api
      operationId: BaseDataApiController.添加数据api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiAddApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiAddApiResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - data_api
      description: 删除数据api
      operationId: BaseDataApiController.删除数据api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: data_api_id
        description: 数据api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiDeleteApiResp'
        "500":
          description: 服务器错误
  /data_api/data_api_info:
    get:
      tags:
      - data_api
      description: 获取数据api详情
      operationId: BaseDataApiController.获取数据api详情
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: data_api_id
        description: 数据api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiGetApiInfoResp'
        "500":
          description: 服务器错误
  /data_api/data_api_release/{data_api_id}:
    put:
      tags:
      - data_api
      description: 发布数据api
      operationId: BaseDataApiController.发布数据api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: path
        name: data_api_id
        description: 数据api id
        required: true
        type: integer
        format: int64
      - in: body
        name: data
        description: "true"
        schema:
          $ref: '#/definitions/.DataApiReleaseBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiReleaseApiResp'
        "500":
          description: 服务器错误
  /data_api/data_combo:
    post:
      tags:
      - data_api
      description: 数据api添加数据套餐
      operationId: BaseDataApiController.数据api添加数据套餐
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiAddDataComboReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiAddDataComboResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - data_api
      description: 数据api删除数据套餐
      operationId: BaseDataApiController.数据api删除数据套餐
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: combo_id
        description: 数据api套餐id
        required: true
        type: integer
        format: int64
      - in: query
        name: query_type_id
        description: 数据apiid
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiRemoveDataComboResp'
        "500":
          description: 服务器错误
  /data_api/param_filter_rules:
    get:
      tags:
      - data_api
      description: 获取参数过滤规则列表
      operationId: BaseDataApiController.get filter rules
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetFilterRuleResp'
        "500":
          description: 服务器错误
  /data_api/query_type:
    get:
      tags:
      - data_api
      description: 获取数据api查询方式信息
      operationId: BaseDataApiController.获取数据api查询方式信息
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: query_type_id
        description: 数据api查询方式id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiGetQueryTypeResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - data_api
      description: 修改数据api查询方式
      operationId: BaseDataApiController.修改数据api查询方式
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiModifyQueryTypeReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiModifyQueryTypeResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - data_api
      description: 填加数据api查询方式
      operationId: BaseDataApiController.填加数据api查询方式
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiAddQueryTypeReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiAddQueryTypeResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - data_api
      description: 删除数据api查询方式
      operationId: BaseDataApiController.删除数据api查询方式
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: query_type_id
        description: 数据api查询方式id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiRemoveQueryTypeResp'
        "500":
          description: 服务器错误
  /data_api/query_type_list:
    get:
      tags:
      - data_api
      description: 数据api获取插叙方式列表
      operationId: BaseDataApiController.数据api获取查询方式列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: data_api_id
        description: 数据api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiGetQueryTypeListResp'
        "500":
          description: 服务器错误
  /data_api/set_free_combo:
    put:
      tags:
      - data_api
      description: 数据api设置查询方式是否免费
      operationId: BaseDataApiController.数据api设置查询方式是否免费
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementDataApiSetFreeDataComboReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDataApiSetFreeDataComboResp'
        "500":
          description: 服务器错误
  /data_editor/data:
    put:
      tags:
      - data_editor
      description: 数据补充获取标题
      operationId: DataSupplementController.数据补充获取标题
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementGetDataSupplementReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetDataSupplementResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - data_editor
      description: 数据补充获取标题
      operationId: DataSupplementController.数据补充获取标题
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementUpdateDataSupplementReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateDataSupplementResp'
        "500":
          description: 服务器错误
  /data_editor/db:
    get:
      tags:
      - data_editor
      description: 获取补充数据库
      operationId: DataSupplementController.获取补充数据库
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetSupplementDbResp'
        "500":
          description: 服务器错误
  /data_editor/title:
    get:
      tags:
      - data_editor
      description: 数据补充获取标题
      operationId: DataSupplementController.数据补充获取标题
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: db_code
        description: 数据类型
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetSuplementTitleResp'
        "500":
          description: 服务器错误
  /error_code/error_code:
    put:
      tags:
      - error_code
      description: 修改错误码
      operationId: ErrorController.update error code
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: id
        description: 错误码id
        required: true
        type: integer
        format: int64
      - in: query
        name: code
        description: 错误码
        required: true
        type: string
      - in: query
        name: msg
        description: 错误消息
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateErrorResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - error_code
      description: 添加错误码
      operationId: ErrorController.add error code
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: code
        description: 错误码
        required: true
        type: string
      - in: query
        name: msg
        description: 错误消息
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddErrorResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - error_code
      description: 删除错误码
      operationId: ErrorController.del error code
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: id
        description: 错误码id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelErrorResp'
        "500":
          description: 服务器错误
  /error_code/error_code_list:
    get:
      tags:
      - error_code
      description: 获取错误码列表
      operationId: ErrorController.get error code list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: page_number
        description: 当前页
        required: true
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否全量返回
        type: boolean
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetErrorListResp'
        "500":
          description: 服务器错误
  /h5/h5_api:
    put:
      tags:
      - h5
      description: 更新h5 api
      operationId: H5ApiController.update h5 api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_api_id
        description: h5_api_id
        required: true
        type: integer
        format: int64
      - in: query
        name: h5_api_name
        description: h5_api_name
        required: true
        type: string
      - in: query
        name: h5_api_router
        description: h5_api_router
        required: true
        type: string
      - in: query
        name: h5_api_host
        description: h5_api_host
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateH5ApiResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - h5
      description: 添加 h5 api
      operationId: H5ApiController.add h5 api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_api_name
        description: h5_api_name
        required: true
        type: string
      - in: query
        name: h5_api_router
        description: h5_api_router
        required: true
        type: string
      - in: query
        name: h5_api_host
        description: h5_api_host
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddH5ApiResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - h5
      description: 删除h5 api
      operationId: H5ApiController.del h5 api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_api_id
        description: h5_api_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelH5ApiResp'
        "500":
          description: 服务器错误
  /h5/h5_api_base_api:
    post:
      tags:
      - h5
      description: h5 api 添加基础api
      operationId: H5ApiController.h5 api add base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: body
        name: data
        description: data
        required: true
        schema:
          $ref: '#/definitions/.H5ApiAddBaseApiData'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ApiAddBaseApiResp'
        "500":
          description: 服务器错误
  /h5/h5_api_base_api_list:
    get:
      tags:
      - h5
      description: h5 api 获取基础api 列表
      operationId: H5ApiController.h5 api get base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_api_id
        description: h5 api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ApiGetBaseApiListResp'
        "500":
          description: 服务器错误
  /h5/h5_api_list:
    get:
      tags:
      - h5
      description: 获取h5 api列表
      operationId: H5ApiController.get h5 api list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: is_all
        description: is_all
        required: true
        type: boolean
      - in: query
        name: page_number
        description: page_number
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetH5ApiListResp'
        "500":
          description: 服务器错误
  /h5/h5_api_state:
    put:
      tags:
      - h5
      description: 禁用启用h5 api
      operationId: H5ApiController.set h5 api state
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_api_id
        description: h5_api_id
        required: true
        type: integer
        format: int64
      - in: query
        name: is_enable
        description: is_enable
        required: true
        type: boolean
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetH5ApiStateResp'
        "500":
          description: 服务器错误
  /h5/h5_service:
    put:
      tags:
      - h5
      description: 更新 h5 服务
      operationId: H5ServiceController.update h5 service
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_service_id
        description: h5_service_id
        required: true
        type: integer
        format: int64
      - in: query
        name: service_name
        description: service_name
        required: true
        type: string
      - in: query
        name: version
        description: 版本
        type: string
      - in: query
        name: type
        description: 类别
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateH5ServiceResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - h5
      description: 添加 h5 服务
      operationId: H5ServiceController.add h5 service
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: service_name
        description: 服务名称
        required: true
        type: string
      - in: query
        name: version
        description: 版本
        required: true
        type: string
      - in: query
        name: type
        description: 类别
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddH5ServiceResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - h5
      description: 删除 h5 服务
      operationId: H5ServiceController.del h5 service
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_service_id
        description: h5_service_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelH5ServiceResp'
        "500":
          description: 服务器错误
  /h5/h5_service_combo:
    put:
      tags:
      - h5
      description: h5 服务更新套餐
      operationId: H5ServiceController.h5 service update combo
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_combo_id
        description: h5_combo_id
        required: true
        type: integer
        format: int64
      - in: query
        name: h5_combo_count
        description: h5_combo_count query
        required: true
        type: integer
        format: int64
      - in: query
        name: h5_combo_total_day
        description: h5_combo_total_day
        required: true
        type: integer
        format: int64
      - in: query
        name: h5_combo_price
        description: h5_combo_price
        required: true
        type: number
        format: double
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceUpdateComboResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - h5
      description: h5 服务添加套餐
      operationId: H5ServiceController.h5 service add combo
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: body
        name: h5_combo_data
        description: h5_combo_data
        required: true
        schema:
          $ref: '#/definitions/.ManagementH5ServiceAddComboReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceAddComboResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - h5
      description: h5 服务删除套餐
      operationId: H5ServiceController.h5 service del combo
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_combo_id
        description: h5_combo_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceDelComboResp'
        "500":
          description: 服务器错误
  /h5/h5_service_combo_list:
    get:
      tags:
      - h5
      description: h5 服务获取套餐列表
      operationId: H5ServiceController.h5 service get combo list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_service_id
        description: h5_service_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceGetComboListResp'
        "500":
          description: 服务器错误
  /h5/h5_service_h5_api:
    post:
      tags:
      - h5
      description: h5 服务添加h5 api
      operationId: H5ServiceController.h5 service add h5 api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: body
        name: data
        description: data
        required: true
        schema:
          $ref: '#/definitions/.H5ServiceAddH5ApiData'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceAddH5ApiResp'
        "500":
          description: 服务器错误
  /h5/h5_service_h5_api_list:
    get:
      tags:
      - h5
      description: 获取h5 服务中的h5 api 列表
      operationId: H5ServiceController.h5 service get h5 api list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_service_id
        description: h5_service_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceGetH5ApiListResp'
        "500":
          description: 服务器错误
  /h5/h5_service_list:
    get:
      tags:
      - h5
      description: 获取 h5 服务列表
      operationId: H5ServiceController.get h5 service list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: page_number
        description: page_number
        required: true
        type: integer
        format: int64
      - in: query
        name: is_all
        description: is_all
        required: true
        type: boolean
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetH5ServiceListResp'
        "500":
          description: 服务器错误
  /h5/h5_service_release:
    put:
      tags:
      - h5
      description: 发布 h5 服务
      operationId: H5ServiceController.release h5 service
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_service_id
        description: h5_service_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementReleaseH5ServiceResp'
        "500":
          description: 服务器错误
  /h5/h5_service_set_combo_free:
    put:
      tags:
      - h5
      description: h5 服务设置免费套餐
      operationId: H5ServiceController.h5 service set free combo
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: h5_service_id
        description: h5_service_id
        required: true
        type: integer
        format: int64
      - in: query
        name: h5_service_is_free
        description: "true"
        type: boolean
      - in: query
        name: count
        description: count
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementH5ServiceSetComboFreeResp'
        "500":
          description: 服务器错误
  /h5/theme_color:
    get:
      tags:
      - h5
      description: h5 获取主题颜色列表
      operationId: H5ServiceController.h5 get theme color list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetH5ThemeColorListResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - h5
      description: h5 更新主题颜色
      operationId: H5ServiceController.h5 update theme color
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: theme_color_id
        description: theme_color_id
        required: true
        type: integer
        format: int64
      - in: query
        name: theme_color
        description: theme_color
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateH5ThemeColorResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - h5
      description: h5 添加主题颜色
      operationId: H5ServiceController.h5 add theme color
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: theme_color
        description: theme_color
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddH5ThemeColorResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - h5
      description: h5 删除主题颜色
      operationId: H5ServiceController.h5 del theme color
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: theme_color_id
        description: theme_color_id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelH5ThemeColorResp'
        "500":
          description: 服务器错误
  /merchant_api/alias:
    put:
      tags:
      - merchant_api
      description: 修改商户数据api别名
      operationId: MerchantApiController.修改商户数据api别名
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.UpdateMerchantDataApiAliasBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.UpdateManagementSetMerchantDataApiResp'
        "500":
          description: 服务器错误
  /merchant_api/data_api/{merchant_data_api_id}:
    delete:
      tags:
      - merchant_api
      description: 删除商户数据api
      operationId: MerchantApiController.del merchant data api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: path
        name: merchant_data_api_id
        description: 商户数据api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelMerchantDataApiResp'
        "500":
          description: 服务器错误
  /merchant_api/day_count_limit/{merchant_id}:
    put:
      tags:
      - merchant_api
      description: 设置总次数套餐每天调用上限
      operationId: MerchantApiController.set user merchant day count limit
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: path
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.ManagementSetDayCountLimitBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetDayCountLimitResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_api_file:
    get:
      tags:
      - merchant_api
      description: 商户添加基础api
      operationId: MerchantApiController.export merchant base api file
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_data_api_id
        description: "true"
        type: integer
        format: int64
      - in: query
        name: file_type
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementExportMerchantBaseApiFileResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_base_api:
    post:
      tags:
      - merchant_api
      description: 商户添加基础api
      operationId: MerchantApiController.add merchant base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: body
        name: data
        description: "true"
        schema:
          $ref: '#/definitions/.MerchantAddBaseApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddMerchantBaseApiResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_base_api/{merchant_id}:
    put:
      tags:
      - merchant_api
      description: 商户修改基础api
      operationId: MerchantApiController.update merchant base api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: path
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: body
        name: update_info
        description: 更新信息
        required: true
        schema:
          $ref: '#/definitions/.ManagementUpdateMerchantBaseApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateMerchantBaseApiResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_base_api_info:
    get:
      tags:
      - merchant_api
      description: 获取商户基础api信息
      operationId: MerchantApiController.get merchant base api info
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_child_api_id
        description: 商户基础api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantBaseApiInfoResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_base_api_list:
    get:
      tags:
      - merchant_api
      description: 获取商户基础api列表
      operationId: MerchantApiController.get merchant base api list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_data_api_id
        description: 商户id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantBaseApiListResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_base_api_list_all:
    get:
      tags:
      - merchant_api
      description: 获取商户所有基础api列表
      operationId: MerchantApiController.get merchant base api list all
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: only_base_api
        description: 是否只返基础api
        type: boolean
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantBaseApiListAllResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_data_api:
    post:
      tags:
      - merchant_api
      description: 后台管理对商户添加数据api
      operationId: MerchantApiController.add merchant data api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.ManagementAddMerchantDataApiBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddMerchantDataApiResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_data_api_list:
    get:
      tags:
      - merchant_api
      description: 获取商户用户数据api列表
      operationId: MerchantApiController.get merchant data api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        required: true
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否返回merchant_data_api_quota所有数据
        required: true
        type: boolean
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantDataApiListResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_data_api_list_by_day:
    get:
      tags:
      - merchant_api
      description: 获取商户用户数据api列表
      operationId: MerchantApiController.get merchant data api
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否返回所有数据
        required: true
        type: boolean
      - in: query
        name: data_api_name
        description: "false"
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantDataApiListByDayResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_data_api_list_by_total:
    get:
      tags:
      - merchant_api
      description: 获取商户用户数据api总天数列表
      operationId: MerchantApiController.get merchant data api by total
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否返回所有数据
        required: true
        type: boolean
      - in: query
        name: data_api_name
        description: "false"
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantDataApiListByTotalResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_data_api_quota:
    get:
      tags:
      - merchant_api
      description: 获取商户数据api配额
      operationId: MerchantApiController.get merchant data api quota
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_data_api_id
        description: 商户id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantDataApiQuotaResp'
        "500":
          description: 服务器错误
  /merchant_api/merchant_data_api_quota/{merchant_id}:
    put:
      tags:
      - merchant_api
      description: 修改商户数据api配额
      operationId: MerchantApiController.set merchant data api quota
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: path
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.ManagementSetMerchantDataApiQuotaBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetMerchantDataApiQuotaResp'
        "500":
          description: 服务器错误
  /merchant_api/quota/{merchant_id}:
    put:
      tags:
      - merchant_api
      description: 修改商户数据api配额-新接口
      operationId: MerchantApiController.修改商户数据api配额-新接口
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: path
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.UpdateManagementSetMerchantDataApiBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.UpdateManagementSetMerchantDataApiResp'
        "500":
          description: 服务器错误
  /merchant_h5/merchant_h5_service:
    post:
      tags:
      - merchant_h5
      description: 商户添加h5 服务
      operationId: MerchantH5Controller.merchant add h5 service
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: combo_id
        description: 套餐id
        required: true
        type: integer
        format: int64
      - in: query
        name: theme_color
        description: 主题颜色
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddMerchantH5ServiceResp'
        "500":
          description: 服务器错误
  /merchant_h5/merchant_h5_service_combo:
    get:
      tags:
      - merchant_h5
      description: 商户获取h5 套餐信息
      operationId: MerchantH5Controller.merchant get h5 combo
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_h5_service_id
        description: 商户h5服务id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantH5ComboResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - merchant_h5
      description: 商户设置h5 套餐信息
      operationId: MerchantH5Controller.merchant set h5 combo
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_h5_service_id
        description: 商户h5服务id
        required: true
        type: integer
        format: int64
      - in: query
        name: day_count
        description: 单天次数
        required: true
        type: integer
        format: int64
      - in: query
        name: count
        description: 总调用次数
        required: true
        type: integer
        format: int64
      - in: query
        name: day_number
        description: 有效天数
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetMerchantH5ComboResp'
        "500":
          description: 服务器错误
  /merchant_h5/merchant_h5_service_list:
    get:
      tags:
      - merchant_h5
      description: 商户获取h5 服务列表
      operationId: MerchantH5Controller.merchant get h5 service list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        required: true
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否返回所有
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetMerchantH5ServiceResp'
        "500":
          description: 服务器错误
  /merchant_order/merchant_order:
    post:
      tags:
      - merchant_order
      description: 添加订单
      operationId: MerchantOrderController.add data api order
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: combo_id
        description: 套餐id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddOrderResp'
        "500":
          description: 服务器错误
  /merchant_order/merchant_order_list:
    get:
      tags:
      - merchant_order
      description: 获取商户订单列表
      operationId: MerchantOrderController.get merchant order list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 当前页
        required: true
        type: integer
        format: int64
      - in: query
        name: data_api_name
        description: 数据api名
        type: string
      - in: query
        name: status_code
        description: 状态码
        type: integer
        format: int64
      - in: query
        name: start_time
        description: 开始时间格式（2022-08-04 10:40:00）
        type: string
      - in: query
        name: end_time
        description: 结束时间格式（2022-08-04 10:40:00）
        type: string
      responses:
        "200":
          description: '{obj} params.param_v1_0.ManagementGetMerchantOrderListResp
            "响应信息"'
        "500":
          description: 服务器错误
  /merchant_order/merchant_order_pay:
    post:
      tags:
      - merchant_order
      description: 支付订单(未实际支付，仅添加数据库记录)
      operationId: MerchantOrderController.pay order
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: order_no
        description: 订单号
        required: true
        type: string
      - in: query
        name: is_pass
        description: 是否通过 1 通过 2 不通过
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementPayOrderResp'
        "500":
          description: 服务器错误
  /merchant_order/merchant_order_price:
    put:
      tags:
      - merchant_order
      description: 修改订单价格
      operationId: MerchantOrderController.set merchant order list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: order_no
        description: 订单号
        required: true
        type: string
      - in: query
        name: price
        description: 订单价格
        required: true
        type: number
        format: double
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetMerchantOrderPriceResp'
        "500":
          description: 服务器错误
  /provider/provider_all_platform_api:
    get:
      tags:
      - provider
      description: 获取所有三方平台API
      operationId: BaseProviderController.获取所有三方平台API
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_id
        description: provider id
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetAllProviderApiResp'
        "500":
          description: 服务器错误
  /provider/provider_api_hystrix:
    get:
      tags:
      - provider
      description: 数据源熔断信息
      operationId: BaseProviderController.get provider api hystrix
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_code
        description: 平台code
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.GetProviderApiHystrixResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - provider
      description: 数据源熔断信息
      operationId: BaseProviderController.get provider api hystrix
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.UpdateProviderApiHystrixBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.UpdateProviderApiHystrixResp'
        "500":
          description: 服务器错误
  /provider/provider_merchant_api:
    get:
      tags:
      - provider
      description: 数据源关联的商户api列表
      operationId: BaseProviderController.get provider merchant api list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 平台id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetProviderMerchantApiListResp'
        "500":
          description: 服务器错误
  /provider/provider_platform:
    get:
      tags:
      - provider
      description: 三方平台列表获取
      operationId: BaseProviderController.三方平台列表获取
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页数
        type: integer
        format: int64
      - in: query
        name: search
        description: 搜索字符串
        type: string
      - in: query
        name: is_all
        description: 是否全量返回
        type: boolean
      - in: query
        name: provider_api_id
        description: "false"
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetProviderPlatformListResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - provider
      description: 三方平台修改
      operationId: BaseProviderController.三方平台修改
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementUpdateProviderPlatformReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateProviderPlatformResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - provider
      description: 三方平台添加
      operationId: BaseProviderController.三方平台添加
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementAddProviderPlatformReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddProviderPlatformResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - provider
      description: 三方平台删除
      operationId: BaseProviderController.三方平台删除
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_id
        description: 三方平台id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelProviderPlatformResp'
        "500":
          description: 服务器错误
  /provider/provider_platform_api:
    get:
      tags:
      - provider
      description: 三方平台API列表
      operationId: BaseProviderController.三方平台API列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: is_all
        description: "false"
        type: boolean
      - in: query
        name: page_number
        description: 页数
        type: integer
        format: int64
      - in: query
        name: provider_id
        description: 平台id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetProviderApiListResp'
        "500":
          description: 服务器错误
    put:
      tags:
      - provider
      description: 三方平台API更新
      operationId: BaseProviderController.三方平台API更新
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementUpdateProviderApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateProviderApiResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - provider
      description: 三方平台api添加
      operationId: BaseProviderController.三方平台api添加
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: body
        name: body
        description: 参数
        required: true
        schema:
          $ref: '#/definitions/.ManagementAddProviderApiReq'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddProviderApiResp'
        "500":
          description: 服务器错误
    delete:
      tags:
      - provider
      description: 三方平台API删除
      operationId: BaseProviderController.三方平台API删除
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: provider_api_id
        description: 三方api id
        required: true
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementDelProviderApiResp'
        "500":
          description: 服务器错误
  /provider/provider_threshold/{provider_api_id}:
    put:
      tags:
      - provider
      description: 设置数据源告警阀值
      operationId: BaseProviderController.set base api waring threshold
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: path
        name: provider_api_id
        description: "true"
        type: integer
        format: int64
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/param_v1_0.ManagementSetProviderThresholdBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetProviderThresholdResp'
        "500":
          description: 服务器错误
  /provider/try:
    post:
      tags:
      - provider
      description: 数据源调用
      operationId: BaseProviderController.数据源调用
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: formData
        name: api_name
        description: 接口名称
        required: true
        type: string
      - in: formData
        name: provider_api_id
        description: 接口id
        required: true
        type: integer
        format: int64
      - in: formData
        name: thirdparty_host
        description: 请求地址
        required: true
        type: string
      - in: formData
        name: thirdparty_router
        description: 请求路由
        required: true
        type: string
      - in: formData
        name: platform_code
        description: 平台码
        required: true
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementTryProviderApiResp'
        "500":
          description: 服务器错误
  /provider/try_api_task:
    get:
      tags:
      - provider
      description: 获取数据查询任务信息列表
      operationId: BaseProviderController.获取数据查询任务信息列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: admin id
        required: true
        type: integer
        format: int64
      - in: query
        name: type
        description: 类型
        required: true
        type: integer
        format: int64
      - in: query
        name: page_size
        description: 页大小
        type: integer
        format: int64
      - in: query
        name: page_number
        description: 页号
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.TryApiTaskListResp'
        "500":
          description: 服务器错误
  /service_order/service_order_list:
    get:
      tags:
      - service_order
      description: 获取服务订单
      operationId: ServiceOrderController.get service order list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: uid
        required: true
        type: string
      - in: query
        name: page_number
        description: "false"
        type: string
      - in: query
        name: order_status
        description: 0 获取所有状态订单 1 待支付，2 进行中 3已完成 4 已取消
        type: integer
        format: int64
      - in: query
        name: order_type
        description: 0 所有服务类型 311上线年审，312 免检年审，314免检年审在线办理， 315 上线年审自行预约
        type: integer
        format: int64
      - in: query
        name: start_time
        description: uid
        type: string
      - in: query
        name: end_time
        description: uid
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ServiceManagementOrderListResp'
        "500":
          description: 服务器错误
  /user_merchant/user_merchant:
    put:
      tags:
      - user_merchant
      description: 修改用户商户
      operationId: UserMerchantController.update user merchant
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        required: true
        type: string
      - in: body
        name: user_merchant
        description: 用户商户信息
        required: true
        schema:
          $ref: '#/definitions/.UserMerchantInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementUpdateUserMerchantResp'
        "500":
          description: 服务器错误
    post:
      tags:
      - user_merchant
      description: 添加用户商户
      operationId: UserMerchantController.add user merchant
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: body
        name: user_merchant
        description: 用户商户信息
        required: true
        schema:
          $ref: '#/definitions/.UserMerchantInfo'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementAddUserMerchantResp'
        "500":
          description: 服务器错误
  /user_merchant/user_merchant_auth_list:
    get:
      tags:
      - user_merchant
      description: 获取待授权商户列表
      operationId: UserMerchantController.获取待授权商户列表
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: page_number
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: phone
        description: 手机号
        type: string
      - in: query
        name: merchant_name
        description: 商户名
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: start_time
        description: 开始时间
        type: string
      - in: query
        name: end_time
        description: 结束时间
        type: string
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetUserMerchantAuthListResp'
        "500":
          description: 服务器错误
  /user_merchant/user_merchant_auth_state:
    put:
      tags:
      - user_merchant
      description: 设置认证状态
      operationId: UserMerchantController.set user merchant auth state
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: body
        name: body
        description: "true"
        schema:
          $ref: '#/definitions/.ManagementSetUserMerchantAuthStateBody'
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementSetUserMerchantAuthStateResp'
        "500":
          description: 服务器错误
  /user_merchant/user_merchant_list:
    get:
      tags:
      - user_merchant
      description: 获取用户商户列表
      operationId: UserMerchantController.get user merchant list
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: page_number
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 当前页
        type: boolean
      - in: query
        name: api_ids
        description: base api ids
        type: string
      - in: query
        name: data_api_id
        description: data api id
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetUserMerchantListResp'
        "500":
          description: 服务器错误
  /user_merchant/user_merchant_list_new:
    get:
      tags:
      - user_merchant
      description: 获取用户商户列表(新)
      operationId: UserMerchantController.get user merchant list new interface
      parameters:
      - in: header
        name: token
        description: token
        required: true
        type: string
      - in: header
        name: uid
        description: 管理员id
        required: true
        type: string
      - in: query
        name: page_number
        description: 当前页
        type: integer
        format: int64
      - in: query
        name: is_all
        description: 是否获取全部
        type: boolean
      - in: query
        name: search
        description: 搜索字符串
        type: string
      - in: query
        name: merchant_id
        description: 商户id
        type: integer
        format: int64
      - in: query
        name: data_api_id
        description: 搜索产品
        type: string
      - in: query
        name: status_code
        description: 产品状态
        type: integer
        format: int64
      - in: query
        name: merchant_type
        description: 商户类型
        type: integer
        format: int64
      responses:
        "200":
          description: '"响应信息"'
          schema:
            $ref: '#/definitions/.ManagementGetUserMerchantListNewResp'
        "500":
          description: 服务器错误
definitions:
  .AddAdminBody:
    type: object
  .AddRbacGroupResp:
    type: object
  .AdminDeleteResp:
    type: object
  .AdminGetAllResp:
    type: object
  .AdminLoginBody:
    type: object
  .AdminModifyBody:
    type: object
  .AdminModifyResp:
    type: object
  .AdminRegisterResp:
    type: object
  .AdminTokenVerifyResp:
    type: object
  .AuthGetOSSInfoResp:
    type: object
  .BiGetApiServiceConsumeInfoResp:
    type: object
  .BiGetApiServiceDataInfoResp:
    type: object
  .BiGetApiServiceIncomeInfoResp:
    type: object
  .BiGetDashResp:
    type: object
  .BiGetDistributionResp:
    type: object
  .BiGetPayDistributionResp:
    type: object
  .BiGetProviderDistributionResp:
    type: object
  .BiGetProviderReportResp:
    type: object
  .BiGetProviderServiceDataInfoResp:
    type: object
  .BiGetProviderServiceFailInfoResp:
    type: object
  .BiGetProviderServicePayInfoResp:
    type: object
  .BiGetProviderServiceStatusResp:
    type: object
  .BiGetProviderTrendResp:
    type: object
  .BiGetReportResp:
    type: object
  .BiGetServiceStatusResp:
    type: object
  .BiGetTrendResp:
    type: object
  .BillDetailListResp:
    type: object
  .BillExportExcelResp:
    type: object
  .BillListResp:
    type: object
  .BillRemarkReq:
    type: object
  .BillRemarkResp:
    type: object
  .ChargeListResp:
    type: object
  .ConsumeListResp:
    type: object
  .ConsumeTrendListResp:
    type: object
  .DataApiReleaseBody:
    type: object
  .DeleteRbacGroupResp:
    type: object
  .GetAccessResp:
    type: object
  .GetActionLogResp:
    type: object
  .GetInfoResp:
    type: object
  .GetNodeListResp:
    type: object
  .GetProviderApiHystrixResp:
    type: object
  .GetRbacGroupListResp:
    type: object
  .H5ApiAddBaseApiData:
    type: object
  .H5ServiceAddH5ApiData:
    type: object
  .LogExportDeleteResp:
    type: object
  .LogExportInfo:
    type: object
  .LogExportListResp:
    type: object
  .LogGenerateReportResp:
    type: object
  .LogQueryAccessLogCountResp:
    type: object
  .LogQueryAccessLogResp:
    type: object
  .LogQueryAccessLogThirdpartLogResp:
    type: object
  .LogQueryInterfaceAnalyzeResp:
    type: object
  .LogQueryInterfaceCountResp:
    type: object
  .LogQueryProviderCountExportReq:
    type: object
  .LogQueryProviderCountExportResp:
    type: object
  .LogQueryThirdpartAccessCountResp:
    type: object
  .LogQueryThirdpartAccessLogCountResp:
    type: object
  .LogQueryThirdpartAccessLogResp:
    type: object
  .LogQueryThirdpartInterfaceCountResp:
    type: object
  .LogQueryUserAccessCountExportReq:
    type: object
  .LogQueryUserAccessCountExportResp:
    type: object
  .LogQueryUserAccessCountResp:
    type: object
  .ManagementAddBaseApiProviderReq:
    type: object
  .ManagementAddBaseApiProviderResp:
    type: object
  .ManagementAddBaseApiResp:
    type: object
  .ManagementAddErrorResp:
    type: object
  .ManagementAddH5ApiResp:
    type: object
  .ManagementAddH5ServiceResp:
    type: object
  .ManagementAddH5ThemeColorResp:
    type: object
  .ManagementAddMerchantBaseApiResp:
    type: object
  .ManagementAddMerchantDataApiBody:
    type: object
  .ManagementAddMerchantDataApiResp:
    type: object
  .ManagementAddMerchantH5ServiceResp:
    type: object
  .ManagementAddOrderResp:
    type: object
  .ManagementAddProviderApiReq:
    type: object
  .ManagementAddProviderApiResp:
    type: object
  .ManagementAddProviderPlatformReq:
    type: object
  .ManagementAddProviderPlatformResp:
    type: object
  .ManagementAddUserMerchantResp:
    type: object
  .ManagementBaseApiInfo:
    type: object
  .ManagementBaseApiShowInfo:
    type: object
  .ManagementChangeApiTaskBody:
    type: object
  .ManagementDataApiAddApiReq:
    type: object
  .ManagementDataApiAddApiResp:
    type: object
  .ManagementDataApiAddBaseApiReq:
    type: object
  .ManagementDataApiAddBaseApiResp:
    type: object
  .ManagementDataApiAddDataComboReq:
    type: object
  .ManagementDataApiAddDataComboResp:
    type: object
  .ManagementDataApiAddQueryTypeReq:
    type: object
  .ManagementDataApiAddQueryTypeResp:
    type: object
  .ManagementDataApiComboListResp:
    type: object
  .ManagementDataApiDeleteApiResp:
    type: object
  .ManagementDataApiGetAllResp:
    type: object
  .ManagementDataApiGetApiInfoResp:
    type: object
  .ManagementDataApiGetBaseApiResp:
    type: object
  .ManagementDataApiGetQueryTypeListResp:
    type: object
  .ManagementDataApiGetQueryTypeResp:
    type: object
  .ManagementDataApiModifyApiReq:
    type: object
  .ManagementDataApiModifyApiResp:
    type: object
  .ManagementDataApiModifyBaseApiReq:
    type: object
  .ManagementDataApiModifyBaseApiResp:
    type: object
  .ManagementDataApiModifyQueryTypeReq:
    type: object
  .ManagementDataApiModifyQueryTypeResp:
    type: object
  .ManagementDataApiReleaseApiResp:
    type: object
  .ManagementDataApiRemoveBaseApiResp:
    type: object
  .ManagementDataApiRemoveDataComboResp:
    type: object
  .ManagementDataApiRemoveQueryTypeResp:
    type: object
  .ManagementDataApiSetFreeDataComboReq:
    type: object
  .ManagementDataApiSetFreeDataComboResp:
    type: object
  .ManagementDelBaseApiResp:
    type: object
  .ManagementDelErrorResp:
    type: object
  .ManagementDelH5ApiResp:
    type: object
  .ManagementDelH5ServiceResp:
    type: object
  .ManagementDelH5ThemeColorResp:
    type: object
  .ManagementDelMerchantDataApiResp:
    type: object
  .ManagementDelProviderApiResp:
    type: object
  .ManagementDelProviderPlatformResp:
    type: object
  .ManagementDeleteTryApiTaskResp:
    type: object
  .ManagementExportMerchantBaseApiFileResp:
    type: object
  .ManagementGetAllProviderApiResp:
    type: object
  .ManagementGetBaseApiInfoResp:
    type: object
  .ManagementGetBaseApiListResp:
    type: object
  .ManagementGetBaseApiParamTypeListResp:
    type: object
  .ManagementGetBaseApiProviderListResp:
    type: object
  .ManagementGetDataSupplementReq:
    type: object
  .ManagementGetDataSupplementResp:
    type: object
  .ManagementGetErrorListResp:
    type: object
  .ManagementGetFilterRuleResp:
    type: object
  .ManagementGetH5ApiListResp:
    type: object
  .ManagementGetH5ServiceListResp:
    type: object
  .ManagementGetH5ThemeColorListResp:
    type: object
  .ManagementGetMerchantBaseApiInfoResp:
    type: object
  .ManagementGetMerchantBaseApiListAllResp:
    type: object
  .ManagementGetMerchantBaseApiListResp:
    type: object
  .ManagementGetMerchantDataApiListByDayResp:
    type: object
  .ManagementGetMerchantDataApiListByTotalResp:
    type: object
  .ManagementGetMerchantDataApiListResp:
    type: object
  .ManagementGetMerchantDataApiQuotaResp:
    type: object
  .ManagementGetMerchantH5ComboResp:
    type: object
  .ManagementGetMerchantH5ServiceResp:
    type: object
  .ManagementGetProviderApiListResp:
    type: object
  .ManagementGetProviderMerchantApiListResp:
    type: object
  .ManagementGetProviderPlatformListResp:
    type: object
  .ManagementGetSuplementTitleResp:
    type: object
  .ManagementGetSupplementDbResp:
    type: object
  .ManagementGetTryApiTaskListResp:
    type: object
  .ManagementGetUserMerchantAuthListResp:
    type: object
  .ManagementGetUserMerchantListNewResp:
    type: object
  .ManagementGetUserMerchantListResp:
    type: object
  .ManagementH5ApiAddBaseApiResp:
    type: object
  .ManagementH5ApiGetBaseApiListResp:
    type: object
  .ManagementH5ServiceAddComboReq:
    type: object
  .ManagementH5ServiceAddComboResp:
    type: object
  .ManagementH5ServiceAddH5ApiResp:
    type: object
  .ManagementH5ServiceDelComboResp:
    type: object
  .ManagementH5ServiceGetComboListResp:
    type: object
  .ManagementH5ServiceGetH5ApiListResp:
    type: object
  .ManagementH5ServiceSetComboFreeResp:
    type: object
  .ManagementH5ServiceUpdateComboResp:
    type: object
  .ManagementPayOrderResp:
    type: object
  .ManagementReleaseH5ServiceResp:
    type: object
  .ManagementSetBaseApiShowInfoResp:
    type: object
  .ManagementSetBaseApiStateBody:
    type: object
  .ManagementSetBaseApiStateResp:
    type: object
  .ManagementSetBaseApiThresholdResp:
    type: object
  .ManagementSetDayCountLimitBody:
    type: object
  .ManagementSetDayCountLimitResp:
    type: object
  .ManagementSetH5ApiStateResp:
    type: object
  .ManagementSetMerchantDataApiQuotaBody:
    type: object
  .ManagementSetMerchantDataApiQuotaResp:
    type: object
  .ManagementSetMerchantH5ComboResp:
    type: object
  .ManagementSetMerchantOrderPriceResp:
    type: object
  .ManagementSetProviderThresholdResp:
    type: object
  .ManagementSetUserMerchantAuthStateBody:
    type: object
  .ManagementSetUserMerchantAuthStateResp:
    type: object
  .ManagementTryApiExcelResp:
    type: object
  .ManagementTryBaseApiReq:
    type: object
  .ManagementTryBaseApiResp:
    type: object
  .ManagementTryProviderApiResp:
    type: object
  .ManagementUpdateBaseApiResp:
    type: object
  .ManagementUpdateDataSupplementReq:
    type: object
  .ManagementUpdateDataSupplementResp:
    type: object
  .ManagementUpdateErrorResp:
    type: object
  .ManagementUpdateH5ApiResp:
    type: object
  .ManagementUpdateH5ServiceResp:
    type: object
  .ManagementUpdateH5ThemeColorResp:
    type: object
  .ManagementUpdateMerchantBaseApiReq:
    type: object
  .ManagementUpdateMerchantBaseApiResp:
    type: object
  .ManagementUpdateProviderApiReq:
    type: object
  .ManagementUpdateProviderApiResp:
    type: object
  .ManagementUpdateProviderPlatformReq:
    type: object
  .ManagementUpdateProviderPlatformResp:
    type: object
  .ManagementUpdateUserMerchantResp:
    type: object
  .MerchantAddBaseApiReq:
    type: object
  .MerchantChargeReq:
    type: object
  .MerchantChargeResp:
    type: object
  .MerchantDataApiPriceListResp:
    type: object
  .MerchantPriceListResp:
    type: object
  .ServiceManagementOrderListResp:
    type: object
  .SetMerchantDataApiPriceReqReq:
    type: object
  .SetMerchantDataApiPriceReqResp:
    type: object
  .SetMerchantTypeReq:
    type: object
  .SetMerchantTypeResp:
    type: object
  .ThirdPartyInterfaceErrorAnalyzeResp:
    type: object
  .ThirdpartLogExportInfo:
    type: object
  .TryApiTaskListResp:
    type: object
  .UpdateBillDetailReq:
    type: object
  .UpdateBillDetailResp:
    type: object
  .UpdateManagementSetMerchantDataApiBody:
    type: object
  .UpdateManagementSetMerchantDataApiResp:
    type: object
  .UpdateMerchantDataApiAliasBody:
    type: object
  .UpdateProviderApiHystrixBody:
    type: object
  .UpdateProviderApiHystrixResp:
    type: object
  .UpdateRbacGroup:
    type: object
  .UpdateRbacGroupResp:
    type: object
  .UpdateStatusBody:
    type: object
  .UpdateStatusResp:
    type: object
  .UserMerchantInfo:
    type: object
  param_v1_0.ManagementSetBaseApiThresholdBody:
    title: ManagementSetBaseApiThresholdBody
    type: object
    properties:
      rate_limit:
        description: 并发限制
        type: integer
        format: int64
      threshold_fail_rate:
        type: number
        format: double
      threshold_norecord_rate:
        type: number
        format: double
      threshold_timeout:
        type: integer
        format: int64
      warning_enable:
        type: boolean
  param_v1_0.ManagementSetProviderThresholdBody:
    title: ManagementSetProviderThresholdBody
    type: object
    properties:
      threshold_fail_rate:
        type: number
        format: double
      threshold_norecord_rate:
        type: number
        format: double
      threshold_timeout:
        type: integer
        format: int64
      warning_enable:
        type: boolean
tags:
- name: base_api
  description: |
    Operations about base api
- name: user_merchant
  description: |
    Operations about merchant user
- name: merchant_api
  description: |
    Operations about merchant api
- name: merchant_order
  description: |
    Operations about merchant order
- name: merchant_h5
  description: |
    Operations about merchant api
- name: admin
  description: |
    Operations about admin api
- name: data_api
  description: |
    Operations about data api
- name: provider
  description: |
    Operations about provider
- name: access_log
  description: |
    Operations about access log api
- name: error_code
  description: |
    Operations about error code
- name: h5
  description: |
    Operations about base api
- name: h5
  description: |
    Operations about base api
- name: service_order
  description: |
    Operations about base api
- name: action_log
  description: |
    用户行为日志
- name: auth
  description: |
    Operations about auth api
- name: crontab
  description: |
    Operations about access log api
- name: data_editor
  description: |
    Operations about provider
- name: accounting
  description: |
    Operations about data api
