Zxd.Core/code/Zxd.Domain/Impl/IReSourceDomain.cs

36 lines
1.0 KiB
C#

using DG.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zxd.Domain.Dto;
using Zxd.Domain.Dto.Resource;
namespace Zxd.Domain.Impl
{
public interface IReSourceDomain : IScopedDependency
{
Task<string> SyncRegUser(SyncRegUserDto activeModel, string clientid);
Task<string> Join(JionActiveDto postData, string clientid);
Task<string> Allocation(ResAllocationDto resAllocationDto, string clientid);
Task<bool> GetUserCanOpenOrder(CheckUserDTO dto);
Task<bool> GetUserCanOpenOrderByResid(string? umid);
Task<List<UserPassInfo>> GetUserProtectInfo(CheckUserDTO dto);
Task InitUserProtect(int type);
Task<List<UserPassInfo>> GetSoftUserByResid(string resid);
Task<ResourcePassTime> GetResoucePassTime(CheckUserDTO resid);
Task<ResourcePassTime> GetResoucePassTimeBySql(CheckUserDTO dto);
Task<SoftUserNameDetailModel> GetSoftUserDetail(string softUserName);
}
}