mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-22 12:09:19 +08:00
feat: 动态API支持直接执行已有的应用逻辑
This commit is contained in:
21
OpenAuth.App/DynamicApiApp/Request/InvokeDynamicReq.cs
Normal file
21
OpenAuth.App/DynamicApiApp/Request/InvokeDynamicReq.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user