adjust the layout
This commit is contained in:
parent
81885a16cf
commit
b3115ba7aa
|
|
@ -23,7 +23,6 @@ The configurable parameters for this application are in `ip2region.app.src`, as
|
||||||
|
|
||||||
```
|
```
|
||||||
$ rebar3 compile
|
$ rebar3 compile
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,11 @@
|
||||||
```
|
```
|
||||||
$ rebar3 compile
|
$ rebar3 compile
|
||||||
```
|
```
|
||||||
|
|
||||||
### 运行
|
### 运行
|
||||||
将xdb文件放到priv目录下,然后启动erlang节点:
|
将xdb文件放到priv目录下,然后启动erlang节点:
|
||||||
```
|
```
|
||||||
$ rebar3 shell
|
$ rebar3 shell
|
||||||
|
|
||||||
```
|
```
|
||||||
在erlang shell中调用xdb:search/1接口查询Ip地址信息, 该接口支持以list格式字符串、binary格式字符串、tuple和整数表示的IP地址,如下:
|
在erlang shell中调用xdb:search/1接口查询Ip地址信息, 该接口支持以list格式字符串、binary格式字符串、tuple和整数表示的IP地址,如下:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue