1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

epp-prod.only4.work 改为 epp.only4.work

This commit is contained in:
程序员小墨 2023-04-25 02:24:23 +08:00
parent eae5ac5310
commit 08584c8042
8 changed files with 8 additions and 18 deletions

View File

@ -56,12 +56,10 @@ C:\Windows\System32\drivers\etc
配置项
127.0.0.1 epp.only4.work
127.0.0.1 epp-prod.only4.work
查看配置
ping epp.only4.work
ping epp-prod.only4.work
@ -130,14 +128,6 @@ SecretKey 22sVt494mGZeV7sQkqwxnNjneHesqXxA
# 门禁端网页
https://epp.only4.work/access/index.html
https://epp-prod.only4.work/access/index.html
# 启动远程 Nacos
> /www/wwwserv/epp/nacos/conf/application.properties port 改为 8488

View File

@ -9,7 +9,7 @@
* - 开发环境"develop"
*/
// 定义常量
const baseUrl = "https://epp-prod.only4.work/"
const baseUrl = "https://epp.only4.work/"
const url = baseUrl + "access/wechat/getUnlimitedQRCode"
const page = "pages/index/index" // "pages/scan/entrance"
const envVersion = "release" // 正式版为 "release",体验版为 "trial",开发版为 "develop"

View File

@ -18,7 +18,7 @@
- 线上环境:"https://epp.only4.work/access/index.html?inElectron=true"
- 开发环境:"http://localhost/access/index.html?inElectron=true"
-->
<iframe src="https://epp-prod.only4.work/access/index.html?inElectron=true" frameborder="0"></iframe>
<iframe src="https://epp.only4.work/access/index.html?inElectron=true" frameborder="0"></iframe>
<script src="./renderer.js" type="module"></script>
</body>

View File

@ -29,5 +29,5 @@ export default {
* - 线上环境"https://epp.only4.work/"
* - 开发环境"http://localhost/"
*/
backendHost: "https://epp-prod.only4.work/",
backendHost: "https://epp.only4.work/",
};

View File

@ -12,7 +12,7 @@ App.use(setGlobalDataPlugin, {
globalData: {
debugMode: true, // 是否展示调试内容
baseUrl: true
? "https://epp-prod.only4.work"
? "https://epp.only4.work"
: "http://localhost", // 不带最后的 /
}
})

View File

@ -1,6 +1,6 @@
server
{
server_name epp-prod.only4.work;
server_name epp.only4.work;
listen 80;
listen 443 ssl http2;

View File

@ -29,7 +29,7 @@ App({
* - 线上环境'https://epp.only4.work'
* - 开发环境'http://localhost'
*/
baseUrl: "https://epp-prod.only4.work", // Api 请求域名 不带最后的 /
baseUrl: "https://epp.only4.work", // Api 请求域名 不带最后的 /
userInfo: null
}
})

View File

@ -1,3 +1,3 @@
main: 开发分支 (域名为epp-.only4.work; 门禁端小程序环境为develop
production: 生产分支 基于开发分支域名改为epp-prod.only4.work; 门禁端小程序环境改为release
main: 开发分支 (域名为localhost; 门禁端小程序环境为develop
production: 生产分支 基于开发分支域名改为epp.only4.work; 门禁端小程序环境改为release
miniprogramAudit: 小程序提审分支 (基于生产分支,从后端动态隐藏小程序端社区码&小商店功能)