feat 生日券功能,自动上传消费数据,提醒访客到期
This commit is contained in:
16
Src/Dlhis.Canteen.Api/IVoucherApi.cs
Normal file
16
Src/Dlhis.Canteen.Api/IVoucherApi.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Kurisu.RemoteCall.Attributes;
|
||||
|
||||
namespace Dlhis.Canteen.Api;
|
||||
|
||||
[RequestResultHandler]
|
||||
[EnableRemoteClient(Name = "canteen-service", BaseUrl = "${InternalRequest:CanteenRequestUrl}")]
|
||||
public interface IVoucherApi
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建券
|
||||
/// </summary>
|
||||
/// <param name="type"></param>
|
||||
/// <returns></returns>s
|
||||
[Post("/api/vouchers/birthday/create")]
|
||||
Task CreateAsync(VoucherByBirthdayRequest request);
|
||||
}
|
||||
Reference in New Issue
Block a user