接口相关修改/assets/resources/index.8b75c.js第7877-7915行主要将 sheep.d66f.com 修改为您后端服务的域名 var n = t(“./data-type”) , a = n.ENV.online , i = { local: { evn: n.ENV.local, host: “http://192.168.31.86:8080”, reportPrefix: “local_” }, beta: { evn: n.ENV.beta, host: “http://192.144.195.86”, reportPrefix: “beta_” }, online: { evn: n.ENV.online, host: “https://sheep.d66f.com”, reportPrefix: “sheep_” }, onlineWx: { evn: n.ENV.onlineWx, host: “https://sheep.d66f.com”, reportPrefix: “sheep_wx_” }, leiTing: { evn: n.ENV.leiTing, host: “http://maowgameos1.leiting.com:8080”, reportPrefix: “” }, onlineOppo: { evn: n.ENV.onlineOppo, host: “https://sheep.d66f.com”, reportPrefix: “sheep_oppo_” }, onlineVivo: { evn: n.ENV.onlineVivo, host: “https://sheep.d66f.com”, reportPrefix: “sheep_vivo_” } };后端代码后端是打包好的文件sps-0.0.1-SNAPSHOT.jar,您可以直接放到网站的目录中我这里放到了/www/wwwroot/yanglegeyang/目录下

1663382740-57f45d1b6ffc30e.png

然后通过宝塔面板的java管理器进行运行添加JAVA项目

1663382833-47dd3697a64d021.png

选择我们的jar包

1663382869-b308ef64f257210.png

然后域名管理添加域名,同时配置SSL,这里的域名要和前面前端设置的域名一致,协议也要注意,如果开启了SSL则是

https://,没开启则是http://启则

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。