You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
444 B

This file contains ambiguous Unicode characters!

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
}