@Service public class SystemWhiteListService extends Object implements InductsListenerService<SystemWhiteListDO>
| 限定符和类型 | 字段和说明 |
|---|---|
static List<SystemWhiteListDO> |
cache |
| 构造器和说明 |
|---|
SystemWhiteListService() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
del(Integer[] ids) |
SystemWhiteListDO |
info(int id) |
boolean |
ipVerify()
核验当前IP是否在白名单中,如不在白名单中则直接报错
如果需要限制登录IP白名单只需要调用此方法即可,无需对返回值进行处理
|
Map<String,Object> |
list(cn.tworice.mybatis.vo.PageParam pageParam,
SystemWhiteListDO entity) |
boolean |
saveBatch(List<SystemWhiteListDO> list) |
int |
set(SystemWhiteListDO entity) |
boolean |
update(SystemWhiteListDO entity) |
public static List<SystemWhiteListDO> cache
public boolean ipVerify()
public Map<String,Object> list(cn.tworice.mybatis.vo.PageParam pageParam, SystemWhiteListDO entity)
public int set(SystemWhiteListDO entity)
public boolean update(SystemWhiteListDO entity)
public int del(Integer[] ids)
public boolean saveBatch(List<SystemWhiteListDO> list)
saveBatch 在接口中 InductsListenerService<SystemWhiteListDO>public SystemWhiteListDO info(int id)
Copyright © 2024. All rights reserved.