{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":20,"Name":"ServerCommands/Gitee"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/请求令牌"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/创建一个仓库WebHook"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/删除一个仓库WebHook"},{"State":1,"Type":15,"Name":"ServerCommand/GitCallback"},{"State":1,"Type":1,"Name":"PCPage/选择Git仓库"},{"State":1,"Type":15,"Name":"ServerCommand/同步一个仓库到表"},{"State":1,"Type":15,"Name":"ServerCommand/搜索仓库"},{"State":2,"Type":15,"Name":"ServerCommand/获取用户的所有仓库"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-13 16:18:10 +08:00
parent 073a203f9d
commit b34d650fea
8 changed files with 477 additions and 835 deletions

View File

@@ -1630,42 +1630,15 @@
}, },
{ {
"ModuleName": "ServerCommands/Gitee", "ModuleName": "ServerCommands/Gitee",
"State": 1, "ModuleType": 20
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.9141806+08:00",
"ModuleType": 20,
"ToRemoveFiles": [
"ServerCommands\\Gitee"
]
}, },
{ {
"ModuleName": "ServerCommandPrivate/请求令牌", "ModuleName": "ServerCommandPrivate/请求令牌",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.8889782+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\请求令牌.json"
]
}, },
{ {
"ModuleName": "ServerCommandPrivate/创建一个仓库WebHook", "ModuleName": "ServerCommandPrivate/创建一个仓库WebHook",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.9133068+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\创建一个仓库WebHook.json"
]
}, },
{ {
"ModuleName": "Pages/系统", "ModuleName": "Pages/系统",
@@ -1677,16 +1650,7 @@
}, },
{ {
"ModuleName": "ServerCommandPrivate/删除一个仓库WebHook", "ModuleName": "ServerCommandPrivate/删除一个仓库WebHook",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.9133379+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\删除一个仓库WebHook.json"
]
}, },
{ {
"ModuleName": "Table/Git仓库表", "ModuleName": "Table/Git仓库表",
@@ -1702,16 +1666,7 @@
}, },
{ {
"ModuleName": "ServerCommand/GitCallback", "ModuleName": "ServerCommand/GitCallback",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.9133549+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\GitCallback.json"
]
}, },
{ {
"ModuleName": "Table/日志表", "ModuleName": "Table/日志表",
@@ -1723,19 +1678,7 @@
}, },
{ {
"ModuleName": "PCPage/选择Git仓库", "ModuleName": "PCPage/选择Git仓库",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T14:52:59.2404564+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\Git\\选择Git仓库.json",
"Pages\\Git\\选择Git仓库.rd",
"Pages\\4347ba70d904424d852fada4b0f0b0a.json",
"Pages\\4347ba70d904424d852fada4b0f0b0a.rd"
]
}, },
{ {
"ModuleName": "Pages/Git", "ModuleName": "Pages/Git",
@@ -1743,16 +1686,7 @@
}, },
{ {
"ModuleName": "ServerCommand/同步一个仓库到表", "ModuleName": "ServerCommand/同步一个仓库到表",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.913379+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\同步一个仓库到表.json"
]
}, },
{ {
"ModuleName": "ServerCommand/搜索仓库列表", "ModuleName": "ServerCommand/搜索仓库列表",
@@ -1760,28 +1694,6 @@
}, },
{ {
"ModuleName": "ServerCommand/搜索仓库", "ModuleName": "ServerCommand/搜索仓库",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T15:58:01.9131988+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\搜索仓库.json"
]
},
{
"ModuleName": "ServerCommand/获取用户的所有仓库",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:18:02.8221513+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\获取用户的所有仓库.json"
]
} }
] ]

View File

