Commit 5758f1ca authored by 董建华's avatar 董建华

增加白名单接口

parent f6699ee5
......@@ -21,7 +21,7 @@ import javax.persistence.Table;
@Data
public class WhiteList extends BaseEntity {
@Column(name = "key")
@Column(name = "[key]")
private String key;
@Column(name = "key_type")
......
......@@ -36,6 +36,7 @@ public class LoginRiskServiceImpl implements LoginRiskService {
list.setEnable(Boolean.TRUE);
list.setKey(val);
list.setType(keyType);
whiteListRepository.save(list);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment