go-common/app/admin/ep/saga/service/user.go

14 lines
261 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import "go-common/app/admin/ep/saga/model"
// UserInfo get username and email.
func (s *Service) UserInfo(userName string) (userInfo *model.User) {
userInfo = &model.User{
Name: userName,
EMail: userName + "@bilibili.com",
}
return
}