@@ -1,6 +1,21 @@
{ {
"Rows": { "Rows": {
"RowColumnAttachedInfos": { "RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 35.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"3": { "3": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
@@ -66,21 +81,6 @@
"DesignLengthInPixel": 36.0, "DesignLengthInPixel": 36.0,
"IsHidden": true "IsHidden": true
} }
},
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 35.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
} }
}, },
"InLogicalVisibleIndexes": [ "InLogicalVisibleIndexes": [
@@ -91,6 +91,11 @@
}, },
"Cols": { "Cols": {
"RowColumnAttachedInfos": { "RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"1": { "1": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
@@ -286,11 +291,6 @@
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
} }
}, },
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"40": { "40": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0 "DesignLengthInPixel": 20.0
@@ -305,7 +305,7 @@
"1,36": "确认选择", "1,36": "确认选择",
"26,5": "加载", "26,5": "加载",
"26,9": 1, "26,9": 1,
"26,13": 10 "26,13": 12
}, },
"AttachInfos": { "AttachInfos": {
"1,1": { "1,1": {
@@ -327,7 +327,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!每页显示行数" "SerializeProperty": "=选择Git仓库!每页显示行数"
}, },
"Value": "10" "Value": "12"
} }
] ]
}, },
@@ -392,7 +392,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!每页显示行数" "SerializeProperty": "=选择Git仓库!每页显示行数"
}, },
"Value": "10" "Value": "12"
} }
] ]
}, },
@@ -624,7 +624,7 @@
"PassValueBack": true "PassValueBack": true
} }
], ],
"ID": "01df6a49-06a0-4047-9bd2-af41fa1e16fb" "ID": "c53855e5-b3e3-49df-a381-dc52e67794a7"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -637,12 +637,12 @@
} }
} }
], ],
"ID": "630c1132-ba03-46ca-a681-aa4ad2613127" "ID": "b0528c9c-b5fa-4358-bde6-e9e718e3bcd4"
} }
] ]
} }
], ],
"ID": "30874fba-2d37-4789-afab-4c2905ae3d75" "ID": "6225c176-d9dd-4057-9faf-0a0a70eeecbd"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -652,7 +652,7 @@
"Message": "请选择一个仓库" "Message": "请选择一个仓库"
} }
], ],
"ID": "6969f218-79b8-4c96-8258-54773657770a" "ID": "3164910c-9f12-4edf-b743-8f077f0d4484"
} }
] ]
} }
@@ -885,6 +885,7 @@
} }
}, },
"ListviewName": "仓库虚拟表格", "ListviewName": "仓库虚拟表格",
"pageSize": 12,
"pagerCount": 7, "pagerCount": 7,
"layout": [ "layout": [
{ {
@@ -907,21 +908,29 @@
} }
], ],
"pageSizes": [ "pageSizes": [
{},
{ {
"value": 20 "value": 12
}, },
{ {
"value": 30 "value": 24
}, },
{ {
"value": 40 "value": 36
}, },
{ {
"value": 50 "value": 48
}, },
{ {
"value": 100 "value": 60
},
{
"value": 72
},
{
"value": 84
},
{
"value": 96
} }
] ]
} }
@@ -944,6 +953,68 @@
"ParameterValue": "%CurrentUser%", "ParameterValue": "%CurrentUser%",
"ID": "65852367dd294d6688e6a8ebb921bd21" "ID": "65852367dd294d6688e6a8ebb921bd21"
}, },
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "搜索仓库",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!当前用户"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "关键字",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!搜索框"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "页码",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!当前页码"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "行数",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!每页显示行数"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "类型",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!AD2"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "仓库列表",
"ResultTo": {
"SerializeProperty": "仓库列表"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ConditionAndCommandPairList": [
@@ -954,182 +1025,84 @@
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [ "cellLocations": [
{ {
"SerializeProperty": "=选择Git仓库!AD2" "SerializeProperty": "=code"
} }
] ]
}, },
"value": "个人" "value": "0"
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "$type": "JsonDataSource.ImportJsonDataToListviewCommand, JsonDataSource",
"ServerCommandName": "获取用户的所有仓库", "Listview": "仓库虚拟表格",
"Parameters": [ "ListviewColumnInfos": [
{ {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ListViewColumnCell": "仓库ID",
"ParamName": "用户名", "PropertyName": "ID"
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!当前用户"
}
}, },
{ {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ListViewColumnCell": "空间路径名",
"ParamName": "关键字", "PropertyName": "空间路径名"
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!搜索框"
}
}, },
{ {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ListViewColumnCell": "空间名称",
"ParamName": "页码", "PropertyName": "空间名称"
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!当前页码"
}
}, },
{ {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ListViewColumnCell": "仓库路径名",
"ParamName": "行数", "PropertyName": "仓库路径名"
"Value": { },
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", {
"SerializeProperty": "=选择Git仓库!每页显示行数" "ListViewColumnCell": "仓库名称",
} "PropertyName": "仓库名称"
},
{
"ListViewColumnCell": "仓库地址",
"PropertyName": "仓库地址"
},
{
"ListViewColumnCell": "仓库描述",
"PropertyName": "仓库描述"
},
{
"ListViewColumnCell": "仓库成员",
"PropertyName": "仓库成员"
},
{
"ListViewColumnCell": "创建人",
"PropertyName": "创建人"
},
{
"ListViewColumnCell": "创建人头像",
"PropertyName": "创建人头像"
} }
], ],
"ResultErrorCodeTo": { "SourceCell": {
"SerializeProperty": "code" "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!仓库列表"
}, },
"ResultMessageTo": { "SampleJson": "[\r\n {\r\n \"ID\": 28499535,\r\n \"空间路径名\": \"GridStudio\",\r\n \"空间名称\": \"罗田县格友软件开发工作室\",\r\n \"仓库路径名\": \"lodop-plugin-application-demo\",\r\n \"仓库名称\": \"LODOP插件应用DEMO\",\r\n \"仓库地址\": \"https://gitee.com/GridStudio/lodop-plugin-application-demo.git\",\r\n \"仓库描述\": \"活字格前端插件\",\r\n \"仓库成员\": \"cuckooent\",\r\n \"创建人\": \"超哥\",\r\n \"创建人头像\": \"https://foruda.gitee.com/avatar/1677043949039184563/5267986_cuckooent_1646218684.png\"\r\n }\r\n]\r\n"
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "仓库列表",
"ResultTo": {
"SerializeProperty": "仓库列表"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
} }
], ],
"ID": "812434bc-7b6c-44c0-b09d-8c9f7ec2d3a7" "ID": "897206ce-5cde-422f-ad5c-806e43e4de29"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"ServerCommandName": "获取企业的所有仓库", "FunctionName": "warning",
"Parameters": [ "Title": "温馨提示",
{ "Message": {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"ParamName": "用户名", "SerializeProperty": "=选择Git仓库!msg"
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!当前用户"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "关键字",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!搜索框"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "页码",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!当前页码"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "行数",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!每页显示行数"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
}, },
"ResultMessageTo": { "BtnText": "知道了"
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "仓库列表",
"ResultTo": {
"SerializeProperty": "仓库列表"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
} }
], ],
"ID": "c60f828c-12bf-4a13-aed2-2eb1f74f8519" "ID": "c77a3d67-ce96-4a18-82ea-a575b70f5ac1"
} }
] ]
}, },
{
"$type": "JsonDataSource.ImportJsonDataToListviewCommand, JsonDataSource",
"Listview": "仓库虚拟表格",
"ListviewColumnInfos": [
{
"ListViewColumnCell": "仓库ID",
"PropertyName": "ID"
},
{
"ListViewColumnCell": "空间路径名",
"PropertyName": "空间路径名"
},
{
"ListViewColumnCell": "空间名称",
"PropertyName": "空间名称"
},
{
"ListViewColumnCell": "仓库路径名",
"PropertyName": "仓库路径名"
},
{
"ListViewColumnCell": "仓库名称",
"PropertyName": "仓库名称"
},
{
"ListViewColumnCell": "仓库地址",
"PropertyName": "仓库地址"
},
{
"ListViewColumnCell": "仓库描述",
"PropertyName": "仓库描述"
},
{
"ListViewColumnCell": "仓库成员",
"PropertyName": "仓库成员"
},
{
"ListViewColumnCell": "创建人",
"PropertyName": "创建人"
},
{
"ListViewColumnCell": "创建人头像",
"PropertyName": "创建人头像"
}
],
"SourceCell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=选择Git仓库!仓库列表"
},
"SampleJson": "[\r\n {\r\n \"ID\": 28499535,\r\n \"空间路径名\": \"GridStudio\",\r\n \"空间名称\": \"罗田县格友软件开发工作室\",\r\n \"仓库路径名\": \"lodop-plugin-application-demo\",\r\n \"仓库名称\": \"LODOP插件应用DEMO\",\r\n \"仓库地址\": \"https://gitee.com/GridStudio/lodop-plugin-application-demo.git\",\r\n \"仓库描述\": \"活字格前端插件\",\r\n \"仓库成员\": \"cuckooent\",\r\n \"创建人\": \"超哥\",\r\n \"创建人头像\": \"https://foruda.gitee.com/avatar/1677043949039184563/5267986_cuckooent_1646218684.png\"\r\n }\r\n]\r\n"
},
{ {
"$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy",
"FunctionName": "remove", "FunctionName": "remove",
@@ -1700,4 +1673,4 @@
"Formula": "选择Git仓库!$B$2" "Formula": "选择Git仓库!$B$2"
} }
] ]
}//YYD5CitlbK36GBdT/z5YwYvWaEM+/FgPdJRV3BZ9NGtjNaBKyvRstUmv3lOzr0iAUsy+I++ycEa7CjXQoJGopwy9bnU1rBEKP7uofjWViz28JJLJY1EJaZJsLNIy06YGai/Y2kf7VOZG4qQDSiMK6k9GzLK5481ySNS82HMW3ZKxwA+RW2UrIy72T0ECYKcYJVRfJH6RdidN1Pv19+Rw1uZ6tSx3IIpN7qE8tr7DooRp7+MbdUqCCjKZe/BMyzghe/2JzKswBKpj+CXma6CjT82RCG3VaJYlzswvDg9fXvNQHVqRHN84Zzj1Ztmzd+rmvUB/TfVQk303vl4jdqdkfYF80vKfHUAj0j8aCAlrkuVWKSIPqZriM3RYIojMSU8xqnXeZnVvxh07edTK8UZtb2RB/fF+5g+RmziPLWq7IM5TE+Jck/r9CjfWrx1aoXYfQSclgAsz2pcgO/SPu4aSkC2yXiuLyPbeN4dFkkWIx9QtB5LuDGodBYZbB9+rZuqXwNoF4CUAHxnEVFl/IiPatrSvCuY9AeOrK7YXss7D9jr3MXiNVSCOxoE9zNFZDMHsUJ3ENU73nIufsTUz98q+sMWZXO1Ks2sFxbM+pmWHyg6c+C2G8zD2oSYe+P7rX0FhJxI2cou+VSG4VSenwFOAexH6KxkIillmWMlljMPB17nV5uibT1RTeVocPcZmb2GvmTbZ+w9zPwOv9UYdXtU3uMxY4IERCapLXQ2aOmEPIbXkhEMwj1KeMkB2j9W19FZ/GzpjZtszL0wpt9meWdF3ZGaMePt9tuiQmxCWhDInILgVG1ZOSjH8gWf7GE2VPhXDla4gR+mv/XUwICnqGqVrARMbg+rTCn8+vH8V88xm7CqMOa1ko/mjAtUOxkimY41tFbmV6eUrkadcIn9kzKYHAA==|920 }//HeaY0i6k95vHnAZ+cyQWKcu++j7cBE2DFjd10U1HCRduTKYYy30rNUwOi6aZEmeofweOir15YhA/qOF9NXx3f4k9WbO+fwmO/IRg0/h292Irex3NN8zj+UFCn9b8n9JFrCOTjz2HOvZNLbBNPH5D5cJP0U5QAzPhReBaLL0/4Sp2XEx20Kij5nsFEt1+8JA2EPBJjQZp/V50d/GR6a139F61M4j2mSnoBfnhtVLm6DO9dMK37MNqP/5woemHNnkOh1C7ozatS1/glZ9snvFauWr3CmuFVfxgAieTSFhr5F/AwOsS62WKtCpk+cJxdYJp5sOFGD72VSFXx50I4h9yDg9Q+7ZOKU2lqwUmMxJGR7VzhI+g5BHaU9VOGBXM84UUXHzIRciLqU0xheJaeytFlG0zb9fRB6cgvKFfqYzhEIgvLt4EquD4AgeI6aoX81jm/xfo23oh6yFD5xjBC5JHbMBeh0d4D/K+Kn6NA72Uja5tMTKtjeX0eKWMU2DXLezExwJFJdE8S3QvSSHGiCHyuSaorZkdZAgHJi2uCU6DcwEIU1UrRdkH1I48ObOj5v+/ujICu3bVt0ImC2DixyXBBEd+rfyGapJgqngYLxK82yA8JEgGis3TyOCicaNHzWQ1FUz0ubmFQ4tgg79ionKTStKXFMncGy0e0BaQIzRbh3EV5rasvRP5dhVeXFifbfm7X0NrT/kMyes5Hr7CGulx5yi+yEwWpJwA70tuXjXRRDwi3uJSsK8STaCjis2LR6w6SwY8xpKiJLjDOPsA0nmSF1oxzoILp4kjBYJ7bCniP2wgqMigDVfHqiI0RSrYN0OaAmD/7dRnJCms+aDgKlm1Ftmtuo8T7CaJ//cvujikPJvvOFJIZpzBaS4BFCxkSda1PWR9ZP7yvHkd3zhkvpzFAw==|920

