zs
2025-05-08 eec109948cb1911bf3310ef873b256ba6ee0d77c
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);
    }
}