This commit is contained in:
aozhiwei 2024-05-31 16:53:04 +08:00
parent dabf86d6b7
commit 6126403c3d
4 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,6 @@
[
{
"instance_id" : 1,
"listen_port": 7672
}
]

8
server/bin_dev/web3service/gm Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
while true
do
read -p '> ' cmd
curl "http://127.0.0.1:7671/webapp/index.php?c=GM&a=execCmd&cmd=${cmd}" |jq .
echo ""
done

View File

@ -0,0 +1,3 @@
#!/bin/bash
node ../../web3service/app.js -n1 -i1