Example #1
0
 public UserService(RedisTool RedisTool, UserDapper userDapper,
                    EmailService emailService, QQOAuthClient authClient,
                    WeChatAppDecrypt weChatAppDecrypt)
 {
     _RedisTool        = RedisTool;
     _userDapper       = userDapper;
     _emailService     = emailService;
     _authClient       = authClient.GetAPIOAuthClient();
     _weChatAppDecrypt = weChatAppDecrypt;
 }
Example #2
0
 public UserService(RedisTool RedisTool, HouseMapContext context,
                    EmailService emailService, QQOAuthClient authClient,
                    WeChatAppDecrypt weChatAppDecrypt)
 {
     _RedisTool        = RedisTool;
     _context          = context;
     _emailService     = emailService;
     _authClient       = authClient.GetAPIOAuthClient();
     _weChatAppDecrypt = weChatAppDecrypt;
 }