zs
2025-05-16 91151a1c608da15115fd5edeff35e69bb78c2e9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.MyTestEntityNames;
using WebApiClientCore.Attributes;
 
namespace CMS.Plugin.PipeLineLems.Apis
{
    /// <summary>
    /// 外部Http API对接 // https://webapiclient.github.io/guide/getting-started.html
    /// </summary>
    public interface IPipeLineLemsExternalApi
    {
        /// <summary>
        ///  CreateAsync
        /// </summary>
        /// <returns></returns>
        [HttpPost("api/v1/pipelinelems/mytestentityname")]
        Task<MyTestEntityNameDto> CreateAsync([JsonContent] MyTestEntityNameCreateDto input);
    }
}