View File

@@ -434,7 +434,7 @@
} }
} }
], ],
"ID": "062c8d39-13c7-4101-bd8d-6fc7ad6a3e5d" "ID": "031b5ddf-ab69-4f5c-b019-04dffd44a385"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -461,12 +461,12 @@
] ]
} }
], ],
"ID": "2be60152-4f35-4b2d-8ac0-59bd10d495a1" "ID": "77757baf-64c1-43e5-b44c-acabb396fb97"
} }
] ]
} }
], ],
"ID": "9e16d6e7-a0f1-4d32-9b6c-02a61e46b215" "ID": "5a9df93d-443d-4f18-95e4-beb69f5af6fb"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -502,12 +502,12 @@
] ]
} }
], ],
"ID": "f1b86e04-26d0-48b8-a57a-627c6ab502c3" "ID": "d571148c-ddcf-45ee-a42e-3becef8b19de"
} }
] ]
} }
], ],
"ID": "62249388-d560-49d9-b880-66c4dfe9917b" "ID": "6f4b26b3-63d6-48cf-b7a7-5cc107627190"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -528,12 +528,12 @@
] ]
} }
], ],
"ID": "d4a841d5-616d-4856-91c1-5e09d9ef0d19" "ID": "02c8bfbc-5390-4d4a-a763-978ff5dee27a"
} }
] ]
} }
], ],
"ID": "7ab9d8c8-5f25-411c-b84a-bc652e49872e" "ID": "d190a6f3-a4b0-44e7-a1e5-977c67381fd8"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -554,7 +554,7 @@
] ]
} }
], ],
"ID": "f90f8336-7ffa-4974-9d86-28d538890261" "ID": "dd54f4bf-7b36-4757-85e8-6260abdef1f8"
} }
] ]
} }

