{"Message":"增加钉钉SDK插件,准备进行授权测试","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/个人中心-基本信息"},{"State":1,"Type":16,"Name":"TaskScheduler/应用启动时"},{"State":1,"Type":8,"Name":"ApplicationSetting"},{"State":1,"Type":40,"Name":"Plugin"},{"State":3,"Type":20,"Name":"ServerCommands/钉钉"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/初始化钉钉配置"},{"State":3,"Type":15,"Name":"ServerCommand/通过免登码获取用户信息"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/通过免登码获取用户信息"},{"State":3,"Type":15,"Name":"ServerCommand/绑定钉钉UnionId"},{"State":3,"Type":15,"Name":"ServerCommand/获取CorpId"},{"State":3,"Type":15,"Name":"ServerCommand/解绑钉钉"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-09-04 19:36:32 +08:00
parent 6bd7a8afdc
commit bc802d1032
12 changed files with 700 additions and 132 deletions

View File

@@ -403,12 +403,12 @@
}
}
],
"ID": "798fe1aa-87e2-492d-83d7-daf57c6dd9d8"
"ID": "18b4b711-5d27-45fb-88e8-cbe8f599a755"
}
]
}
],
"ID": "c1c99258-f376-4255-8681-3bb7075bea76"
"ID": "9144988f-b996-49af-9d3c-5037f3415391"
}
]
}
@@ -557,12 +557,12 @@
}
}
],
"ID": "05707b8b-4471-42f8-bcd4-98e9ef397c1a"
"ID": "2d221a06-6658-419e-9596-69e95ea79c75"
}
]
}
],
"ID": "e47bb419-34cd-4381-8df8-171b5ad8b4fe"
"ID": "320df583-af7c-4d17-8f20-3f5dc936b740"
}
]
}
@@ -742,12 +742,12 @@
}
}
],
"ID": "f2f89395-d95e-4029-a303-5ec13a336c9a"
"ID": "357cf42e-9433-446b-b3b2-671a8b1c864a"
}
]
}
],
"ID": "74721a77-bdca-4ccb-9adf-1b06575026d8"
"ID": "08b23816-8e54-4253-9ed3-56452bd12d1c"
}
]
}
@@ -891,12 +891,12 @@
}
}
],
"ID": "6d53538a-b213-4e3c-8698-37f3973747e4"
"ID": "f5354424-d468-40de-8210-d4079e32de32"
}
]
}
],
"ID": "42d2dacf-0f08-4bc4-9762-82ad91cee66d"
"ID": "ffe9e3f0-f764-4317-8669-a040bc76c4ce"
}
]
}
@@ -1130,7 +1130,7 @@
"ReloadData": true
}
],
"ID": "c4bd7db4-cd51-4753-9490-a6a0ea093d32"
"ID": "a511b455-0227-4139-a81c-9cdbebcf6921"
},
{
"CommandList": [
@@ -1145,12 +1145,12 @@
"BtnText": "知道了"
}
],
"ID": "3709f584-e096-4d4e-84e1-e696d4084980"
"ID": "f25acbae-384b-4731-a9e6-65e4b2910877"
}
]
}
],
"ID": "bd15c9cf-7e0e-4f7a-9acb-9a08494bdb56"
"ID": "7eb09893-e07d-4d6c-99f4-af55390f4941"
},
{
"CommandList": [
@@ -1162,7 +1162,7 @@
"BtnText": "知道了"
}
],
"ID": "08185035-e6ed-43cc-85de-0e2e9085e9d1"
"ID": "e8ede701-9300-4a29-b75e-c9d3ee1ea6f5"
}
]
}
@@ -1180,6 +1180,196 @@
"16,5": {
"CellType": {
"$type": "Forguncy.HyperlinkCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionCurrentUserInfoParam, ServerDesignerCommon",
"currentUserProperty": {
"UserProperty": "DingTalkUnionID",
"PropertyType": 4
}
},
"value": "%Null%"
},
"CommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"Title": "加载中"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "获取CorpId",
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "CorpId",
"ResultTo": {
"SerializeProperty": "CorpId"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=code"
}
]
},
"value": "0"
},
"CommandList": [
{
"$type": "DingTalkPlugin.RequestAuthCode, DingTalkPlugin",
"CorpId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='个人中心-基本信息'!CorpId"
},
"Code": "授权码"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "绑定钉钉UnionId",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "免登码",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='个人中心-基本信息'!授权码"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "UnionId",
"ResultTo": {
"SerializeProperty": "='个人中心-基本信息'!J17"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}
],
"ID": "ff16ff08-3abd-4ea3-959c-c44bd591b426"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='个人中心-基本信息'!msg"
}
}
],
"ID": "7012a1d0-ac5a-41bc-a9bc-32c713e51c65"
}
]
}
],
"ID": "b6df8347-3d2b-4a9e-ba44-aa11788003c4"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "解绑钉钉",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "='个人中心-基本信息'!code"
}
]
},
"value": "0"
},
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='个人中心-基本信息'!msg"
}
}
],
"ID": "7041e110-0f00-4414-83fb-589d529e3bbf"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='个人中心-基本信息'!msg"
}
}
],
"ID": "1130ba9d-ec2f-48cd-b71f-497f96a26ee2"
}
]
}
],
"ID": "e1e4173e-b875-43c3-85d2-16ee41652f6c"
}
]
}
],
"Text": "未绑定",
"ClickMode": 1,
"IsDisabled": true,
@@ -1956,4 +2146,4 @@
"Formula": "'个人中心-基本信息'!$F$11"
}
]
}//Strh0xU14QD30L78KDfprk85TQ5s7LAJyjRSBGN2Sb6BAM8Gia7l78Kt2P0qHMUDM4lBBPEXeZ3EZ7KiYEHNG7y07ZhGwtVsHTyABn8cImdCJn+VyXYp+/jTj5Xy00DlhNjhLTWEXPKBH0cvB82v7QfBEtBt3gpLGb56TMDlCywatJ/N3R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