feat: 动态API支持直接执行已有的应用逻辑

This commit is contained in:
wintel
2025-03-30 18:01:22 +08:00
parent d42be4d7c9
commit dfbb150f9b
4 changed files with 106 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
namespace OpenAuth.App.Request
{
public class InvokeDynamicReq
{
/// <summary>
/// 服务名称,如OpenAuth.App.MoudleApp
/// </summary>
public string ServiceName { get; set; }
/// <summary>
/// 方法名称,如Add
/// </summary>
public string MethodName { get; set; }
/// <summary>
/// 参数,如:{ "Id": 1, "Name": "test" }
/// </summary>
public object Parameters { get; set; }
}
}