View File

@@ -257,7 +257,7 @@
} }
} }
], ],
"ID": "3d7aae36-4284-4774-b1b0-b9dd97b71884" "ID": "452284ba-2452-4c0b-a055-d020ad61f420"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -273,12 +273,12 @@
} }
} }
], ],
"ID": "dd119496-d60e-47fb-827d-6ae821d171c1" "ID": "68f5ba75-4d15-4baf-9ee9-595e5c1815f0"
} }
] ]
} }
], ],
"ID": "22d13d2c-b49a-4d0d-8a7f-b56f412c3f84" "ID": "0d3cb56e-14ec-420c-82f9-995d7b5a1a48"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -288,7 +288,7 @@
"Message": "请先配置全局Gitee企业路径名" "Message": "请先配置全局Gitee企业路径名"
} }
], ],
"ID": "3c065a55-ba75-4fe4-b3f1-3114ed3aa694" "ID": "abca0571-92c2-428d-870c-f50a45319d21"
} }
] ]
} }

View File

@@ -270,7 +270,7 @@
] ]
} }
], ],
"ID": "80813e9f-283a-4403-a633-860f7c3c9e84" "ID": "aebd842f-5e38-4248-bc8a-4cd8b7f809e4"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -394,7 +394,7 @@
] ]
} }
], ],
"ID": "2d93347d-4804-4cd7-90f0-bb959f962714" "ID": "62a3c749-befb-4c70-8d39-5f5f5016f21e"
} }
] ]
}, },
@@ -470,7 +470,7 @@
"Message": "仓库创建并订阅成功!" "Message": "仓库创建并订阅成功!"
} }
], ],
"ID": "01bd4a4a-25a1-47a7-aff1-03e0fa05ed57" "ID": "c55bf80e-90d8-4d7f-9365-34f71cfb6567"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -480,7 +480,7 @@
"Message": "仓库创建成功,但未能订阅,请手动订阅" "Message": "仓库创建成功,但未能订阅,请手动订阅"
} }
], ],
"ID": "602cc6b8-a64d-4ffb-8f12-faf8c062ad86" "ID": "a8c36ae0-f75f-4215-a245-ac6038b5d58c"
} }
] ]
} }

