获取ip
#!/bin/bash
getip=curl http://ip.zxinc.org/info.php?type=json
ip=echo $getip | jq -r '.data.myip'
echo $getip
echo $ip
setip=curl -d"user=360box&ipv6=$ip" -X POST https://kuwaedu.com/test/do
echo $setip
#!/bin/bash
getip=curl http://ip.zxinc.org/info.php?type=json
ip=echo $getip | jq -r '.data.myip'
echo $getip
echo $ip
setip=curl -d"user=360box&ipv6=$ip" -X POST https://kuwaedu.com/test/do
echo $setip