摘要: 阅读全文
posted @ 2020-09-03 13:16 影子少年 阅读(141) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-03 13:10 影子少年 阅读(112) 评论(0) 推荐(0)
摘要: </a> 阅读全文
posted @ 2020-08-18 17:10 影子少年 阅读(77) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-08-17 08:22 影子少年 阅读(89) 评论(0) 推荐(0)
摘要: //商品详情 [HttpGet] public Goods GetGood(Goods goods) { using (SqlConnection conn = new SqlConnection(connstr)) { return conn.Query<Goods>("select * from 阅读全文
posted @ 2020-08-06 21:36 影子少年 阅读(161) 评论(0) 推荐(0)
摘要: //api //数据库连接字符串 string connstr = "Data Source=.;Initial Catalog=Month6;Integrated Security=True"; APIFileHelp help = new APIFileHelp(); //上传文件 [HttpP 阅读全文
posted @ 2020-08-06 21:01 影子少年 阅读(2819) 评论(1) 推荐(0)
摘要: 先从NuGet包安装 在实例化帮助类 RedisClient client = new RedisClient("127.0.0.1", 6379); 阅读全文
posted @ 2020-08-06 20:54 影子少年 阅读(95) 评论(0) 推荐(0)
摘要: --创建存储过程 create proc sp_Show( @index int, --当前页 @size int, --每页大小 @totalcount int out, --总数据数 @pagecount int out --总页数)asbegin --计算总数据数 select @totalc 阅读全文
posted @ 2020-08-06 20:04 影子少年 阅读(308) 评论(0) 推荐(0)
摘要: @{ ViewBag.Title = "Index";}<script src="~/Scripts/jquery-3.4.1.js"></script><script src="~/Scripts/jquery-3.4.1.min.js"></script><script src="~/jquer 阅读全文
posted @ 2020-08-06 20:01 影子少年 阅读(99) 评论(0) 推荐(0)
摘要: @{ ViewBag.Title = "Login";} <h2>Login</h2><script src="~/Scripts/jquery-3.4.1.js"></script><script src="~/Scripts/jquery-3.4.1.min.js"></script><scri 阅读全文
posted @ 2020-08-06 19:43 影子少年 阅读(385) 评论(0) 推荐(0)