diff --git a/README.md b/README.md index c23e3c7..e5bf8e6 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ 是绑定http server 的ip和端口。 是该服务端公网的域名。 是该服务端公网的域名。 + 高德API KEY 。https://console.amap.com/dev/index 这里注册。选择绑定“Web服务” (2) 启动 在服务器上启动opserver.exe。 diff --git a/config.txt b/config.txt index 57f0405..c7dfba0 100644 --- a/config.txt +++ b/config.txt @@ -1,4 +1,5 @@ ws_bind=0.0.0.0:7899 http_bind=0.0.0.0:7898 athena_host=ws://laolang.duckdns.org:7899 -upload_url=http://laolang.duckdns.org:7898 \ No newline at end of file +upload_url=http://laolang.duckdns.org:7898 +amap_key=23428738744447ba93dda0d6473ff026e \ No newline at end of file diff --git a/opserver.exe b/opserver.exe index a87caf3..af454c2 100644 Binary files a/opserver.exe and b/opserver.exe differ diff --git a/opserver_linux_amd64 b/opserver_linux_amd64 index adc0b6e..fbbb3a8 100644 Binary files a/opserver_linux_amd64 and b/opserver_linux_amd64 differ diff --git a/static/amap.html b/static/amap.html new file mode 100644 index 0000000..37cbb7e --- /dev/null +++ b/static/amap.html @@ -0,0 +1,430 @@ + + + + + + + eatfishfish/opserver + + + + + +
+ +
+
+ + + + +
+ + +   +    +
+ + + + + + + + + + + + +
Id经度纬度地址删除发送OP定位
+
+ + + + + diff --git a/static/index.html b/static/index.html index 0e75748..963571f 100644 --- a/static/index.html +++ b/static/index.html @@ -126,6 +126,11 @@ recordOperationTime() } + function showAmap(){ + url = "/static/amap.html" + window.location = url; + } + function recordOperationTime(){ strSec = Math.floor(Date.now() / 1000) localStorage.setItem("operationTime", strSec) @@ -170,9 +175,12 @@ +