zoukankan      html  css  js  c++  java
  • 测试

    Code

    /// <summary>
            /// 校验用户名
            /// </summary>
            private void CheckLoginName()
            {
                string login = RSRequest.GetFormString("user_login");
                if (Validate.Email(login))
                {
                    ResponseStr(_memberBLL.ExistEmail(login) ? "has" : "none");
                }
                else if (Validate.Mobile(login))
                {
                    ResponseStr(_memberBLL.ExistMobile(login) ? "has" : "none");
                }
                else if (Validate.UsersName(login))
                {
                    ResponseStr(_memberBLL.ExistLogin(login) ? "has" : "none");
                }
            }
    专注互联网开发的:斯通麦博
  • 相关阅读:
    快速选择算法
    归并排序求逆序对
    学习记录:Dijstra最短路
    学习记录:拓扑排序
    学习记录:最小生成树
    学习记录:线段树
    STL:unqiue
    击中心头那些字
    javaWeb项目结构
    java注解
  • 原文地址:https://www.cnblogs.com/icestone10/p/3140063.html
Copyright © 2011-2022 走看看