| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- basePath: /v1
- definitions:
- controller.AddHRRtn:
- properties:
- code:
- type: integer
- inClass:
- type: integer
- memo:
- type: string
- type: object
- controller.ResponseBase:
- properties:
- code:
- type: integer
- memo:
- type: string
- type: object
- controller.ResponseVerifyPic:
- properties:
- id:
- type: string
- pic:
- type: string
- type: object
- info:
- contact:
- email: support@swagger.io
- name: API Support
- url: http://www.swagger.io/support
- description: Video Course框架 API 文档
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
- termsOfService: http://swagger.io/terms/
- title: Video Course框架
- version: "1.0"
- paths:
- /Auth/GenVerifyPic:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 获取验证图片和验证id
- parameters:
- - description: 高
- in: formData
- name: height
- required: true
- type: string
- - description: 宽
- in: formData
- name: width
- required: true
- type: string
- - description: 噪点数量
- in: formData
- name: noiseCount
- required: true
- type: string
- - description: 验证码字数
- in: formData
- name: length
- required: true
- type: string
- - description: 验证码取值范围 比如 1234567890 或者 abcdef等
- in: formData
- name: source
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseVerifyPic'
- summary: 获取验证图片
- tags:
- - Auth
- /Auth/GetPhoneVFCode:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 手机获取验证码
- parameters:
- - description: 图形验证码,目前不起作用
- in: formData
- name: picCode
- type: string
- - description: 手机号
- in: formData
- name: phone
- required: true
- type: string
- - description: 验证码类型 1:登录
- in: formData
- name: codeType
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseBase'
- summary: 手机获取验证码
- tags:
- - Auth
- /Auth/PhoneSignIn:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 手机验证码登录
- parameters:
- - description: 手机号
- in: formData
- name: phone
- required: true
- type: string
- - description: 验证码
- in: formData
- name: smsCode
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseBase'
- summary: 手机验证码登录
- tags:
- - Auth
- /HrSensors/AddAppHeartRate:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: App心率数据上报
- parameters:
- - description: Token
- in: formData
- name: token
- required: true
- type: string
- - description: duId
- in: formData
- name: duId
- required: true
- type: integer
- - description: sn
- in: formData
- name: sn
- required: true
- type: string
- - description: 心率带id
- in: formData
- name: hrId
- required: true
- type: integer
- - description: 心跳
- in: formData
- name: heartRate
- required: true
- type: integer
- - description: 时间戳毫秒
- in: formData
- name: rcvTime
- required: true
- type: integer
- - description: 卡路里
- in: formData
- name: calories
- required: true
- type: integer
- - description: 运动卡路里
- in: formData
- name: pureCalories
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.AddHRRtn'
- summary: App心率数据上报
- tags:
- - HrSensors
- /HrSensors/HrSensorsUpdate:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 心率带信息查询和更新
- parameters:
- - description: Token
- in: formData
- name: token
- required: true
- type: string
- - description: 心率带编号
- in: formData
- name: sn
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseBase'
- summary: 心率带信息查询和更新
- tags:
- - HrSensors
- /User/GetDuInfoAndUserInfoByUserMd5:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 查询用户当前显示单元和对应身体信息
- parameters:
- - description: Token
- in: formData
- name: token
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseBase'
- summary: 查询用户是否正在上课接口
- tags:
- - User
- /User/UserSelfQuery:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 会员自身信息查询
- parameters:
- - description: Token
- in: formData
- name: token
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseBase'
- summary: 会员自身信息查询
- tags:
- - User
- securityDefinitions:
- ApiKeyAuth:
- in: header
- name: Authorization
- type: apiKey
- BasicAuth:
- type: basic
- OAuth2AccessCode:
- authorizationUrl: https://example.com/oauth/authorize
- flow: accessCode
- scopes:
- admin: ' Grants read and write access to administrative information'
- tokenUrl: https://example.com/oauth/token
- type: oauth2
- OAuth2Application:
- flow: application
- scopes:
- admin: ' Grants read and write access to administrative information'
- write: ' Grants write access'
- tokenUrl: https://example.com/oauth/token
- type: oauth2
- OAuth2Implicit:
- authorizationUrl: https://example.com/oauth/authorize
- flow: implicit
- scopes:
- admin: ' Grants read and write access to administrative information'
- write: ' Grants write access'
- type: oauth2
- OAuth2Password:
- flow: password
- scopes:
- admin: ' Grants read and write access to administrative information'
- read: ' Grants read access'
- write: ' Grants write access'
- tokenUrl: https://example.com/oauth/token
- type: oauth2
- swagger: "2.0"
|