Пример #1
0
        /// <summary>
        /// 用户登录校验 返回:USERID+ 0普通用户 1专业用户 2专业用户
        /// </summary>
        /// <param name="strUserName">手机号</param>
        /// <param name="strUserPass">密码</param>
        /// <returns>用户类型 </returns>
        public static string Login(string strUserName, string strUserPass)
        {
            SortedList SDList = new SortedList();
            SDList["@USERLOGIN"] = strUserName;
            SDList["@USERPASS"] = strUserPass;
            PUBWeb TT = new PUBWeb();
            string strBack = TT.WebDBSqlOne("PRO_SYS_USERLOGIN", SDList);

            return strBack;
        }
Пример #2
0
 /// <summary>
 /// 获取最新版本号路径 版本号$HTTP路径 空表示未更新
 /// </summary> 
 public static string getVesionUrl()
 {
     PUBWeb TT = new PUBWeb();
     SortedList SDList =  new SortedList();
     SDList["@CURRVERSION"] = STRCURRVESION;
     string strBack = TT.WebDBSqlOne("PRO_SYS_CONFIGQUERY_VERSION", SDList );
     return strBack;
 }
Пример #3
0
 /// <summary>
 /// 判断验证码
 /// </summary>
 /// <returns></returns>
 public static string getCurrMibioMark(string strMibioNo,string strMarkNo)
 {
     PUBWeb TT = new PUBWeb();
     SortedList SDList = new SortedList();
     SDList["@PHOTENO"] = strMibioNo;
     SDList["@MARKNO"] = strMarkNo;
     string strBack = TT.WebDBSqlOne("PRO_SYS_PHOTEMARK", SDList);
     return strBack;
 }