This commit is contained in:
我是个攻城狮
2026-07-16 17:01:34 +08:00
parent c3f5f13bb3
commit ca87258846
12 changed files with 2413 additions and 788 deletions
+3 -3
View File
@@ -1,15 +1,15 @@
var app_url = 'https://cogapitest.scszsj.com';
var app_url = 'https://cogapi.scszsj.com';
// 如果是本地测试环境
if(process.env.NODE_ENV === 'development'){
//#ifdef H5
app_url = 'https://cogapitest.scszsj.com'; //http://cogapitest.scszsj.com http://gg.com/index.php
app_url = 'http://gg.com/index.php'; //http://cogapitest.scszsj.com http://gg.com/index.php
//#endif
}
// 如果是生产环境,h5环境下直接读取url
if(process.env.NODE_ENV === 'production'){
//#ifdef H5
// app_url = window.location.protocol+'//' + window.location.host+'/index.php'; http://cogapitest.scszsj.com https://cogapi.scszsj.com
app_url = 'https://cogapitest.scszsj.com';
app_url = 'http://gg.com/index.php';
//#endif
}