Files
jinko.yikatong/Src/Dlhis.Canteen.Api/ITicketApi.cs
2025-03-05 12:34:29 +08:00

16 lines
413 B
C#

using Kurisu.RemoteCall.Attributes;
namespace Dlhis.Canteen.Api;
[RequestResultHandler]
[EnableRemoteClient(Name = "canteen-service", BaseUrl = "${InternalRequest:CanteenRequestUrl}")]
public interface ITicketApi
{
/// <summary>
/// 创建券
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
[Post("/api/tickets/{type}/create")]
Task CreateAsync(string type);
}