Example #1
0
 public static int IsExistIdentityCard(string identityCard, int userId)
 {
     return(MemberUserProvider.Instance().IsExistIdentityCard(identityCard, userId));
 }
Example #2
0
 public static int IsCheckCellPhoneAndUserName(string cellPhone, string userName)
 {
     return(MemberUserProvider.Instance().IsCheckCellPhoneAndUserName(cellPhone, userName));
 }
Example #3
0
 public static void BindPCAccount(int userId, string openId, ref int result)
 {
     MemberUserProvider.Instance().BindPCAccount(userId, openId, ref result);
 }
Example #4
0
 public static string GetUsernameWithOpenId(string openId, string openIdType)
 {
     return(MemberUserProvider.Instance().GetUsernameWithOpenId(openId, openIdType));
 }
Example #5
0
 public static int GetDefaultMemberGrade()
 {
     return(MemberUserProvider.Instance().GetDefaultMemberGrade());
 }
Example #6
0
 public static bool UpdateUserUserNameByCellPhone(int userId, string username, string cellphone, string password, string openId, int passwordformat, string passwordsalt)
 {
     return(MemberUserProvider.Instance().UpdateUserUserNameByCellPhone(userId, username, cellphone, password, openId, passwordformat, passwordsalt));
 }
Example #7
0
 public static int GetUserIdByCcbOpenId(string ccbOpenId)
 {
     return(MemberUserProvider.Instance().GetUserIdByCcbOpenId(ccbOpenId));
 }
Example #8
0
 public static bool IsExistEmal(string email, string username)
 {
     return(MemberUserProvider.Instance().IsExistEmal(email, username));
 }
Example #9
0
 public static bool UpdateUserTopRegionId(int userId, int topRegionId)
 {
     return(MemberUserProvider.Instance().UpdateUserTopRegionId(userId, topRegionId));
 }
Example #10
0
 public static bool BindOpenId(string username, string openId, string openIdType)
 {
     return(MemberUserProvider.Instance().BindOpenId(username, openId, openIdType));
 }
Example #11
0
 public static int GetAssociatedStoreId(int userId)//获取管理员所属的门店
 {
     return(MemberUserProvider.Instance().GetAssociatedStoreId(userId));
 }
Example #12
0
 public static string UpdateSessionId(int userId)
 {
     return(MemberUserProvider.Instance().UpdateSessionId(userId));
 }
Example #13
0
 public static int GetUserIdBySessionId(string sessionid)
 {
     return(MemberUserProvider.Instance().GetUserIdBySessionId(sessionid));
 }
Example #14
0
 public static int IsCheckEmialAndUserName(string Emial, string userName)
 {
     return(MemberUserProvider.Instance().IsCheckEmialAndUserName(Emial, userName));
 }
Example #15
0
 public static int GetUserIdByAliPayOpenId(string openId)
 {
     return(MemberUserProvider.Instance().GetUserIdByAliPayOpenId(openId));
 }
Example #16
0
 public static int IsExistEmailAndUserName(string email)
 {
     return(MemberUserProvider.Instance().IsExistEmailAndUserName(email));
 }
Example #17
0
 public static bool IsExistUserNameOpenid(string userName)
 {
     return(MemberUserProvider.Instance().IsExistUserNameOpenid(userName));
 }
Example #18
0
 public static int GetUserIdByEmail(string email)
 {
     return(MemberUserProvider.Instance().GetUserIdByEmail(email));
 }
Example #19
0
 public static bool IsExistOpendByUserName(string cellphone)
 {
     return(MemberUserProvider.Instance().IsExistOpendByUserName(cellphone));
 }
Example #20
0
 public static bool UpdateUserOpenId(int userId, int userCurrent, string openId)
 {
     return(MemberUserProvider.Instance().UpdateUserOpenId(userId, userCurrent, openId));
 }
Example #21
0
 public static bool  IsExistCellPhone(string cellPhone)
 {
     return(MemberUserProvider.Instance().IsExistCellPhone(cellPhone));
 }
Example #22
0
 public static bool RegisterPCUser(int userId, int userCurrent, string password, string email, string userName)
 {
     return(MemberUserProvider.Instance().RegisterPCUser(userId, userCurrent, password, email, userName));
 }
Example #23
0
 public static int IsExistCellPhoneAndUserName(string cellPhone)
 {
     return(MemberUserProvider.Instance().IsExistCellPhoneAndUserName(cellPhone));
 }
Example #24
0
 public static string GetOpenIdByUserName(string userName)
 {
     return(MemberUserProvider.Instance().GetOpenIdByUserName(userName));
 }
Example #25
0
        public virtual bool ValidatePasswordAnswer(string answer)
        {
            MemberUserProvider memberUserProvider = MemberUserProvider.Instance();

            return(memberUserProvider.ValidatePasswordAnswer(this.Username, answer));
        }