ujcms
  1. 数据
ujcms
  • 数据
    • 栏目列表_ChannelList
      GET
    • 栏目对象_Channel
      GET
    • 栏目对象ByAlias_Channel
      GET
    • 文章列表_ArticleList
      GET
    • 文章分页_ArticlePage
      GET
    • 文章对象_Article
      GET
    • 上一篇文章_ArticlePrev
      GET
    • 下一篇文章_ArticleNext
      GET
    • 全文检索文章分页_EsArticlePage
      GET
    • 全文检索文章列表_EsArticleList
      GET
    • 区块项列表_BlockItemList
      GET
    • 字典列表_DictList
      GET
    • 模型列表_ModelList
      GET
    • 模型对象_Model
      GET
    • Tag列表_TagList
      GET
    • Tag分页_TagPage
      GET
    • 获取Tag对象
      GET
    • 表单列表_FormList
      GET
    • 表单分页_FormPage
      GET
    • 获取表单对象
      GET
    • 站点列表_SiteList
      GET
    • 站点对象_Site
      GET
    • 投票列表_VoteList
      GET
    • 投票分页_VotePage
      GET
    • 投票对象_Vote
      GET
    • 留言列表_MessageBoardList
      GET
    • 留言分页_MessageBoardPage
      GET
    • 获取留言对象
      GET
    • 留言类型列表_MessageBoardTypeList
      GET
    • 调查问卷列表_SurveyList
      GET
    • 调查问卷分页_SurveyPage
      GET
    • 调查问卷对象_Survey
      GET
    • 文章排行榜列表_LeaderBoardList
      GET
    • 文章排行榜分页_LeaderBoardPage
      GET
  • 内容
    • 栏目接口
      • 获取栏目浏览次数
      • 获取栏目统计数据
    • 文章接口
      • 顶文章
      • 记录下载次数
      • 踩文章
      • 获取文章浏览次数
      • 获取下载参数
      • 获取文章统计数据
    • 站点接口
      • 获取站点缓冲对象,并记录浏览量
      • 获取当前站点对象。如果传递subDir参数,则通过子目录查询当前站点;否则通过当前域名获取对应站点对象,无法获取则返回默认站点
      • 获取站点缓冲对象
    • 投票接口
      • 投票
    • 留言接口
      • 提交留言
    • 调查问卷接口
      • 投票
  • 用户
    • JWT认证接口
      • 刷新TOKEN
      • 退出。一般情况下JWT无需服务器端退出。该方法主要用于记录退出日志
      • 登录
    • 注册接口
      • 用户注册
    • 密码接口
      • 更新密码
      • 重置密码
    • 会员设置接口
      • 更新个人信息
      • 更新手机号码
      • 更新邮箱地址
      • 更新个人头像
    • 用户接口
      • 用户名是否未使用
      • 用户名是否存在
      • 手机号码是否未使用
      • 手机号码是否存在
      • 邮箱地址是否未使用
      • 邮箱地址是否存在
    • 上传接口
      • avatarUpload
      • avatarCrop
  • 系统
    • 环境接口
      • 是否开启双因子登录
      • 获得当前登录用户
      • 获取当前站点列表
      • csrf 参数
      • 获取Config配置
      • 获取客户端SM2加密 public key
    • 验证码接口
      • 尝试验证码是否正确
      • 是否显示验证码。当登录错误超过指定次数后,需要输入验证码
      • 获取验证码Token
    • 短信接口
      • 发送手机短信
      • 发送邮件短信
      • 验证手机短信是否正确
      • 验证邮件短信是否正确
  • 其它
    • 访问统计接口
      • 记录访问统计接口
      • 获取在线访问者数量
  1. 数据

表单分页_FormPage

GET
/api/form/page
表单接口

请求参数

Query 参数
typeId
integer <int64>
类型ID。必选项
可选
orgId
integer <int64>
组织ID
可选
userId
integer <int64>
用户ID
可选
page
integer <int32>
第几页
可选
pageSize
integer <int32>
可选
每页多少条数据。最大不能超过1000