View File

@@ -42,6 +42,11 @@
"Name": "行数", "Name": "行数",
"DataValidationInfo": {}, "DataValidationInfo": {},
"TestData": "20" "TestData": "20"
},
{
"Name": "类型",
"DataValidationInfo": {},
"TestData": "企业"
} }
], ],
"InvokeTriggerTestData": { "InvokeTriggerTestData": {
@@ -58,7 +63,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "000f08ba-ce47-4275-bf3f-f4756cd687d0", "GUID": "632e0994-2a36-41ec-9804-50a50c5a7a9c",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT用户名", "ColumnName": "GIT用户名",
@@ -67,7 +72,7 @@
"ColumnName": "GIT用户名" "ColumnName": "GIT用户名"
}, },
{ {
"GUID": "9e9b45e6-9e59-47bd-9dae-8eccefbdd168", "GUID": "51efeb90-0f7f-48e1-8b17-2da73b571818",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT密码", "ColumnName": "GIT密码",
@@ -91,7 +96,7 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "23ff64d5cb86411080f5dc3a39b71562" "ID": "739a7b1fc47d4c43ab0f9926980780a3"
}, },
{ {
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
@@ -171,64 +176,291 @@
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ParameterName": "url", "ConditionAndCommandPairList": [
"ParameterValue": "https://gitee.com/api/v5/search/repositories", {
"ID": "c30bcacc060a4257a28355953a2d2985" "Condition": {
}, "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
{ "param": {
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"PostData": { "ParamObject": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN" "SerializeProperty": "=类型"
} }
}, },
"value": "个人"
},
"CommandList": [
{ {
"Name": "q", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"DataItemType": 0, "ParameterName": "url",
"Data": { "ParameterValue": "https://gitee.com/api/v5/user/repos",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "ID": "e87eaebfa9f740ec9f36f69f062d99df"
"SerializeProperty": "=关键字"
}
}, },
{ {
"Name": "page", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"DataItemType": 0, "PostData": {
"Data": { "DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "visibility",
"DataItemType": 0,
"Data": "all"
},
{
"Name": "affiliation",
"DataItemType": 0,
"Data": "admin"
},
{
"Name": "q",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码" "SerializeProperty": "=url"
} },
}, "Method": "GET",
{ "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"Name": "per_page", "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"DataItemType": 0, "NewParameter": "result",
"Data": { "Header": [],
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "Timeout": 100.0
"SerializeProperty": "=行数"
}
} }
] ],
"ID": "6ad852dc-f0f9-406b-876f-184f83524090"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=类型"
}
},
"value": "企业"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://gitee.com/api/v5/enterprises/\"&Gitee.enterprise&\"/repos\""
},
"ID": "47758608776342c69eba4ef82575a94e"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "search",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "type",
"DataItemType": 0,
"Data": "all"
},
{
"Name": "direct",
"DataItemType": 0,
"Data": true
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"NewParameter": "result",
"Header": [],
"Timeout": 100.0
}
],
"ID": "3a7dfa5c-2fbc-42e8-a9db-52c76a347a24"
},
{
"CommandList": [
{
"$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": "url",
"ParameterValue": "https://gitee.com/api/v5/search/repositories",
"ID": "f6c4537f166f41d2ac4c7da839a2daa6"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "q",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "fork",
"DataItemType": 0,
"Data": false
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"NewParameter": "result",
"Header": [],
"Timeout": 100.0
}
],
"ID": "28684180-7bc4-4ceb-a40d-4089961cc44e"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "搜索所有仓库时,必须填写关键字",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
],
"ID": "08c2c1e8-fe59-4503-ba27-303f58aa602f"
}
]
}
],
"ID": "601681b2-eb33-4b89-af31-b9528b9ff14e"
} }
}, ]
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"NewParameter": "result",
"Header": [],
"Timeout": 100.0
}, },
{ {
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
@@ -382,7 +614,7 @@
] ]
} }
], ],
"ID": "a6e4557a-0215-4ccd-b386-f171fed6d096" "ID": "5be73592-8762-4dc7-9792-95dd0a25da67"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -397,7 +629,7 @@
] ]
} }
], ],
"ID": "a680a444-14f6-41dc-ad33-2c1bf49a018c" "ID": "d76def9f-10ce-46da-8ea2-437362839574"
} }
] ]
} }
@@ -422,7 +654,7 @@
} }
} }
], ],
"ID": "8c2cba52-280c-4817-bc34-92acfcdb7ec1" "ID": "abcdda2d-3ea1-4638-a366-68531218353e"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -443,12 +675,12 @@
] ]
} }
], ],
"ID": "98396a37-1b66-41f8-8086-262a42884fbd" "ID": "62914a42-8123-4e6c-9e67-54744d913100"
} }
] ]
} }
], ],
"ID": "1e65b0c1-d885-462d-87cb-3606c8ed982a" "ID": "c6a43e25-6dde-4fb7-8f24-cbd2c728e192"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -463,7 +695,7 @@
] ]
} }
], ],
"ID": "251d4438-c171-476d-ac05-4b5f114d5a07" "ID": "a0f96d73-acf3-410a-904d-3774cc75fca2"
} }
] ]
} }

