user.go 314 B

12345678910111213141516
  1. package service
  2. import "sportfitness/base/repository/grpc/bsw/im"
  3. type User struct {
  4. base
  5. }
  6. func (User) SignInUserCodePassword(userCode, password, ip, ClientInfo string) (token string) {
  7. token, userId := im.SignInUserCodePassword(userCode, password, ip, ClientInfo)
  8. println(token, userId)
  9. return token
  10. }