admin
2024-09-27 17caebabf7a6a529b7039c71e21e5a324e31ea20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.taoke.autopay.service;
 
import com.taoke.autopay.dto.UserSubmitKeyLimitDto;
import com.taoke.autopay.entity.OrderChannelEnum;
 
import java.util.List;
 
/**
 * @author hxh
 * @title: UserSettingService
 * @description: TODO
 * @date 2024/8/1 22:41
 */
public interface UserSettingService {
 
    /**
     * @author hxh 
     * @description 设置用户提交口令次数限制
     * @date 22:46 2024/8/1
     * @param: limit
     * @return void
     **/
    public void setUserSubmitKeyCount(List<UserSubmitKeyLimitDto> limit);
 
    /**
     * @author hxh 
     * @description 获取用户提交口令限制
     * @date 22:46 2024/8/1
     * @return java.util.List<com.taoke.autopay.dto.UserSubmitKeyLimitDto>
     **/
    public List<UserSubmitKeyLimitDto> getUserSubmitKeyCountList(boolean fromCache);
 
    /**
     * @author hxh 
     * @description 根据总提交次数获取每日提交次数
     * @date 22:47 2024/8/1
     * @param: totalCount
     * @return int
     **/
    public int getLimitCountByTotalCount(long totalCount,  OrderChannelEnum orderChannel);
 
}