mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
#163 upgrade ip2region package
This commit is contained in:
parent
cd20609506
commit
ab72620e2c
@ -181,7 +181,7 @@
|
||||
<dependency>
|
||||
<groupId>org.lionsoul</groupId>
|
||||
<artifactId>ip2region</artifactId>
|
||||
<version>1.4</version>
|
||||
<version>1.7.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.lionsoul</groupId>
|
||||
|
@ -29,7 +29,7 @@ import org.lionsoul.ip2region.DbSearcher;
|
||||
import com.chatopera.cc.app.basic.MainContext;
|
||||
|
||||
public class IPTools {
|
||||
private String IP_DATA_PATH = "WEB-INF/data/ip/ip.db";
|
||||
private String IP_DATA_PATH = "WEB-INF/data/ip/ip2region.db";
|
||||
private static IPTools iptools = new IPTools();
|
||||
private DbSearcher _searcher = null ;
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user