|
|
@ -343,12 +343,23 @@ definitions:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
MySwagger.Result:
|
|
|
|
MySwagger.Result:
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
|
|
|
|
data:
|
|
|
|
|
|
|
|
items:
|
|
|
|
|
|
|
|
additionalProperties: true
|
|
|
|
|
|
|
|
type: object
|
|
|
|
|
|
|
|
type: array
|
|
|
|
|
|
|
|
fail:
|
|
|
|
|
|
|
|
example: false
|
|
|
|
|
|
|
|
type: boolean
|
|
|
|
message:
|
|
|
|
message:
|
|
|
|
example: 接入系统票据验证失败
|
|
|
|
example: 操作成功
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
success:
|
|
|
|
success:
|
|
|
|
example: false
|
|
|
|
example: true
|
|
|
|
type: boolean
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
total:
|
|
|
|
|
|
|
|
example: 120
|
|
|
|
|
|
|
|
type: integer
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
host: 127.0.0.1:8005
|
|
|
|
host: 127.0.0.1:8005
|
|
|
|
info:
|
|
|
|
info:
|
|
|
@ -1125,16 +1136,16 @@ paths:
|
|
|
|
- 2
|
|
|
|
- 2
|
|
|
|
x-tablename:
|
|
|
|
x-tablename:
|
|
|
|
- t_app_base
|
|
|
|
- t_app_base
|
|
|
|
/support/login/account:
|
|
|
|
/v1/openapi/account/login:
|
|
|
|
post:
|
|
|
|
post:
|
|
|
|
consumes:
|
|
|
|
consumes:
|
|
|
|
- application/json
|
|
|
|
- application/json
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"
|
|
|
|
json:"username" xorm:"not null comment('账号') VARCHAR(100)" example:"example"
|
|
|
|
json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
|
|
|
|
json:"password" xorm:"not null comment('密码') VARCHAR(100)" example:"123456"
|
|
|
|
operationId: Account
|
|
|
|
operationId: loginAccount
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- description: 登录
|
|
|
|
- description: 账号密码
|
|
|
|
in: body
|
|
|
|
in: body
|
|
|
|
name: input
|
|
|
|
name: input
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
@ -1151,9 +1162,9 @@ paths:
|
|
|
|
description: Bad Request
|
|
|
|
description: Bad Request
|
|
|
|
schema:
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/MySwagger.Result'
|
|
|
|
$ref: '#/definitions/MySwagger.Result'
|
|
|
|
summary: 登录
|
|
|
|
summary: 后台登陆
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- 登录
|
|
|
|
- account
|
|
|
|
/v1/openapi/dataaccess/CreateDataaccess:
|
|
|
|
/v1/openapi/dataaccess/CreateDataaccess:
|
|
|
|
post:
|
|
|
|
post:
|
|
|
|
consumes:
|
|
|
|
consumes:
|
|
|
@ -2121,3 +2132,5 @@ tags:
|
|
|
|
name: metadata
|
|
|
|
name: metadata
|
|
|
|
- description: 机构目录
|
|
|
|
- description: 机构目录
|
|
|
|
name: orgtree
|
|
|
|
name: orgtree
|
|
|
|
|
|
|
|
- description: 后台登陆
|
|
|
|
|
|
|
|
name: account
|
|
|
|