获取 ip 的一个工具类, 网上很多, 可以自己去找一个.
sign 签名, 将选择的所有参数, 进行签名.
timeout 设置为 4000
来源: http://www.bubuko.com/infodetail-3451330.html