Blame view

src/main/test/IPToolsTest.java 324 Bytes
1 2 3
import com.xkl.domain.Location;
import com.xkl.tools.IPTools;
import org.junit.Test;
zhaoyue authored
4 5 6 7 8

/**
 * Created by zhaoyue on 2017/4/15.
 */
public class IPToolsTest {
9 10 11 12 13 14

    @Test
    public void testGetIPLocation() {
        Location location = IPTools.getLocationWithIP("111.39.32.104");
        System.out.println(location);
    }
zhaoyue authored
15
}