44 lines
1.0 KiB
JavaScript
44 lines
1.0 KiB
JavaScript
module.exports = {
|
|
getUpdateUrl(env) {
|
|
switch (env) {
|
|
case 'xy':
|
|
return 'https://meeting-api.23544.com/meeting/xysz'
|
|
case 'xatyz':
|
|
return 'https://meeting-api.23544.com/meeting/xatyz'
|
|
case 'my':
|
|
return 'https://meeting-api.23544.com/meeting/my'
|
|
case 'development':
|
|
return 'http://192.168.2.9:8827'
|
|
default:
|
|
return 'https://meeting-api.23544.com/meeting/update'
|
|
}
|
|
},
|
|
getTitle(env) {
|
|
switch (env) {
|
|
case 'xy':
|
|
return '湖北襄阳四中教研平台'
|
|
case 'xatyz':
|
|
return '西安铁一中教研平台'
|
|
case 'my':
|
|
return '绵阳中学人工智能教育发展共同体 · 教研平台'
|
|
case 'development':
|
|
return '智汇享'
|
|
default:
|
|
return '智汇享'
|
|
}
|
|
},
|
|
getIcon(env) {
|
|
switch (env) {
|
|
case 'xy':
|
|
return 'icon54'
|
|
case 'xatyz':
|
|
return 'icon59'
|
|
case 'my':
|
|
return 'icon62'
|
|
case 'development':
|
|
return 'icon'
|
|
default:
|
|
return 'icon'
|
|
}
|
|
}
|
|
} |