2023-10-08 21:21:21 +08:00
|
|
|
// isdev 为 true 表示开发环境 false 表示发布环境
|
|
|
|
const isdev = true;
|
2023-12-11 01:12:26 +08:00
|
|
|
const baseUrl = isdev ? 'https://api.jimingyiliao.com' : 'http://eb467b6.r19.cpolar.top';// 办公室接口 & 测试环境
|
2023-12-29 02:23:35 +08:00
|
|
|
// const baseUrl = isdev ? 'http://707788f2.r1.cpolar.top' : 'http://eb467b6.r19.cpolar.top';// 办公室接口 & 测试环境
|
2023-10-08 21:21:21 +08:00
|
|
|
// const baseUrl = isdev ? 'http://192.168.1.133:8899' : 'https://api.gwkjxb.com';// 办公室接口 & 正式环境
|
|
|
|
// const baseUrl = 'https://api.gwkjxb.com';// 正式环境(由于本地测试后台没有启动,暂时通用正式服)
|
|
|
|
|
|
|
|
// const baseUrl = isdev ? 'http://1.117.68.37:8000' : 'https://apiwx.twzxjy.com';// 支付测试接口
|
|
|
|
const shareUrl = isdev ? 'https://h5.gwkjxb.com/' : 'http://test_h5.gwkjxb.com/';
|
|
|
|
const teacher_admin_url = 'http://teacher.gwkjxb.com/#/login'
|
|
|
|
const config = {
|
2023-10-11 22:20:34 +08:00
|
|
|
appName: '保护视力',
|
2023-10-08 21:21:21 +08:00
|
|
|
baseUrl,
|
|
|
|
appVersion: '1.0.6',
|
2023-10-11 22:20:34 +08:00
|
|
|
developer: '保护视力',
|
2023-10-08 21:21:21 +08:00
|
|
|
// appLogo: require('../static/logo.png'),
|
|
|
|
shareUrl,
|
|
|
|
teacher_admin_url,
|
|
|
|
appID:'wx2a050f9a5c87a6dc',
|
|
|
|
isdev
|
|
|
|
}
|
|
|
|
export default config
|