View File

@@ -1,475 +0,0 @@
{
"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
},
"TestData": "Administrator"
},
{
"Name": "关键字",
"DataValidationInfo": {}
},
{
"Name": "页码",
"DataValidationInfo": {},
"TestData": "1"
},
{
"Name": "行数",
"DataValidationInfo": {},
"TestData": "20"
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "594c3620-ea22-499f-a1e9-7b1a82710199",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
"GUID": "2d81fd07-9009-46be-b80b-a2525ff065b3"
},
"ColumnName": "GIT用户名"
},
{
"GUID": "4143bb72-5cfe-4fe3-8b75-788af09fcecc",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT密码",
"GUID": "c3b83a87-59d3-4082-93b1-96f89d00e612"
},
"ColumnName": "GIT密码"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "2809fe27-b8e0-427f-9915-4b78b669e87b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "3cc1580318c3452ab67b1729ac074d09"
},
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_Gitee"
},
"SampleJson": "{\"enterprise\":\"GridStudio\",\"client_id\":\"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\"client_secret\":\"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\"}",
"ToParameter": "Gitee"
},
{
"$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": "=Gitee.enterprise"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "1"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "最新令牌",
"ResultTo": {
"SerializeProperty": "TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$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": "=code"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": "https://gitee.com/api/v5/user/repos",
"ID": "8f479887b1d34dcd88e3c5a8f8064a86"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "q",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"NewParameter": "result",
"Header": [],
"Timeout": 100.0
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$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": "=result.Count"
}
},
"value": "0",
"compareType": 2
},
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "仓库列表"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.members"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OutParamaterName": "仓库成员名称"
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": [
{
"Name": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.id"
}
},
{
"Name": "空间路径名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.namespace.path"
}
},
{
"Name": "空间名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.namespace.name"
}
},
{
"Name": "仓库路径名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.path"
}
},
{
"Name": "仓库名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.name"
}
},
{
"Name": "仓库地址",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.html_url"
}
},
{
"Name": "仓库描述",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.description"
}
},
{
"Name": "仓库成员",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库成员名称"
}
},
{
"Name": "创建人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.owner.name"
}
},
{
"Name": "创建人头像",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.owner.avatar_url"
}
}
],
"OutParamaterName": "仓库信息"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库信息"
},
"OutParamaterName": "仓库列表"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取成功",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
}
}
]
}
],
"ID": "b16c9ea2-e0a7-4675-be57-dde8f9417512"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "无仓库信息",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
],
"ID": "7abac783-f78e-4c64-ba43-708894d8a469"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message"
},
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
]
}
}
],
"ID": "38803b46-52cc-45e3-abbe-5d6fad0469b1"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
],
"ID": "ef251673-4d3c-4efc-9619-c687676af24b"
}
]
}
],
"ID": "03c68f4b-ef86-42fb-b42c-b099783f87ee"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "请先配置全局Gitee企业路径名",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
],
"ID": "c15f485f-cdfb-4466-93db-be50e646ed40"
}
]
}
],
"ReturnProperties": [
{
"Name": "仓库列表"
}
]
}

