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