init
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package com.tailbet.service;
|
||||
|
||||
import com.tailbet.model.entity.User;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 假人服务接口
|
||||
*/
|
||||
public interface IFakeUserService {
|
||||
|
||||
/**
|
||||
* 初始化群假人
|
||||
*/
|
||||
void initGroupFakeUsers(Long groupId, int minCount, int maxCount);
|
||||
|
||||
/**
|
||||
* 创建单个假人
|
||||
*/
|
||||
User createFakeUser(Long groupId);
|
||||
|
||||
/**
|
||||
* 每日重置活跃假人
|
||||
*/
|
||||
void resetDailyActiveFakes();
|
||||
|
||||
/**
|
||||
* 检查用户是否是今日活跃假人
|
||||
*/
|
||||
boolean isTodayActiveFake(Long userId);
|
||||
|
||||
/**
|
||||
* 假人下注
|
||||
*/
|
||||
void fakeBet(Long groupId);
|
||||
|
||||
/**
|
||||
* 获取假人列表
|
||||
*/
|
||||
List<User> getFakeUsers();
|
||||
}
|
||||
Reference in New Issue
Block a user