|
@@ -31,6 +31,8 @@ export function vaildStudentUrl() {
|
|
|
let returnUrl = ''
|
|
|
if (/dev/.test(url)) { // dev 环境
|
|
|
returnUrl = 'http://mstudev.dayaedu.com'
|
|
|
+ } else if (/test/.test(url)) { // dev 环境
|
|
|
+ returnUrl = 'http://mstutest.dayaedu.com'
|
|
|
} else if (/online/.test(url)) { //线上
|
|
|
returnUrl = 'https://mstuonline.dayaedu.com'
|
|
|
} else { // 默认dev环境
|
|
@@ -45,6 +47,8 @@ export function vaildTeacherUrl() {
|
|
|
let returnUrl = ''
|
|
|
if (/dev/.test(url)) { // dev 环境
|
|
|
returnUrl = 'http://mteadev.dayaedu.com'
|
|
|
+ } else if (/test/.test(url)) { // dev 环境
|
|
|
+ returnUrl = 'http://mteatest.dayaedu.com'
|
|
|
} else if (/online/.test(url)) { //线上
|
|
|
returnUrl = 'https://mteaonline.dayaedu.com'
|
|
|
} else { // 默认dev环境
|