       'content-type': 'application/json'
                    }
                }).then(resp => resp.json()).then(res => {
                    if(res.code == 0){
                        utils.$.successMsg("安装成功,2秒后跳转到首页");
                        setTimeout(function (){
                            window.location.href = "index.html";
                        },2000);
                    }else{
                        utils.$.errorMsg(res.msg);
                    }
                });