View File

@@ -199,7 +199,7 @@
] ]
} }
], ],
"ID": "53b11b53-affa-4304-a79c-6e2bf4a79056" "ID": "fbb8609c-5624-404e-a16c-14e9e8550b15"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -320,7 +320,7 @@
] ]
} }
], ],
"ID": "6d7d06aa-cda4-42cf-a024-b3e275563d1c" "ID": "6aa74ad7-c578-4fef-af9c-fb96a6631550"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -341,17 +341,17 @@
] ]
} }
], ],
"ID": "a4604038-3dfd-44b8-8f2b-37c959cdcce4" "ID": "cb2dbe62-dd22-4eaa-a70c-8be8feeb74c5"
} }
] ]
} }
], ],
"ID": "ae183917-f587-49bf-b4ee-5afdc0bbf410" "ID": "8d208ae4-19ac-49ba-92d2-d3f1133ef4dc"
} }
] ]
} }
], ],
"ID": "7b246abb-a979-411a-a993-50e07771671c" "ID": "ebf144b0-dd6f-4c75-b889-9ada8b6db780"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -366,12 +366,12 @@
] ]
} }
], ],
"ID": "451e6167-1825-432c-bd77-e3ba407c349d" "ID": "3036ecd5-8001-4122-82b6-31e54d15c529"
} }
] ]
} }
], ],
"ID": "f0ff371e-c8e7-476a-990a-9d854658eb97" "ID": "e8e2fdd1-88f6-481e-86f1-5d189154b0a7"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -386,7 +386,7 @@
] ]
} }
], ],
"ID": "10f1f898-b406-4c1f-8015-88e59a950766" "ID": "403fa8e4-ab3a-4db8-ae32-e95b4c4a3d26"
} }
] ]
} }