You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
definitions :
Model.Res :
properties :
code :
description : omitempty有值就输出, 没值则不输出
type : object
count :
type : object
data :
type : object
expire_time :
description : 过期时间
type : object
msg :
description : omitempty有值就输出, 没值则不输出
type : object
pk :
type : object
start_time :
type : object
token :
description : omitempty有值就输出, 没值则不输出
type : object
total_count :
type : object
type : object
host : 127.0 .0 .1 : 8003
info :
contact : {}
description : 由东师理想数智创新中心研发并提供支持
license : {}
title : 统一数据中心
version : "1.0"
paths :
/data/datatype :
get :
consumes :
- application/x-www-form-urlencoded
description : 共享的数据类型有哪些
parameters :
- description : 访问票据
in : query
name : token
required : true
type : string
produces :
- application/json
responses :
"200" :
description : OK
schema :
$ref : '#/definitions/Model.Res'
summary : 共享的数据类型有哪些
tags :
- 统一数据类
x-lengthlimit :
- token : 26 , 26
/data/share :
get :
consumes :
- application/x-www-form-urlencoded
description : 数据分发
parameters :
- description : 访问票据
in : query
name : token
required : true
type : string
- description : 获取哪一类数据
in : query
name : data_type
required : true
type : string
- description : 开始时间
in : query
name : start_time
required : true
type : string
- description : 主键值,如果不清楚第一次可以传0,以后按返回的数据再次传入即可
in : query
name : pk
required : true
type : string
produces :
- application/json
responses :
"200" :
description : OK
schema :
$ref : '#/definitions/Model.Res'
summary : 数据分发
tags :
- 统一数据类
x-datetime :
- start_time
x-lengthlimit :
- token : 26 , 26
- data_type : 2 , 20
- start_time : 19 , 19
- pk : 1 , 10
/data/token :
post :
consumes :
- application/x-www-form-urlencoded
description : 获取授权票据
parameters :
- description : 第三方系统的访问id
in : formData
name : id
required : true
type : string
- description : 第三方系统的访问密码
in : formData
name : secret
required : true
type : string
produces :
- application/json
responses :
"200" :
description : OK
schema :
$ref : '#/definitions/Model.Res'
summary : 获取授权票据
tags :
- 统一数据类
x-lengthlimit :
- id : 20 , 20
- secret : 26 , 26
/oauth2/authorize :
post :
consumes :
- application/x-www-form-urlencoded
description : 数据上报
parameters :
- description : 访问票据
in : formData
name : access_token
required : true
type : string
produces :
- application/json
responses :
"200" :
description : OK
schema :
$ref : '#/definitions/Model.Res'
summary : 数据上报
tags :
- 统一数据类
swagger : "2.0"