admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/service/inter/user/ForbiddenUserIdentifyCodeService.java
@@ -1,21 +1,18 @@
package com.yeshi.fanli.service.inter.user;
import java.util.List;
import com.yeshi.fanli.entity.bus.user.ForbiddenUserIdentifyCode;
import com.yeshi.fanli.entity.bus.user.ForbiddenUserIdentifyCode.ForbiddenUserIdentifyCodeTypeEnum;
import com.yeshi.fanli.exception.user.ForbiddenUserIdentifyCodeException;
import com.yeshi.fanli.vo.user.ForbiddenUserIdentifyCodeVO;
public interface ForbiddenUserIdentifyCodeService {
   /**
    * 添加禁止标识
    * 封禁账号
    * 
    * @param identifyCode
    * @throws ForbiddenUserIdentifyCodeException
    */
   public void addIdentifyCode(ForbiddenUserIdentifyCode identifyCode) throws ForbiddenUserIdentifyCodeException;
   public void forbiddenIdentifyCode(ForbiddenUserIdentifyCode identifyCode) throws ForbiddenUserIdentifyCodeException;
   /**
    * 通过类型与唯一标识获取列表
@@ -40,24 +37,12 @@
   public void delete(ForbiddenUserIdentifyCode identifyCode);
   /**
    * 查询已封禁的号码   用户信息
    * @param start
    * @param count
    * @param key
    * @param type
    * @return
    */
   public List<ForbiddenUserIdentifyCodeVO> listQuery(long start, int count, String key, Integer type);
   public long countQuery(String key, Integer type);
   /**
    * 对账号封禁、解封操作
    * @param identifyCode 号码
    * @param type  类型   
    * @param state  状态: true 封
    * @throws ForbiddenUserIdentifyCodeException
    */
   public void saveForbiddenInfo(String identifyCode, Integer type, boolean state) throws ForbiddenUserIdentifyCodeException;
   public void saveForbiddenInfo(String identifyCode, Integer type) throws ForbiddenUserIdentifyCodeException;
}