获取应用详情
#
功能描述
#
用于获取某个应用的详情数据。
调用方式
#
调用选项 | 选项内容 |
---|
HTTP方法 | GET |
URL路径 | https://api.mryqr.com/integration/apps/{appId} |
正常返回状态码 | 200 |
URL参数
#
请求体
#
无
返回体
#
{
"id": "APP377426621503636480",
"name": "XXX应用系统",
"icon": null,
"active": true,
"locked": false,
"version": "1",
"setting": {
"config": {
"homePageId": "p_3GSyiEJIR8qWMxVVNkJMZQ",
"icon": null,
"instanceAlias": null,
"groupAlias": null,
"customIdAlias": null,
"operationPermission": "CAN_MANAGE_GROUP",
"qrWebhookTypes": [
],
"allowDuplicateInstanceName": false,
"geolocationEnabled": false,
"batchPlateEnabled": false,
"appManualEnabled": false,
"assignmentEnabled": false
},
"appTopBar": {
"height": 50,
"textColor": "#606266",
"backgroundColor": "rgba(255, 255, 255, 1)",
"border": {
"type": "SOLID",
"width": 1,
"sides": [
"BOTTOM"
],
"color": "#DCDFE6"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"hPadding": 24
},
"pages": [
{
"id": "p_3GSyiEJIR8qWMxVVNkJMZQ",
"header": {
"type": "CUSTOM",
"showImage": true,
"image": {
"id": "n1s3XfLrT5WLDbCNA8avpg",
"name": "初始页眉图",
"type": "image/jpeg",
"fileUrl": "https://files.mryqr.com/TNT172848287317195776/APP172848516896619520/_APP_EDIT/iE1DKL2ShndEJ3mycUenQM-this-is-an-image.jpeg",
"ossKey": null
},
"imageCropType": "FOUR_TO_THREE",
"showText": false,
"text": "抬头文本",
"textStyle": {
"fontStyle": {
"fontFamily": "默认",
"fontSize": 14,
"bold": false,
"italic": false,
"color": "#444"
},
"alignType": "JUSTIFY",
"backgroundColor": null,
"lineHeight": 1.4,
"fullWidth": true,
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"vPadding": 10,
"hPadding": 10,
"topMargin": 0,
"bottomMargin": 0,
"borderRadius": 0
},
"logoImage": null,
"logoHeight": 20,
"logoAlign": "MIDDLE"
},
"title": {
"text": "点击编辑标题",
"textStyle": {
"fontStyle": {
"fontFamily": "默认",
"fontSize": 20,
"bold": true,
"italic": false,
"color": "#303133"
},
"alignType": "CENTER",
"backgroundColor": null,
"lineHeight": 1.4,
"fullWidth": true,
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"vPadding": 0,
"hPadding": 0,
"topMargin": 30,
"bottomMargin": 20,
"borderRadius": 0
},
"description": null,
"descriptionStyle": {
"fontStyle": {
"fontFamily": "默认",
"fontSize": 14,
"bold": false,
"italic": false,
"color": "#444"
},
"lineHeight": 1.6
}
},
"controls": [
{
"id": "c_h1ZNj1G0RX20iaKAo_JLKg",
"type": "CHECKBOX",
"name": "示例多选",
"nameSetting": {
"hidden": false,
"position": "TOP",
"textStyle": {
"fontStyle": {
"fontFamily": "默认",
"fontSize": 15,
"bold": true,
"italic": false,
"color": "#303133"
},
"alignType": "JUSTIFY",
"backgroundColor": null,
"lineHeight": 1.4,
"fullWidth": true,
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"vPadding": 0,
"hPadding": 0,
"topMargin": 0,
"bottomMargin": 5,
"borderRadius": 0
}
},
"description": null,
"descriptionStyle": {
"fontStyle": {
"fontFamily": "默认",
"fontSize": 14,
"bold": false,
"italic": false,
"color": "#909399"
},
"alignType": "JUSTIFY",
"backgroundColor": null,
"lineHeight": 1.4,
"fullWidth": true,
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"vPadding": 0,
"hPadding": 0,
"topMargin": 0,
"bottomMargin": 5,
"borderRadius": 0
},
"styleSetting": {
"topMargin": 25,
"bottomMargin": 25,
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"borderRadius": {
"radius": 0,
"corners": [
"BOTTOM_LEFT",
"TOP_RIGHT",
"BOTTOM_RIGHT",
"TOP_LEFT"
]
},
"vPadding": 0,
"hPadding": 0,
"backgroundColor": null
},
"fillableSetting": {
"fieldName": null,
"submissionSummaryEligible": true,
"mandatory": false,
"autoFill": false,
"errorTips": null
},
"permissionEnabled": false,
"permission": "CAN_MANAGE_APP",
"submitterViewable": false,
"complete": true,
"options": [
{
"id": "Z5KI5xNKQKeYbj-E4X55hA",
"name": "选项一",
"numericalValue": 0.0,
"color": null
},
{
"id": "fhtKQjXKTK-cGNzmH3ZoNQ",
"name": "选项二",
"numericalValue": 0.0,
"color": null
}
],
"minMaxSetting": {
"min": 0.0,
"max": 20.0
}
}
],
"submitButton": {
"text": "提交",
"buttonStyle": {
"fontStyle": {
"fontFamily": "默认",
"fontSize": 14,
"bold": true,
"italic": false,
"color": "rgba(255, 255, 255, 1)"
},
"backgroundColor": "#00bfff",
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"shadow": {
"width": 0,
"color": "rgba(0, 0, 0, 0.1)"
},
"vPadding": 10,
"borderRadius": 0
}
},
"setting": {
"pageName": "未命名页面",
"submitType": "NEW",
"permission": "AS_TENANT_MEMBER",
"modifyPermission": "CAN_MANAGE_APP",
"submitterUpdatable": false,
"submitterUpdateRange": "IN_1_DAY",
"approvalSetting": {
"approvalEnabled": false,
"permission": "CAN_MANAGE_APP",
"passText": "通过",
"notPassText": "不通过",
"notifySubmitter": false
},
"notificationSetting": {
"enableNotification": false,
"onCreateNotificationRoles": [
],
"onUpdateNotificationRoles": [
]
},
"submissionWebhookTypes": [
],
"actionName": null,
"showAsterisk": false,
"showControlIndex": false,
"hideProfileButton": false,
"hideTopBottomBlank": false,
"hideTopBar": false,
"hideHeader": false,
"hideTitle": false,
"hideMenu": false,
"pageMaxWidth": 650,
"contentMaxWidth": 650,
"pageBackgroundColor": "rgba(255, 255, 255, 1)",
"shadow": {
"width": 6,
"color": "rgba(0, 0, 0, .2)"
},
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"viewPortBackgroundColor": null,
"viewPortBackgroundImage": null,
"afterSubmitBehaviour": {
"type": "DEFAULT",
"internalPageId": null,
"externalUrl": null,
"enableMessage": false,
"message": "提交成功!"
}
}
}
],
"menu": {
"links": [
],
"showBasedOnPermission": false
},
"attributes": [
{
"id": "a_C__sq-hxTtWqgA_d_fT0qg",
"name": "创建人",
"type": "INSTANCE_CREATOR",
"fixedValue": null,
"manualInput": false,
"pageId": null,
"controlId": null,
"range": null,
"instanceSummaryEligible": true,
"kanbanEligible": false,
"suffix": null,
"precision": 0,
"valueType": "MEMBER_VALUE"
},
{
"id": "a_Jyt0WYxoSDuug4f0Z9BrHA",
"name": "创建时间",
"type": "INSTANCE_CREATE_TIME",
"fixedValue": null,
"manualInput": false,
"pageId": null,
"controlId": null,
"range": null,
"instanceSummaryEligible": true,
"kanbanEligible": false,
"suffix": null,
"precision": 0,
"valueType": "TIMESTAMP_VALUE"
}
],
"operationMenuItems": [
{
"id": "sQ8z2JnKQ8qQhOj11we5Xw",
"type": "ALL_SUBMIT_HISTORY",
"name": "所有提交",
"pageId": "ALL"
},
{
"id": "HDS14VTMSaCUktBnb_q3Ag",
"type": "SUBMITTER_SUBMISSION",
"name": "我的提交",
"pageId": "ALL"
},
{
"id": "MQOJ1RNcQgy5v8V0uqx5JQ",
"type": "TO_BE_APPROVED",
"name": "待我审批",
"pageId": "ALL"
}
],
"plateSetting": {
"config": {
"size": "MM_60x60",
"width": 480,
"height": 480,
"backgroundImage": null,
"backgroundColor": null,
"borderRadius": 0,
"padding": 0
},
"controls": [
{
"complete": true,
"id": "7vwAD5iQR1msKTvRuXL_oA",
"type": "QR_IMAGE",
"border": {
"type": "NONE",
"width": 1,
"sides": [
"TOP",
"LEFT",
"RIGHT",
"BOTTOM"
],
"color": "rgba(220, 223, 230, 1)"
},
"borderRadius": {
"radius": 0,
"corners": [
"BOTTOM_LEFT",
"TOP_RIGHT",
"BOTTOM_RIGHT",
"TOP_LEFT"
]
},
"backgroundColor": null,
"marginTop": 10,
"marginBottom": 10,
"marginLeft": 10,
"marginRight": 10,
"paddingTop": 0,
"paddingBottom": 0,
"paddingLeft": 0,
"paddingRight": 0,
"setting": {
"logo": null,
"width": 460,
"color": "#000000",
"margin": 1
},
"alignType": "CENTER"
}
],
"complete": true
}
},
"permission": "AS_TENANT_MEMBER",
"operationPermission": "CAN_MANAGE_GROUP",
"createdAt": 1667825979814,
"createdBy": "MBR377426613333132288"
}
返回体字段定义
#
字段 | 解释 |
---|
id | 应用ID |
name | 应用名称 |
icon | 应用图标,UploadedFile类型 |
active | 是否启用 |
locked | 是否被锁定 |
version | 应用当前版本 |
setting | 应用设置 |
permission | 应用权限,请参考获取应用列表 |
operationPermission | 应用运营权限,请参考获取应用列表 |
createdAt | 创建时间 |
createdBy | 创建人成员ID |