Files
clue/ServerCommands/钉钉/解绑钉钉.json

120 lines
3.9 KiB
JSON

{
"Name": "解绑钉钉",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_LoginUser"
]
}
]
}
},
"Parameters": [
{
"Name": "用户名",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "查找用户",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "99fbef36-5d78-449f-a6c4-a6a70be9bcda",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "3c91a8cb-db6d-4266-b5ea-d4a7fa1d8c64"
},
"ColumnName": "用户名"
},
{
"GUID": "2f0c6914-5d0b-41bd-a6ae-bfd75c5a00b0",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "邮件",
"GUID": "4a52ac73-b4fe-4f04-ab11-ba5e8c0eef4c"
},
"ColumnName": "邮件"
},
{
"GUID": "64a3f7c2-5fc4-4e87-9ac3-52db66257f2a",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "全名",
"GUID": "882386d7-0d8e-468d-ae08-55fd17a4f976"
},
"ColumnName": "全名"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "0dd1ca79-53db-4f0b-9df4-be8aa3ad5a5a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "b0195fe17e0f4d4a90eac80c5ed63073"
},
{
"$type": "UserManagementCommandsV2.UserManagementCommand, UserManagementCommandsV2",
"OperationType": "202",
"CommandOperator": {
"$type": "UserManagementCommandsV2.UpdateUserOperator, UserManagementCommandsV2",
"UserName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=查找用户.用户名"
},
"FullName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=查找用户.全名"
},
"Email": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=查找用户.邮件"
},
"ExtendedProperties": [
{
"Name": "DingTalkUnionID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"\""
}
}
]
}
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "解绑成功"
}
]
}