{"Message":"更新统计绑定数据","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/FGC_订单记录","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_订单明细表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_商品表","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/message_test","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/项目概况-关键数据"},{"State":1,"Type":1,"Name":"PCPage/任务-基本信息"},{"State":1,"Type":1,"Name":"PCPage/任务-工时"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":26,"Name":"Upload"},{"State":1,"Type":23,"Name":"TableView/项目平行视图"},{"State":1,"Type":23,"Name":"TableView/任务平行视图"},{"State":1,"Type":31,"Name":"UserControlPage/任务统计信息"},{"State":1,"Type":15,"Name":"ServerCommand/生成项目封面"},{"State":1,"Type":1,"Name":"PCPage/TODO-FULL"},{"State":1,"Type":1,"Name":"PCPage/设置时间"},{"State":3,"Type":20,"Name":"ServerCommands/TODO"},{"State":3,"Type":15,"Name":"ServerCommand/取TODO数量"}],"Version":"v1"}
This commit is contained in:
@@ -30,418 +30,478 @@
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
"UserName": "Administrator"
|
||||
"UserName": "Administrator",
|
||||
"RequestTimeout": 200
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "当前用户",
|
||||
"ParameterValue": "%CurrentUser%",
|
||||
"ID": "9c163f975ec2446891416edb45305743"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目",
|
||||
"TableValue": {
|
||||
"TableName": "项目表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"GUID": "73c17c0d-0abf-4448-8a7b-4eb92a3a5eed",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "2e422ab6-d64e-4a2e-9ff2-9878808d3c5c"
|
||||
},
|
||||
"ColumnName": "项目名称"
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "当前用户",
|
||||
"ParameterValue": "%CurrentUser%",
|
||||
"ID": "b9907689a4444b30ab6f2863f9702dda"
|
||||
},
|
||||
{
|
||||
"GUID": "970b4260-56c5-4764-8170-b78c8b716aaa",
|
||||
"BindingInfo": {
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目",
|
||||
"TableValue": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目简介",
|
||||
"GUID": "cc7282d1-923f-4221-b499-88fbf12d02ab"
|
||||
},
|
||||
"ColumnName": "项目简介"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "deb5d689-0982-43f4-a5c0-7daeebaee349"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "5d735635c3964441b5e2a6c2c00d14d8"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"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": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "简介字数",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=LEN(项目.项目简介)"
|
||||
},
|
||||
"ID": "1c3d13eac3964aeaa4e075aaa233ebc1"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目.项目名称"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目.项目简介"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=简介字数"
|
||||
}
|
||||
},
|
||||
"value": "12",
|
||||
"compareType": 2
|
||||
}
|
||||
]
|
||||
"GUID": "0c6372c7-35b2-4d8f-9a28-fddaf84330ec",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "2e422ab6-d64e-4a2e-9ff2-9878808d3c5c"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "role",
|
||||
"Value": "user"
|
||||
},
|
||||
{
|
||||
"Name": "content",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"我的项目名称为:\"&项目.项目名称&\",项目简介:\"&项目.项目简介&\"。请你发挥创意,帮我生成一段英文描述词,回复中请不要携带任何引导语、说明语,只能返回你生成的图片描述。\""
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "user"
|
||||
"ColumnName": "项目名称"
|
||||
},
|
||||
{
|
||||
"GUID": "20c6bf15-496b-4ac0-822a-9c3df517f53c",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目简介",
|
||||
"GUID": "cc7282d1-923f-4221-b499-88fbf12d02ab"
|
||||
},
|
||||
"ColumnName": "项目简介"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "deb5d689-0982-43f4-a5c0-7daeebaee349"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "e91db780eb764a39bb3c08fe95083c24"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"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": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "简介字数",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=LEN(项目.项目简介)"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=user"
|
||||
},
|
||||
"Operation": 15,
|
||||
"OutParamaterName": "消息列表"
|
||||
},
|
||||
{
|
||||
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
|
||||
"URL": "https://openai.api2d.net",
|
||||
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
|
||||
"ORGANIZATION": "",
|
||||
"IsDataSource": "json",
|
||||
"MessageJSON": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=消息列表"
|
||||
},
|
||||
"Parameter": {
|
||||
"Model": 38,
|
||||
"Temperature": 1.0,
|
||||
"TopP": 1.0,
|
||||
"MaxTokens": 100,
|
||||
"SystemContent": "我需要为我的项目生成一张封面图片,需要你帮我生成Prompt英文关键词,用来描述这张图片,以便AI能够准确生成,你可以根据我提供的项目信息,来生成合适的图片描述,以职业、商务、工作主题为主,风格为真实摄影,场景可以是办公楼、办公室、工作场景等,灯光明亮自然,可以抽象一些,而且不要包含明显人物。需要注意的是,你的回复应该只包含我需要的描述,不需要任何其他引导性、说明性文字。",
|
||||
"Response_format": "text"
|
||||
},
|
||||
"Tools": [],
|
||||
"ResultTo": "result",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "Prompt",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result.content"
|
||||
},
|
||||
"ID": "655e2ed0116d42d1910e21f5c52be130"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "生成图片",
|
||||
"Parameters": [
|
||||
"ID": "1c3d13eac3964aeaa4e075aaa233ebc1"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "Prompt",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Prompt"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"ReturnPropertiesTo": [
|
||||
{
|
||||
"ResultPropertyName": "图片地址",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "图片地址"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "e97813c0-1ef7-4799-9af9-b2e4b8af270a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目封面",
|
||||
"GUID": "b723f549-8cc0-4816-981e-9754b294aa55"
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目.项目名称"
|
||||
}
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=图片地址"
|
||||
}
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目.项目简介"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=简介字数"
|
||||
}
|
||||
},
|
||||
"value": "12",
|
||||
"compareType": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "项目首页"
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": "我的软件需要一个封面图片,项目的名称叫“{{项目名称}}”,简介:{{项目简介}},请根据项目信息,推测它所在的行业和适合作为封面的场景,为我生成Prompt。我希望图片不要太花哨,颜色要纯净、高级。",
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "跳转页面"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "成功"
|
||||
},
|
||||
{
|
||||
"Name": "传值",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格",
|
||||
"Value": "项目ID"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前用户"
|
||||
"SetMaxRecursionDepth": 512,
|
||||
"ResultTo": "输出结果"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "任务完成"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"项目\"&项目.项目名称&\"的封面已经生成完毕,记得看看哦~\""
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "role",
|
||||
"Value": "user"
|
||||
},
|
||||
{
|
||||
"Name": "content",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=输出结果"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "user"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=user"
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
"Operation": 15,
|
||||
"OutParamaterName": "消息列表"
|
||||
},
|
||||
{
|
||||
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
|
||||
"URL": "https://openai.api2d.net",
|
||||
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
|
||||
"IsDataSource": "json",
|
||||
"MessageJSON": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=消息列表"
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
"Parameter": {
|
||||
"Model": 38,
|
||||
"Temperature": 1.0,
|
||||
"TopP": 1.0,
|
||||
"MaxTokens": 100,
|
||||
"SystemContent": "你是一个专业的图片Prompt创意专家,你需要根据我给出的要求,生成一段英文Prompt,用于给AI生成图片。Prompt中你需要用英文关键词,对主题、场景、风格、灯光、角度、颜色、质感等等做详细描述,你的回复中只能包含最终生成的Prompt,不能有任何引导语、描述语。",
|
||||
"Response_format": "text"
|
||||
},
|
||||
"Tools": [],
|
||||
"ResultTo": "result",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "Prompt",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result.content"
|
||||
},
|
||||
"ID": "4cf035c0b1844b09a0afa97dd93b2a68"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "生成图片",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "Prompt",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Prompt"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"ReturnPropertiesTo": [
|
||||
{
|
||||
"ResultPropertyName": "图片地址",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "图片地址"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "e97813c0-1ef7-4799-9af9-b2e4b8af270a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目封面",
|
||||
"GUID": "b723f549-8cc0-4816-981e-9754b294aa55"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=图片地址"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "项目首页"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "跳转页面"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "成功"
|
||||
},
|
||||
{
|
||||
"Name": "传值",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格",
|
||||
"Value": "项目ID"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前用户"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "任务完成"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"项目\"&项目.项目名称&\"的封面已经生成完毕,记得看看哦~\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "2f75ccf37baf40af82ba7be5d052a5d6"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=图片地址"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "ae02abcafdb8482c9e99573b675aec20"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=图片地址"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "97b5376b-8bfd-44f6-bd0d-55541e7f79cb"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "项目首页"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "跳转页面"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "成功"
|
||||
},
|
||||
{
|
||||
"Name": "传值",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格",
|
||||
"Value": "项目ID"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前用户"
|
||||
],
|
||||
"ID": "8313122a-ccd7-4205-a4c0-ccaa96b07fd9"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "生成项目图片失败"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": "项目资料不全,请在项目简介中尽量详细说明项目背景、使用场景、使用人群等。"
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目资料不全,请在项目简介中尽量详细说明项目背景、使用场景、使用人群等。"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "b606031976ae49b1b07826ec41fdf9d8"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目资料不全,请在项目简介中尽量详细说明项目背景、使用场景、使用人群等。"
|
||||
}
|
||||
],
|
||||
"ID": "b4971823-fbd5-4791-afaf-9a2a62cba4de"
|
||||
],
|
||||
"ID": "64bb754c-3f26-4d67-a73b-9c5e23c57a1b"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "dc5669cc-9c9a-4cb6-91cd-77e47f09e9c9"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目不存在"
|
||||
}
|
||||
],
|
||||
"ID": "1d51bd03-17f8-43f5-a9f2-b0de38ec89df"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "日志表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "标题",
|
||||
"GUID": "409f3d0c-1e3c-409f-89fa-e35284eed38d"
|
||||
},
|
||||
"Value": "AI生成项目封面"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "427eb193-17cd-49c5-8b8a-c81d83289c47"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "a30e9036-f58e-4e47-ba13-b6ad5e4a622f"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目不存在"
|
||||
}
|
||||
],
|
||||
"ID": "07d6d91c-0be5-4f83-9d70-ad51a869f295"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "6c1b5b7d-3076-4feb-8917-2e3ba41e4bb2"
|
||||
},
|
||||
"Value": "错误"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "项目首页"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "跳转页面"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "成功"
|
||||
},
|
||||
{
|
||||
"Name": "传值",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格",
|
||||
"Value": "项目ID"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前用户"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "生成项目图片失败"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "cfd62bd647df4e64ba3428d7f54370d9"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user