add network judge
Merge branch 'master' of https://github.com/moshenglei/beautifuljournal