Example #1
0
        public JsonResult IsExistsUserName(string userName)
        {
            var MainName = CurrentSellerManager.UserName.Split(':')[0];

            userName = MainName + ":" + userName;
            return(Json(new { Exists = _iManagerService.CheckUserNameExist(userName) }));
        }
Example #2
0
 public JsonResult IsExistsUserName(string userName)
 {
     return(Json(new { Exists = _iManagerService.CheckUserNameExist(userName, true) }));
 }
Example #3
0
 /// <summary>
 /// 是否存在相同的用户名
 /// </summary>
 /// <param name="userName"></param>
 /// <returns></returns>
 public static bool CheckUserNameExist(string userName, bool isPlatFormManager = false)
 {
     return(_iManagerService.CheckUserNameExist(userName, isPlatFormManager));
 }
Example #4
0
        public JsonResult CheckManagerUser(string username)
        {
            bool result = _iManagerService.CheckUserNameExist(username);

            return(Json(new { success = true, result }));
        }