login.md 2.13 KB

登录并绑定openid

OpenAPI Specification

openapi: 3.0.1
info:
  title: ''
  version: 1.0.0
paths:
  /srv/:
    post:
      summary: 登录并绑定openid
      deprecated: false
      description: ''
      tags:
        - 用户
      parameters:
        - name: f
          in: query
          description: ''
          required: true
          example: manulife
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: user
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: true
          example: login
          schema:
            type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                uuid:
                  example: 预约核销1
                  type: string
                password:
                  example: '000000'
                  type: string
                openid:
                  description: 要绑定的小程序openid
                  example: ''
                  type: string
              required:
                - uuid
                - password
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 0=失败,1=成功
                  msg:
                    type: string
                x-apifox-orders:
                  - code
                  - msg
                required:
                  - code
                  - msg
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 用户
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-413906666-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers: []
security: []