# 二维码-检测

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/qw/doApi:
    post:
      summary: 二维码-检测
      deprecated: false
      description: |
        同登陆状态检测/login/checkLogin
        1、`status`状态列表
        | 状态码 | 说明 |
        | --- | --- |
        | -1 | 登录状态失效，需要重新扫码登陆 |
        | 0 | 未登陆，可免扫码登陆 |
        | 1 | 已扫码，待确认 |
        | 2 | 登陆成功 |
        | 3 | 登陆失败 |
        | 4 | 用户取消登陆 |
        | 10 | 已扫码确认，待检测6位验证码 |
      tags:
        - 登陆模块
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: X-QIWEI-TOKEN
          in: header
          description: ''
          example: '{{tokenId}}'
          schema:
            type: string
            default: '{{tokenId}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                method:
                  type: string
                  title: /login/checkLoginQrCode
                params:
                  type: object
                  properties:
                    guid:
                      type: string
                  required:
                    - guid
                  x-apifox-orders:
                    - guid
              required:
                - method
                - params
              x-apifox-orders:
                - method
                - params
            example:
              method: /login/checkLoginQrCode
              params:
                guid: '{{guid}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  data:
                    type: object
                    properties:
                      corpId:
                        type: string
                      corpLogo:
                        type: string
                      loginQrcodeKey:
                        type: string
                      loginQrcodeStatus:
                        type: integer
                        description: >-
                          =-1 未登陆，需要扫码登陆 =0 未登陆，可免扫码登陆 =1 已扫码，待确认 =2 登陆成功 =4
                          用户取消登陆 =10 已扫码确认，待检测6位验证码
                      nickname:
                        type: string
                      userId:
                        type: string
                      avatarUrl:
                        type: string
                    required:
                      - avatarUrl
                      - corpId
                      - corpLogo
                      - loginQrcodeKey
                      - loginQrcodeStatus
                      - nickname
                      - userId
                    x-apifox-orders:
                      - avatarUrl
                      - corpId
                      - corpLogo
                      - loginQrcodeKey
                      - loginQrcodeStatus
                      - nickname
                      - userId
                  msg:
                    type: string
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 0
                data:
                  avatarUrl: ''
                  corpId: ''
                  corpLogo: ''
                  loginQrcodeKey: ''
                  loginQrcodeStatus: 1
                  nickname: ''
                  userId: 168885*****
                msg: 成功
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 登陆模块
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7051713/apis/api-344613857-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```