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 limit); /** * @author hxh * @description 获取用户提交口令限制 * @date 22:46 2024/8/1 * @return java.util.List **/ public List getUserSubmitKeyCountList(boolean fromCache); /** * @author hxh * @description 根据总提交次数获取每日提交次数 * @date 22:47 2024/8/1 * @param: orderType * @param: totalCount * @return int **/ public int getLimitCountByTotalCount(int orderType, long totalCount, OrderChannelEnum orderChannel); }