WorkPro 手册

用户应用列表

[API接口调用测试]

接口地址

[接口服务器地址]/api/users/get_apps.html

请求方法

POST

Request Headers

名称 必选 类型 说明
Content-Type true string application/json; charset=UTF-8
authen true string 认证码 什么是认证码
appid true string 接入ID 什么是接入ID
timestamp true string 时间戳
uid true string 当前帐号
lang true string 语言 zh-cn,en-us

Request Body

名称 必选 类型 说明
org_id true string 组织ID
user_id true string 用户ID
platform false string 平台类型 1:PC(默认) 2:Mac 3:QT 4:iOS 5:Android 6:Web
is_detail false integer 是否返回详细数据 1:是 0:否

调用样例及调试工具

测试接口

返回结果(成功)

            {"status":1,"code":0,"msg":"","data":[{"gid":"9a0d5e96be6911e99cb93ea0674a6c29","org_id":"1266ff30ebee11e9a44288d7f697be9a","code":"addon_test2","name":"公告","icon":"\/uploads\/common\/20190101\/40ed4c917705d4e55a751fb62077c8ad_thumb.jpg","group_id":"126ef2d0ebee11e9bc6e88d7f697be9a","pc_target_type":2,"pc_target_url":"","pc_icon":"\/uploads\/common\/20190101\/40ed4c917705d4e55a751fb62077c8ad_thumb.jpg","mobile_target_type":0,"mobile_target_url":"","mobile_icon":"\/uploads\/common\/20190101\/40ed4c917705d4e55a751fb62077c8ad_thumb.jpg","sort":1,"create_time":1546272000,"group_name":"系统应用","group_sort":1}]}