摘要: /// <summary> /// 用户表(Users) /// 实体类 /// 实体类 Model: /// 特性验证! /// </summary> public class Users { public int Id { get; set; }//主键 [Required(ErrorMessa 阅读全文
posted @ 2016-03-12 12:25 鱼恋虾0 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 业务逻辑层 BLL:引用DAL层>>Model层>>Common层 数据访问层 DAL:引用Model层 实体类 Model:不引用任何层 工具类 Common:不引用任何层(公共类,都可以引用此类) 数据表示层 FROM:引用BLL层>>Model层 阅读全文
posted @ 2016-03-12 12:24 鱼恋虾0 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 控制器: 初始化控制器 //会员登录 public ActionResult ClubLogin() { return View(); } #region 俱乐部登录 /// <summary> /// 登录方法 /// </summary> /// <param name="fchrPhoneNO 阅读全文
posted @ 2016-03-12 12:23 鱼恋虾0 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 定义需要隐藏显示的div -id 初始化隐藏所有的div 当点击某一个的时候掉方法 <script type="text/javascript"> //year month day function ri() { $("#day").show(); $("#month").hide(); $("#y 阅读全文
posted @ 2016-03-12 12:15 鱼恋虾0 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1.首先在config里配置<appSettings> <!--俱乐部陪练--> <add key="SecurityKey" value="Pl4c5WAIT6O8TustOZULVOq6CUKpwQSH"/></appSettings> 2.接口: 接收 验证参数 两边加密字段 顺序都要一致 i 阅读全文
posted @ 2016-03-12 12:06 鱼恋虾0 阅读(909) 评论(0) 推荐(0) 编辑
摘要: private static char[] constant = { '0','1','2','3','4','5','6','7','8','9', 'a','b','c','d','e','f','g','h','i','j','k','l', 阅读全文
posted @ 2016-03-12 11:56 鱼恋虾0 阅读(181) 评论(0) 推荐(0) 编辑