123456789101112131415161718 |
- package services
- import (
- "eta/eta_mini_crm_ht/rpc/sso"
- )
- const (
- crmSource = "weapp"
- )
- func SSOLogin(code string) (resp sso.UserResp, err error) {
- req := &sso.LoginRequest{
- Code: code,
- Source: crmSource,
- }
- ssoService := sso.GetSSOService()
- return ssoService.SSOLogin(req)
- }
|