06 2020 档案

摘要:/// <summary> /// 事务执行多条sql语句添加 /// </summary> /// <param name="SQLStringList"></param> /// <returns></returns> public int ExecuteSqlTran(List<String> 阅读全文
posted @ 2020-06-27 14:53 奇怪问题 阅读(384) 评论(0) 推荐(0) 编辑
摘要:<input id="checkAll" type="checkbox" /> <tbody id="tb"> <input type="checkbox" value=" '+ item.id + ' "/> </tbody> //复选框全选 $("#checkAll").click(functi 阅读全文
posted @ 2020-06-22 09:33 奇怪问题 编辑
摘要:**个人项目所建的表,可根据实际情况更改表数据 ++++++++++++++++存储过程查询分页+++++++++++++++++++++++++++++++++++--if(exists(select * from sys.objects where name='proc_UserShowPage 阅读全文
posted @ 2020-06-18 20:02 奇怪问题 阅读(203) 评论(0) 推荐(0) 编辑
摘要:create proc SP_Pagu(@pageIndex int,@pageSize int,@strWhere nvarchar(2000),@rowCount int out)asbegin declare @strSql nvarchar(3000); declare @countSql 阅读全文
posted @ 2020-06-10 13:54 奇怪问题 阅读(135) 评论(0) 推荐(0) 编辑
摘要:****项目引用一个JWT帮助类 接口类 public interface IBusiness { /// <summary> /// 登录 根据用户名和密码查询用户所有信息 /// </summary> /// <param name="model"></param> /// <returns>< 阅读全文
posted @ 2020-06-10 13:49 奇怪问题 阅读(277) 评论(0) 推荐(0) 编辑
摘要:namespace IOI_API.Controllers{ //获取路径 [Route("api/[controller]/[action]")] [ApiController] public class DefaultController : ControllerBase { private I 阅读全文
posted @ 2020-06-09 14:19 奇怪问题 阅读(470) 评论(0) 推荐(0) 编辑
摘要:// 显示 $.ajax({ url: "https://localhost:44387/api/控制器名/方法名", dataType: "json", type: "get", success: function (data) { $.each(data, function (index, it 阅读全文
posted @ 2020-06-09 14:11 奇怪问题 阅读(361) 评论(0) 推荐(0) 编辑
摘要://跨域配置 // 在Startup类里面 public void ConfigureServices(IServiceCollection services) { //跨域配置 services.AddCors(options => { // Policy 名稱 CorsPolicy 是自訂的,可 阅读全文
posted @ 2020-06-09 13:52 奇怪问题 阅读(381) 评论(0) 推荐(0) 编辑