18 lines
405 B
C#
18 lines
405 B
C#
using System.Threading.Tasks;
|
|
using CommonDomain;
|
|
using UserDomain.Entity;
|
|
|
|
namespace UserService
|
|
{
|
|
public interface ILotteryService
|
|
{
|
|
|
|
|
|
Task<LotteryUserStatus?> GetUserStatus(string userId);
|
|
|
|
Task<(bool success, string message, LotteryPrize? prize, long cost)> Draw(string userId, int poolType = 0);
|
|
|
|
Task<List<string>> GetUserDrawnPrizes(string userId);
|
|
}
|
|
}
|