This commit is contained in:
2023-06-21 16:41:40 +08:00
parent 3f8f5b5893
commit 297561ff8f
38 changed files with 345 additions and 294 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-08-22 14:57:50
* @LastEditors: zwq
* @LastEditTime: 2023-04-10 13:55:02
* @LastEditTime: 2023-06-20 16:49:12
* @Description:
-->
<!DOCTYPE html>
@@ -37,7 +37,7 @@
<!-- 开发环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.44:8080/ym-spc';
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.44:8999/ym-spc';
//http://demo.open.renren.io/renren-security-server
//http://192.168.1.44:8080/ym-spc
</script>
@@ -45,19 +45,19 @@
<!-- 集成测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://localhost:8080/renren-admin';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.102:8999/ym-spc';
</script>
<% } %>
<!-- 验收测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://localhost:8080/renren-admin';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.102:8999/ym-spc';
</script>
<% } %>
<!-- 生产环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://localhost:8080/renren-admin';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.102:8999/ym-spc';
</script>
<% } %>
</head>