//微信内关闭网页:
WeixinJSBridge.invoke('closeWindow',{},function(res){
//alert(res.err_msg);
});
GCP 开启ROOT用户远程登录
//切换到root用户
sudo -i
//设置密码
passwd
//使用vi修改文件,i键insert
vi /etc/ssh/sshd_config
//修改以下两项
PermitRootLogin yes //默认为no,需要开启root用户访问改为yes
PasswordAuthentication yes //默认为no,改为yes开启密码登陆
//ESC后
:WQ //保存并退出
//重启服务器
reboot