添加项目文件。
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Threading.Tasks;
|
||||
using CommonDomain;
|
||||
using UserDomain.Entity;
|
||||
|
||||
namespace CommonService
|
||||
{
|
||||
public interface IBackgroundOperationService
|
||||
{
|
||||
Task<(bool success, string message)> Charge(
|
||||
string adminUserId, string targetUserId, int currencyType, long amount, string remark);
|
||||
|
||||
Task<(bool success, string message)> Deduct(
|
||||
string adminUserId, string targetUserId, int currencyType, long amount, string remark);
|
||||
|
||||
Task<(List<BackgroundOperationLog> data, int total)> QueryLogs(
|
||||
string? adminUserId = null,
|
||||
string? targetUserId = null,
|
||||
int? operationType = null,
|
||||
int pageIndex = 1,
|
||||
int pageSize = 20);
|
||||
|
||||
Task<UserEntity> SearchUser(string keyword);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user