master
huanghai 5 years ago
parent fc41f19b6f
commit 68e344e080

@ -112,7 +112,7 @@ func WriteLoginLog(identityId string, personId string, ip string, loginState int
var tableName string
//管理员或教师
if identityId == "1" || identityId == "2" {
tableName = "t_base_teacher"
tableName = "t_base_teacher_org"
} else if identityId == "3" {
tableName = "t_base_student"
} else {

@ -45,7 +45,6 @@ func Login(username string, password string, ip string) (bool, string, string, s
return false, "", "", "", -1, ""
}
}
//调用dao层的方法,组合成service方法层
result, identityId, personId, personName, remainCount, wxOpenId := DaoSysLoginPerson.Login(username, password, ip)
return result, identityId, personId, personName, remainCount, wxOpenId

Loading…
Cancel
Save