摘要: //获取cookie cname代表你的key比如存储的code就使用code获取值 function GetCookie(cname) { var name = cname + "="; var c = document.cookie.split(";"); for (var i = 0; i < 阅读全文
posted @ 2020-06-17 08:11 卧虎 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 1 // 这是用的API 2 //分页查询 3 [Route("api/page")] 4 [HttpGet] 5 public PageModel GetPage(int pagesize = 3, int pageindex = 1, string coupontype = "", string 阅读全文
posted @ 2020-06-09 14:36 卧虎 阅读(221) 评论(0) 推荐(0) 编辑
摘要: set nocount on --关闭受影响行数 阅读全文
posted @ 2020-06-09 14:27 卧虎 阅读(849) 评论(0) 推荐(1) 编辑
摘要: if(exists (select * from sys.objects where name='proc_Paging')) drop proc proc_Paginggocreate proc proc_Paging( @CountryCode nvarchar(20),--国家编号 @Page 阅读全文
posted @ 2020-06-09 13:46 卧虎 阅读(160) 评论(0) 推荐(1) 编辑
摘要: var id = window.location.search.split("=")[1]; 阅读全文
posted @ 2020-06-09 11:23 卧虎 阅读(113) 评论(0) 推荐(0) 编辑