|
|
|
@ -927,7 +927,7 @@ public class IndexController {
|
|
|
|
|
try {
|
|
|
|
|
//判断是老师还是学生
|
|
|
|
|
if(null != student || null != teacher){
|
|
|
|
|
String token = createSessionByUserId();
|
|
|
|
|
// String token = createSessionByUserId();
|
|
|
|
|
if(ApplicationRunnerController.isOnline){
|
|
|
|
|
String tsUrl = SpringUtil.getBean(Environment.class).getProperty("student.teacher.url");
|
|
|
|
|
response.sendRedirect(tsUrl + (tsUrl.endsWith("/") ? "" : "/") + "Home" + roleTagCopy);
|
|
|
|
|