This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package ServiceLoginPerson
import (
"dsSso/Dao/DaoSysLoginPerson"
)
/**
功能:验证用户名和密码是否正确
作者:黄海
时间:2020-02-05
*/
func Login(username string, password string,ip string) (bool, string, string, string) {
//调用dao层的方法,组合成service方法层
result, identityId, personId, personName := DaoSysLoginPerson.Login(username, password,ip)
return result, identityId, personId, personName
}