{ "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", "Name": "钉钉授权登录", "Enabled": true, "Triggers": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", "Permission": { "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", "PermissionData": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", "permissionResource": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" }, "permissionBindings": { "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", "roleNames": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "FGC_Anonymous" ] } } ] } } }, "HttpMethod": 3, "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "授权码", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false } } ] } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "DingTalkPlugin.Getuserinfo, DingTalkPlugin", "Code": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=授权码" }, "UserInfo": "用户信息", "BreakpointIdentity": "5ad83140-4749-4cb5-9f99-d714a659e8da" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "查找用户", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "用户信息视图", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "94fbc16d-f6d4-4814-8553-62fbe1bb0336", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "用户名", "GUID": "37f86a0d-9aa8-4731-8aef-ab55b140fe53" }, "ColumnName": "用户名" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "3a0a93fe-4057-4701-a660-6995bea54835", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "全名", "GUID": "25b13193-8f00-4f41-9ad6-3f2e410825ed" }, "ColumnName": "全名" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "49b3c4f3-90ea-4f29-8019-7f03d15751a8", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "邮件", "GUID": "9e3dbcde-f83c-43ec-adbb-ff4b94906832" }, "ColumnName": "邮件" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "DingTalkUnionID", "GUID": "44ae3fa7-ee61-42a7-a76c-4654379d177f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户信息.Unionid" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "eb33bdbd8f0e4a7b9a8840b42c7fa405", "BreakpointIdentity": "1bd84962-da4c-4212-b628-3d1f54be44af" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=查找用户" } }, "value": "%Null%", "compareType": 1 }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$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": { "$type": "System.Collections.Generic.List`1[[UserManagementCommandsV2.ExtendedPropertyDto, UserManagementCommandsV2]], System.Private.CoreLib", "$values": [ { "$type": "UserManagementCommandsV2.ExtendedPropertyDto, UserManagementCommandsV2", "Name": "DingTalkUnionID", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户信息.Unionid" } }, { "$type": "UserManagementCommandsV2.ExtendedPropertyDto, UserManagementCommandsV2", "Name": "DingTalkUserID", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户信息.Userid" } } ] } }, "BreakpointIdentity": "16334a99-7151-4c20-90c6-5c35e6c489be" }, { "$type": "UserManagementCommandsV2.UserManagementCommand, UserManagementCommandsV2", "OperationType": "101", "CommandOperator": { "$type": "UserManagementCommandsV2.LoginOperator, UserManagementCommandsV2", "UserName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=查找用户.用户名" }, "IsCheckPassword": false, "RememberMe": "1" }, "BreakpointIdentity": "1fd510ae-16fb-4c63-b6c1-78e3e0922b15" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "登录成功", "CustomReturns": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", "ReturnPropertyName": "unionid", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户信息.Unionid" } }, { "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", "ReturnPropertyName": "userid", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户信息.Userid" } } ] }, "BreakpointIdentity": "357ab220-c99f-4280-ab06-c05de4e5d599" } ] }, "ID": "1d967862-6629-4ff8-b814-487e64659506" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "300", "Message": "请绑定账号后登录", "CustomReturns": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", "ReturnPropertyName": "unionid", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户信息.Unionid" } }, { "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", "ReturnPropertyName": "userid" } ] }, "BreakpointIdentity": "52c58ada-ffe5-4487-9854-f54a7e5935fb" } ] }, "ID": "b8b6204f-5177-4ac1-851a-908a4c9982a0" } ] }, "BreakpointIdentity": "f757c531-c3cb-477b-a108-1439808247ed" } ] }, "ReturnProperties": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon", "Name": "unionid" }, { "$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon", "Name": "userid" } ] } }