示例代码

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://demo.ujcms.com/api/form/page'

返回响应

🟢200成功
*/*
OK
Body
totalPages
integer <int32>
可选
totalElements
integer <int64>
可选
size
integer <int32>
可选
content
array[object (Form_List) {22}] 
可选
id
integer <int64>
表单ID
必需
typeId
integer <int64>
表单类型ID
必需
siteId
integer <int64>
站点ID
必需
orgId
integer <int64>
组织ID
必需
userId
integer <int64>
创建用户ID
必需
modifiedUserId
integer <int64>
修改用户ID
必需
processInstanceId
string 
流程实例ID
可选
rejectReason
string 
退回原因
可选
created
string <date-time>
创建日期
必需
modified
string <date-time>
修改日期
必需
ip
string 
IP地址
必需
order
integer <int64>
排列顺序
必需
status
integer <int32>
必需
状态(0:已审核,10:草稿,11:待审核,12:审核中,20:已删除,22:已退回)
mainsJson
string 
自定义主字段
可选
site
object (Site_List) 
站点实体类
可选
org
object (Org_List) 
组织实体类
可选
user
object (User_List) 
用户实体类
可选
modifiedUser
object (User_List) 
用户实体类
可选
type
object (FormType_List) 
模型类型
可选
customs
object 
自定义字段
可选
taskId
string 
任务ID
可选
editable
boolean 
是否可编辑
可选
number
integer <int32>
可选
sort
array[object (SortObject) {5}] 
可选
direction
string 
可选
nullHandling
string 
可选
ascending
boolean 
可选
property
string 
可选
ignoreCase
boolean 
可选
first
boolean 
可选
last
boolean 
可选
numberOfElements
integer <int32>
可选
pageable
object (PageableObject_List) 
可选
offset
integer <int64>
可选
sort
array[object (SortObject) {5}] 
可选
pageSize
integer <int32>
可选
pageNumber
integer <int32>
可选
paged
boolean 
可选
unpaged
boolean 
可选
empty
boolean 
可选
示例
{
    "totalPages": 0,
    "totalElements": 0,
    "size": 0,
    "content": [
        {
            "id": 0,
            "typeId": 0,
            "siteId": 0,
            "orgId": 0,
            "userId": 0,
            "modifiedUserId": 0,
            "processInstanceId": "string",
            "rejectReason": "string",
            "created": "2019-08-24T14:15:22Z",
            "modified": "2019-08-24T14:15:22Z",
            "ip": "string",
            "order": 0,
            "status": 0,
            "mainsJson": "string",
            "site": {
                "id": 0,
                "parentId": 0,
                "orgId": 0,
                "modelId": 0,
                "name": "string",
                "description": "string",
                "protocol": "string",
                "domain": "string",
                "subDir": "string",
                "theme": "string",
                "mobileTheme": "string",
                "pageSize": 0,
                "logo": "string",
                "seoTitle": "string",
                "seoKeywords": "string",
                "seoDescription": "string",
                "staticFile": "string",
                "mobileStaticFile": "string",
                "editorSettings": "string",
                "status": 0,
                "depth": 0,
                "order": 0,
                "views": 0,
                "selfViews": 0,
                "todayViews": 0,
                "yesterdayViews": 0,
                "maxViews": 0,
                "maxDate": "2019-08-24T14:15:22Z",
                "mainsJson": "string",
                "clobsJson": "string",
                "customs": {
                    "property1": {},
                    "property2": {}
                },
                "watermark": {
                    "enabled": true,
                    "overlay": "string",
                    "position": 0,
                    "dissolve": 0,
                    "minWidth": 0,
                    "minHeight": 0
                },
                "html": {
                    "enabled": true,
                    "auto": true,
                    "listPages": 0,
                    "channel": "string",
                    "article": "string",
                    "enabledAndAuto": true
                },
                "messageBoard": {
                    "enabled": true,
                    "loginRequired": true
                },
                "editor": {
                    "property1": {},
                    "property2": {}
                },
                "copyFromId": 0,
                "copyData": [
                    "string"
                ],
                "hasChildren": true,
                "parent": {},
                "org": {
                    "id": 0,
                    "parentId": 0,
                    "name": "string",
                    "phone": "string",
                    "address": "string",
                    "contacts": "string",
                    "depth": 0,
                    "order": 0,
                    "hasChildren": true,
                    "names": [
                        "string"
                    ],
                    "paths": [
                        {}
                    ]
                },
                "model": {
                    "id": 0,
                    "siteId": 0,
                    "name": "string",
                    "type": "string",
                    "scope": 0,
                    "order": 0,
                    "mains": "string",
                    "asides": "string",
                    "customs": "string"
                },
                "enabled": true,
                "url": "string",
                "filesPath": "string",
                "api": "string",
                "mobileStaticUrl": "string",
                "dynamicUrl": "string",
                "staticUrl": "string",
                "normalStaticUrl": "string",
                "dy": "string",
                "names": [
                    "string"
                ],
                "template": "string",
                "staticBase": "string",
                "paths": [
                    {}
                ],
                "disabled": true,
                "htmlEnabled": true,
                "title": "string",
                "targetBlank": true
            },
            "org": {
                "id": 0,
                "parentId": 0,
                "name": "string",
                "phone": "string",
                "address": "string",
                "contacts": "string",
                "depth": 0,
                "order": 0,
                "hasChildren": true,
                "names": [
                    "string"
                ],
                "paths": [
                    {}
                ]
            },
            "user": {
                "id": 0,
                "groupId": 0,
                "orgId": 0,
                "username": "string",
                "email": "string",
                "mobile": "string",
                "alias": "string",
                "nickname": "string",
                "realName": "string",
                "gender": 0,
                "avatar": "string",
                "passwordModified": "2019-08-24T14:15:22Z",
                "rank": 0,
                "type": 0,
                "status": 0,
                "group": {
                    "id": 0,
                    "name": "string",
                    "description": "string",
                    "allAccessPermission": true,
                    "type": 0,
                    "order": 0,
                    "accessPermissions": [
                        0
                    ]
                },
                "org": {
                    "id": 0,
                    "parentId": 0,
                    "name": "string",
                    "phone": "string",
                    "address": "string",
                    "contacts": "string",
                    "depth": 0,
                    "order": 0,
                    "hasChildren": true,
                    "names": [
                        "string"
                    ],
                    "paths": [
                        {}
                    ]
                },
                "roleList": [
                    {
                        "id": 0,
                        "siteId": 0,
                        "name": "string",
                        "description": "string",
                        "allPermission": true,
                        "allGrantPermission": true,
                        "globalPermission": true,
                        "allArticlePermission": true,
                        "allChannelPermission": true,
                        "dataScope": 0,
                        "allStatusPermission": true,
                        "rank": 0,
                        "type": 0,
                        "scope": 0,
                        "order": 0,
                        "permission": "string",
                        "grantPermission": "string",
                        "site": {
                            "id": 0,
                            "parentId": 0,
                            "orgId": 0,
                            "modelId": 0,
                            "name": "string",
                            "description": "string",
                            "protocol": "string",
                            "domain": "string",
                            "subDir": "string",
                            "theme": "string",
                            "mobileTheme": "string",
                            "pageSize": 0,
                            "logo": "string",
                            "seoTitle": "string",
                            "seoKeywords": "string",
                            "seoDescription": "string",
                            "staticFile": "string",
                            "mobileStaticFile": "string",
                            "editorSettings": "string",
                            "status": 0,
                            "depth": 0,
                            "order": 0,
                            "views": 0,
                            "selfViews": 0,
                            "todayViews": 0,
                            "yesterdayViews": 0,
                            "maxViews": 0,
                            "maxDate": "2019-08-24T14:15:22Z",
                            "mainsJson": "string",
                            "clobsJson": "string",
                            "customs": {
                                "property1": {},
                                "property2": {}
                            },
                            "watermark": {
                                "enabled": true,
                                "overlay": "string",
                                "position": 0,
                                "dissolve": 0,
                                "minWidth": 0,
                                "minHeight": 0
                            },
                            "html": {
                                "enabled": true,
                                "auto": true,
                                "listPages": 0,
                                "channel": "string",
                                "article": "string",
                                "enabledAndAuto": true
                            },
                            "messageBoard": {
                                "enabled": true,
                                "loginRequired": true
                            },
                            "editor": {
                                "property1": {},
                                "property2": {}
                            },
                            "copyFromId": 0,
                            "copyData": [
                                "string"
                            ],
                            "hasChildren": true,
                            "parent": {},
                            "org": {
                                "id": 0,
                                "parentId": 0,
                                "name": "string",
                                "phone": "string",
                                "address": "string",
                                "contacts": "string",
                                "depth": 0,
                                "order": 0,
                                "hasChildren": true,
                                "names": [
                                    "string"
                                ],
                                "paths": [
                                    {}
                                ]
                            },
                            "model": {
                                "id": 0,
                                "siteId": 0,
                                "name": "string",
                                "type": "string",
                                "scope": 0,
                                "order": 0,
                                "mains": "string",
                                "asides": "string",
                                "customs": "string"
                            },
                            "enabled": true,
                            "url": "string",
                            "filesPath": "string",
                            "api": "string",
                            "mobileStaticUrl": "string",
                            "dynamicUrl": "string",
                            "staticUrl": "string",
                            "normalStaticUrl": "string",
                            "dy": "string",
                            "names": [
                                "string"
                            ],
                            "template": "string",
                            "staticBase": "string",
                            "paths": [
                                {}
                            ],
                            "disabled": true,
                            "htmlEnabled": true,
                            "title": "string",
                            "targetBlank": true
                        },
                        "global": true
                    }
                ],
                "orgList": [
                    {
                        "id": 0,
                        "parentId": 0,
                        "name": "string",
                        "phone": "string",
                        "address": "string",
                        "contacts": "string",
                        "depth": 0,
                        "order": 0,
                        "hasChildren": true,
                        "names": [
                            "string"
                        ],
                        "paths": [
                            {}
                        ]
                    }
                ],
                "name": "string",
                "location": "string",
                "created": "2019-08-24T14:15:22Z",
                "enabled": true,
                "root": true,
                "loginDate": "2019-08-24T14:15:22Z",
                "loginCount": 0,
                "loginIp": "string",
                "largeAvatar": "string",
                "mediumAvatar": "string",
                "birthday": "2019-08-24T14:15:22Z",
                "bio": "string",
                "homepage": "string",
                "smallAvatar": "string"
            },
            "modifiedUser": {
                "id": 0,
                "groupId": 0,
                "orgId": 0,
                "username": "string",
                "email": "string",
                "mobile": "string",
                "alias": "string",
                "nickname": "string",
                "realName": "string",
                "gender": 0,
                "avatar": "string",
                "passwordModified": "2019-08-24T14:15:22Z",
                "rank": 0,
                "type": 0,
                "status": 0,
                "group": {
                    "id": 0,
                    "name": "string",
                    "description": "string",
                    "allAccessPermission": true,
                    "type": 0,
                    "order": 0,
                    "accessPermissions": [
                        0
                    ]
                },
                "org": {
                    "id": 0,
                    "parentId": 0,
                    "name": "string",
                    "phone": "string",
                    "address": "string",
                    "contacts": "string",
                    "depth": 0,
                    "order": 0,
                    "hasChildren": true,
                    "names": [
                        "string"
                    ],
                    "paths": [
                        {}
                    ]
                },
                "roleList": [
                    {
                        "id": 0,
                        "siteId": 0,
                        "name": "string",
                        "description": "string",
                        "allPermission": true,
                        "allGrantPermission": true,
                        "globalPermission": true,
                        "allArticlePermission": true,
                        "allChannelPermission": true,
                        "dataScope": 0,
                        "allStatusPermission": true,
                        "rank": 0,
                        "type": 0,
                        "scope": 0,
                        "order": 0,
                        "permission": "string",
                        "grantPermission": "string",
                        "site": {
                            "id": 0,
                            "parentId": 0,
                            "orgId": 0,
                            "modelId": 0,
                            "name": "string",
                            "description": "string",
                            "protocol": "string",
                            "domain": "string",
                            "subDir": "string",
                            "theme": "string",
                            "mobileTheme": "string",
                            "pageSize": 0,
                            "logo": "string",
                            "seoTitle": "string",
                            "seoKeywords": "string",
                            "seoDescription": "string",
                            "staticFile": "string",
                            "mobileStaticFile": "string",
                            "editorSettings": "string",
                            "status": 0,
                            "depth": 0,
                            "order": 0,
                            "views": 0,
                            "selfViews": 0,
                            "todayViews": 0,
                            "yesterdayViews": 0,
                            "maxViews": 0,
                            "maxDate": "2019-08-24T14:15:22Z",
                            "mainsJson": "string",
                            "clobsJson": "string",
                            "customs": {
                                "property1": {},
                                "property2": {}
                            },
                            "watermark": {
                                "enabled": true,
                                "overlay": "string",
                                "position": 0,
                                "dissolve": 0,
                                "minWidth": 0,
                                "minHeight": 0
                            },
                            "html": {
                                "enabled": true,
                                "auto": true,
                                "listPages": 0,
                                "channel": "string",
                                "article": "string",
                                "enabledAndAuto": true
                            },
                            "messageBoard": {
                                "enabled": true,
                                "loginRequired": true
                            },
                            "editor": {
                                "property1": {},
                                "property2": {}
                            },
                            "copyFromId": 0,
                            "copyData": [
                                "string"
                            ],
                            "hasChildren": true,
                            "parent": {},
                            "org": {
                                "id": 0,
                                "parentId": 0,
                                "name": "string",
                                "phone": "string",
                                "address": "string",
                                "contacts": "string",
                                "depth": 0,
                                "order": 0,
                                "hasChildren": true,
                                "names": [
                                    "string"
                                ],
                                "paths": [
                                    {}
                                ]
                            },
                            "model": {
                                "id": 0,
                                "siteId": 0,
                                "name": "string",
                                "type": "string",
                                "scope": 0,
                                "order": 0,
                                "mains": "string",
                                "asides": "string",
                                "customs": "string"
                            },
                            "enabled": true,
                            "url": "string",
                            "filesPath": "string",
                            "api": "string",
                            "mobileStaticUrl": "string",
                            "dynamicUrl": "string",
                            "staticUrl": "string",
                            "normalStaticUrl": "string",
                            "dy": "string",
                            "names": [
                                "string"
                            ],
                            "template": "string",
                            "staticBase": "string",
                            "paths": [
                                {}
                            ],
                            "disabled": true,
                            "htmlEnabled": true,
                            "title": "string",
                            "targetBlank": true
                        },
                        "global": true
                    }
                ],
                "orgList": [
                    {
                        "id": 0,
                        "parentId": 0,
                        "name": "string",
                        "phone": "string",
                        "address": "string",
                        "contacts": "string",
                        "depth": 0,
                        "order": 0,
                        "hasChildren": true,
                        "names": [
                            "string"
                        ],
                        "paths": [
                            {}
                        ]
                    }
                ],
                "name": "string",
                "location": "string",
                "created": "2019-08-24T14:15:22Z",
                "enabled": true,
                "root": true,
                "loginDate": "2019-08-24T14:15:22Z",
                "loginCount": 0,
                "loginIp": "string",
                "largeAvatar": "string",
                "mediumAvatar": "string",
                "birthday": "2019-08-24T14:15:22Z",
                "bio": "string",
                "homepage": "string",
                "smallAvatar": "string"
            },
            "type": {
                "id": 0,
                "siteId": 0,
                "modelId": 0,
                "processKey": "string",
                "name": "string",
                "listTemplate": "string",
                "itemTemplate": "string",
                "mode": 0,
                "viewable": true,
                "order": 0,
                "enabled": true,
                "site": {
                    "id": 0,
                    "parentId": 0,
                    "orgId": 0,
                    "modelId": 0,
                    "name": "string",
                    "description": "string",
                    "protocol": "string",
                    "domain": "string",
                    "subDir": "string",
                    "theme": "string",
                    "mobileTheme": "string",
                    "pageSize": 0,
                    "logo": "string",
                    "seoTitle": "string",
                    "seoKeywords": "string",
                    "seoDescription": "string",
                    "staticFile": "string",
                    "mobileStaticFile": "string",
                    "editorSettings": "string",
                    "status": 0,
                    "depth": 0,
                    "order": 0,
                    "views": 0,
                    "selfViews": 0,
                    "todayViews": 0,
                    "yesterdayViews": 0,
                    "maxViews": 0,
                    "maxDate": "2019-08-24T14:15:22Z",
                    "mainsJson": "string",
                    "clobsJson": "string",
                    "customs": {
                        "property1": {},
                        "property2": {}
                    },
                    "watermark": {
                        "enabled": true,
                        "overlay": "string",
                        "position": 0,
                        "dissolve": 0,
                        "minWidth": 0,
                        "minHeight": 0
                    },
                    "html": {
                        "enabled": true,
                        "auto": true,
                        "listPages": 0,
                        "channel": "string",
                        "article": "string",
                        "enabledAndAuto": true
                    },
                    "messageBoard": {
                        "enabled": true,
                        "loginRequired": true
                    },
                    "editor": {
                        "property1": {},
                        "property2": {}
                    },
                    "copyFromId": 0,
                    "copyData": [
                        "string"
                    ],
                    "hasChildren": true,
                    "parent": {},
                    "org": {
                        "id": 0,
                        "parentId": 0,
                        "name": "string",
                        "phone": "string",
                        "address": "string",
                        "contacts": "string",
                        "depth": 0,
                        "order": 0,
                        "hasChildren": true,
                        "names": [
                            "string"
                        ],
                        "paths": [
                            {}
                        ]
                    },
                    "model": {
                        "id": 0,
                        "siteId": 0,
                        "name": "string",
                        "type": "string",
                        "scope": 0,
                        "order": 0,
                        "mains": "string",
                        "asides": "string",
                        "customs": "string"
                    },
                    "enabled": true,
                    "url": "string",
                    "filesPath": "string",
                    "api": "string",
                    "mobileStaticUrl": "string",
                    "dynamicUrl": "string",
                    "staticUrl": "string",
                    "normalStaticUrl": "string",
                    "dy": "string",
                    "names": [
                        "string"
                    ],
                    "template": "string",
                    "staticBase": "string",
                    "paths": [
                        {}
                    ],
                    "disabled": true,
                    "htmlEnabled": true,
                    "title": "string",
                    "targetBlank": true
                },
                "model": {
                    "id": 0,
                    "siteId": 0,
                    "name": "string",
                    "type": "string",
                    "scope": 0,
                    "order": 0,
                    "mains": "string",
                    "asides": "string",
                    "customs": "string"
                }
            },
            "customs": {
                "property1": {},
                "property2": {}
            },
            "taskId": "string",
            "editable": true
        }
    ],
    "number": 0,
    "sort": [
        {
            "direction": "string",
            "nullHandling": "string",
            "ascending": true,
            "property": "string",
            "ignoreCase": true
        }
    ],
    "first": true,
    "last": true,
    "numberOfElements": 0,
    "pageable": {
        "offset": 0,
        "sort": [
            {
                "direction": "string",
                "nullHandling": "string",
                "ascending": true,
                "property": "string",
                "ignoreCase": true
            }
        ],
        "pageSize": 0,
        "pageNumber": 0,
        "paged": true,
        "unpaged": true
    },
    "empty": true
}
上一页
表单列表_FormList
下一页
获取表单对象
Built with