Example #1
0
        public JsonResult classtable(string openid)
        {
            StudentInfo info = DBManual.SelectUser(openid);

            JWCHttpHelper.Login(info.studentnum, info.pwd);
            return(JWCHttpHelper.jwc_classtable <JsonResult>());
        }
Example #2
0
        private static string isnotexist(string openid)
        {
            StudentInfo studentinfo = DBManual.SelectUser(openid);

            studentinfo.Check();
            if (studentinfo.IsSuccess)
            {
                return("请确认您的密码:" + HttpUtility.UrlDecode(studentinfo.pwd) + "正确,我们将在24小时内为您开通功能。");
            }
            else
            {
                return(studentinfo.errormessage);
            }
        }