- 公共功能
- 登录注册
- 工作区
- 邀请成员
- 通讯录(用户、部门、角色)
- 应用包
- 应用分组
- 应用
- 工作台
- 应用设置(表单引擎,流程引擎,拓展设置,应用发布)
- 应用展现层
- 公式
- 个人中心
- 企业管理
- 开放平台
- 官方网站
- 子管理员
- 报表
- 门户
- 购买相关
- OCR
- 代码生成
- 数据导入
- 流程测试
- 考勤
- 农业大屏
- 应用模板商城
- 应用包上线配置
- study
- 站内信
- sand测试流程测试模板
- 测试接口
- 响水大屏
- tplus
- 协办
- 费用管控
- 首页相关内容
- pm
- 水产养殖
- 应用商城
- 联系我们
- 图零后台管理
- 知识库
- doris相关
- Ai后台管理
- CRM二
- 自建应用设置
- EHR二期
- APP应用测试
- 未命名接口GET
- 数据上报GET
获取用户首页配置
开发中
GET
/user/getComponents
暂无描述
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.tolink.cloud/user/getComponents'
返回响应
🟢200成功
application/json
Body
code
integer
示例:0
data
object
示例:-
components
object
示例:-
msg
string
必需
示例
{
"code": 0,
"data": {
"components": {
"mobile": [
{
"type": 1,
"position": {
"mobile": {
"cols": 6,
"rows": 12,
"x": 0,
"y": 0
},
"pc": {
"cols": 6,
"rows": 12,
"x": 0,
"y": 0
}
},
"chartConfig": {
"appId": 249,
"chartId": 1,
"chartName": "测试图表",
"chartType": 1,
"dataSourceType": 1,
"remark": "备注内容",
"remarkStatus": false
},
"filterConfig": {
"filters": [
{
"groupConfig": [
{
"judgeType": 1,
"judgeValue": [
{
"id": "1",
"value": "123",
"otherInfo": "",
"userId": 0,
"values": null
}
],
"condition": [
{
"chartId": 1,
"chartName": "测试报表",
"appId": 0,
"fid": "123123",
"field": "单行文本",
"typeId": 1
}
],
"itemId": "1",
"itemName": "筛选1"
}
],
"groupId": "1",
"groupName": "筛选组"
}
]
},
"gridConfig": {
"showTitle": true,
"gridId": "123",
"gridTitle": "宫格",
"items": [
{
"id": "123",
"gridId": "3455",
"customTitleStatus": true,
"customTitle": "组件1",
"icon": "123.png",
"jumpMode": 1,
"appId": 1,
"dashId": 1,
"gatherId": 1,
"link": "http://www.baidu.com",
"title": "百度一下",
"type": 1,
"jumpType": 1,
"iconType": 0,
"background": ""
}
]
},
"linkConfig": {
"url": "http://www.baidu.com"
},
"textConfig": {
"text": "<p>0123123</p>"
},
"w": null,
"h": null,
"x": 0,
"y": 0,
"i": 0
}
],
"pc": [
{
"type": 1,
"position": {
"mobile": {
"cols": 6,
"rows": 12,
"x": 0,
"y": 0
},
"pc": {
"cols": 6,
"rows": 12,
"x": 0,
"y": 0
}
},
"chartConfig": {
"appId": 249,
"chartId": 1,
"chartName": "测试图表",
"chartType": 1,
"dataSourceType": 1,
"remark": "备注内容",
"remarkStatus": false
},
"filterConfig": {
"filters": [
{
"groupConfig": [
{
"judgeType": 1,
"judgeValue": [
{
"id": "1",
"value": "123",
"otherInfo": "",
"userId": 0,
"values": null
}
],
"condition": [
{
"chartId": 1,
"chartName": "测试报表",
"appId": 0,
"fid": "123123",
"field": "单行文本",
"typeId": 1
}
],
"itemId": "1",
"itemName": "筛选1"
}
],
"groupId": "1",
"groupName": "筛选组"
}
]
},
"gridConfig": {
"showTitle": true,
"gridId": "123",
"gridTitle": "宫格",
"items": [
{
"id": "123",
"gridId": "3455",
"customTitleStatus": true,
"customTitle": "组件1",
"icon": "123.png",
"jumpMode": 1,
"appId": 1,
"dashId": 1,
"gatherId": 1,
"link": "http://www.baidu.com",
"title": "百度一下",
"type": 1,
"jumpType": 1,
"iconType": 0,
"background": ""
}
]
},
"linkConfig": {
"url": "http://www.baidu.com"
},
"textConfig": {
"text": "<p>0123123</p>"
},
"w": null,
"h": null,
"x": 0,
"y": 0,
"i": 0
}
]
}
},
"msg": "success"
}
🟢200错误
修改于 2023-06-08 08:07:04