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