版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

外部接口请求方法请求参数返回结构请求示例
获取鉴权条件GET-


代码块
languagejs
linenumberstrue
collapsetrue
{
	"code": "200",
	"msg": "ok",
	"data": [
		{
			"label": "范围",
			"type": "area",
			"value": "",
			"children": [
				{
					"value": "80"
				},
				{
					"value": "100"
				}
			]
		},
		{
			"label": "性别",
			"type": "checkbox",
			"value": "",
			"children": [
				{
					"label": "男",
					"value": "1"
				},
				{
					"label": "女",
					"value": "2"
				}
			]
		},
		{
			"label": "部门",
			"value": "",
			"type": "select",
			"children": [
				{
					"label": "A部门",
					"value": "a"
				},
				{
					"label": "B部门",
					"value": "b"
				},
				{
					"label": "C部门",
					"value": "c"
				}
			]
		},
		{
			"label": "年龄",
			"type": "number",
			"value": "18",
			"children": []
		},
		{
			"label": "分类",
			"type": "cascader",
			"value": "",
			"children": [
				{
					"label": "项目分组",
					"value": "project_group",
					"children": [
						{
							"label": "新客户",
							"value": "1"
						},
						{
							"label": "未成交老客户",
							"value": "2"
						}
					]
				},
				{
					"label": "经纪人分组",
					"value": "broker_group",
					"children": [
						{
							"label": "自由合伙人",
							"value": "9004"
						},
						{
							"label": "代理公司",
							"value": "9003"
						}
					]
				}
			]
		}
	]
}

参数说明

label:标签名称

value:标签值

type:文本 text,数值 number,多选 select,单选 checkbox,区间 area ,级联 cascader

children:子集(只有在级联、多选、单选、区间类型时才不为空)

https://editor.test.rabbitpre.com/api/editor/proxy/thirddata/api/xxx/cms/getAuthConditions


保存通知接口POST


字段名称字段类型是否必传字段说明
userIdstringtrue当前用户id。透传到客户侧的参数
componentIdstringfalse
当前作品下玩法组件ID。透传到客户侧的参数
appIdstringfalse兔展作品ID。透传到客户侧的参数,该值是否一定有值和作品(玩法)的保存顺序有关
authScopenumbertrue

默认值 0。

0:玩法资格配置,

1:app访问限制资格配置,1:作品访问限制资格配置,

2:流程策略资格配置

externalConfigIdstringfalse外部配置id(传空代表新增配置,不为空代表修改配置)。也即该接口响应返回的configId字段值
treeNodesObjecttrue
└─ labelstringtrue名称
└─ valuestringtrue
└─ childrenObjectfalse子集
└─ typestringfalse文本 text,数值 number,多选 select,单选 checkbox,区间 area ,级联 cascader
sceneTypestringfalse玩法类型
externalConfigOperatorstringfalse外部参数运算符,选项有“ALL”和“IN”,分别对应满足全部与其中之一
externalConfigValueslist<string>false外部条件值



代码块
languagejs
{
	"code:" 200,
	"data": {
		// 外部接口返回的配置id
		"configId": "aaa-bbb-ccc"
	}
}



https://editor.test.rabbitpre.com/api/editor/proxy/thirddata/api/xxx/cms/saveNotice


入参:

{
"treeNodes": [
{
"label": "经纪人分组",
"value": "broker_group",
"type": "select",
"children": [
{
"label": "公务员或企事业单位人员",
"value": "7000661",
"type": "select",
"children": []
}
]
}
],
"externalConfigId": "aaa-bbb-ccc",
"userId": "63fe7339-f4a5-412a-9676-1c15a2ffdecf",
"componentId": "93e0d4e1-e8e6-4451-88a4-355585d4d28f",

"appId": "63fe7339-2wed-trfg-9676-1c15a2ffdecf",

"authScope": 0 ,
"sceneType": "Award"
}









...