first commit

This commit is contained in:
wangxiaowei
2025-10-22 22:56:36 +08:00
commit 90c54df48b
302 changed files with 54312 additions and 0 deletions

23
config.js Normal file
View File

@ -0,0 +1,23 @@
//var app_url = 'http://www.jjj-shop.com';
var app_url = 'https://6548.cn';
// 如果是本地测试环境
if(process.env.NODE_ENV === 'development'){
//#ifdef H5
app_url = '';
//#endif
}
// 如果是生产环境h5环境下直接读取url
if(process.env.NODE_ENV === 'production'){
//#ifdef H5
app_url = window.location.protocol+'//' + window.location.host;
//#endif
}
export default {
/*服务器地址*/
app_url: app_url,
/*appid*/
app_id: 10001,
//h5发布路径
h5_addr: '/h5',
}