随笔分类 - Net core
Net core基本操作
摘要:直接上代码 using (var db = Context) { using (var TR = db.Database.BeginTransaction()) { try { GoodsImg model = new GoodsImg(); model.CreateTime = DateTime.
阅读全文
摘要:appsettings.json "CorsUrls": [ "http://localhost:9527", "https://localhost:3000", ] 注册信息 var cors = Configuration.GetSection("CorsUrls").GetChildren()
阅读全文
摘要:public ActionResult GetCourseList() { var mo = from e in gzhContext.WxCourseList.Select(m=>new { m.Id,m.Title,m.CourseName,m.Coursetype,m.StartTime, m
阅读全文
摘要:html <label> <input type="file" @change="tirggerFile($event)" /> </label> script methods: { tirggerFile: function(event) { var self = this; var file =
阅读全文

浙公网安备 33010602011771号