|
|
swagger: "2.0"
|
|
|
info:
|
|
|
title: ""
|
|
|
description: 天联基础
|
|
|
contact:
|
|
|
name: ""
|
|
|
email: ""
|
|
|
home: ""
|
|
|
version: 0.0.1
|
|
|
paths: {}
|
|
|
definitions:
|
|
|
LoginAccessGetQrcodeForLoginResponseBody:
|
|
|
title: 'Mediatype identifier: LoginAccessGetQrcodeForLoginResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
authCode:
|
|
|
type: string
|
|
|
description: 登录认证的凭证
|
|
|
imgBase64:
|
|
|
type: string
|
|
|
description: base64形式的二维码图片
|
|
|
loginAccess:
|
|
|
$ref: '#/definitions/loginAccessResponseBody'
|
|
|
LoginAccessLoginByAccountRequestBody:
|
|
|
title: LoginAccessLoginByAccountRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
account:
|
|
|
type: string
|
|
|
description: 账号
|
|
|
passwd:
|
|
|
type: string
|
|
|
description: 密码
|
|
|
LoginAccessLoginByAccountResponseBody:
|
|
|
title: 'Mediatype identifier: LoginAccessLoginByAccountResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
authcode:
|
|
|
type: string
|
|
|
description: 登录认证的凭证
|
|
|
loginAccess:
|
|
|
$ref: '#/definitions/loginAccessResponseBody'
|
|
|
LoginAccessLoginByScanQrcodeRequestBody:
|
|
|
title: LoginAccessLoginByScanQrcodeRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
authCode:
|
|
|
type: string
|
|
|
description: 登录认证的凭证
|
|
|
LoginAccessLoginByScanQrcodeResponseBody:
|
|
|
title: 'Mediatype identifier: LoginAccessLoginByScanQrcodeResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
accessToken:
|
|
|
type: string
|
|
|
description: 真正的登录凭证
|
|
|
isLogin:
|
|
|
type: string
|
|
|
description: 是否可以登录
|
|
|
loginAccess:
|
|
|
$ref: '#/definitions/loginAccessResponseBody'
|
|
|
LoginAccessLoginBySmsCodeRequestBody:
|
|
|
title: LoginAccessLoginBySmsCodeRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
phone:
|
|
|
type: string
|
|
|
description: 手机号
|
|
|
smsCode:
|
|
|
type: string
|
|
|
description: 短信验证码
|
|
|
LoginAccessLoginBySmsCodeResponseBody:
|
|
|
title: 'Mediatype identifier: LoginAccessLoginBySmsCodeResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
authcode:
|
|
|
type: string
|
|
|
description: 登录认证的凭证
|
|
|
loginAccess:
|
|
|
$ref: '#/definitions/loginAccessResponseBody'
|
|
|
LoginAccessLoginInfoByAuthCodeRequestBody:
|
|
|
title: LoginAccessLoginInfoByAuthCodeRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
authCode:
|
|
|
type: string
|
|
|
description: 登录认证的凭证
|
|
|
companyId:
|
|
|
type: string
|
|
|
description: 公司id
|
|
|
organizationId:
|
|
|
type: string
|
|
|
description: 组织id
|
|
|
LoginAccessLoginInfoByAuthCodeResponseBody:
|
|
|
title: 'Mediatype identifier: LoginAccessLoginInfoByAuthCodeResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
accessToken:
|
|
|
type: string
|
|
|
description: 登录系统的凭证
|
|
|
loginAccess:
|
|
|
$ref: '#/definitions/loginAccessResponseBody'
|
|
|
loginAccessResponseBody:
|
|
|
title: loginAccessResponseBody
|
|
|
type: object
|
|
|
properties:
|
|
|
accessExpired:
|
|
|
type: integer
|
|
|
description: 登录凭证过期时间,时间戳精度秒
|
|
|
format: int64
|
|
|
accessToken:
|
|
|
type: string
|
|
|
description: 登录凭证存储
|
|
|
account:
|
|
|
type: string
|
|
|
description: 账号
|
|
|
companyId:
|
|
|
type: integer
|
|
|
description: 公司id
|
|
|
format: int64
|
|
|
createdTime:
|
|
|
type: string
|
|
|
description: 创建时间
|
|
|
format: datetime
|
|
|
organizationId:
|
|
|
type: integer
|
|
|
description: 组织id
|
|
|
format: int64
|
|
|
platform:
|
|
|
type: string
|
|
|
description: 对应平台
|
|
|
refreshExpired:
|
|
|
type: integer
|
|
|
description: 刷新登录凭证过期时间,时间戳精度秒
|
|
|
format: int64
|
|
|
refreshToken:
|
|
|
type: string
|
|
|
description: 刷新登录凭证
|
|
|
updatedTime:
|
|
|
type: string
|
|
|
description: 更新时间
|
|
|
format: datetime
|
|
|
description: 登录凭证存储 |
...
|
...
|
|