摘要: var vm=this; 取值 vm.$route.query.uid 方法跳转传参 this.$router.push({ path: '/game_user/user_geninfo', query: { uid: this.$route.query.uid }}); router-link传值 阅读全文
posted @ 2021-08-24 11:23 噜啦啦0001 阅读(112) 评论(0) 推荐(0) 编辑
摘要: //将202004这样的格式转换为时间格式 DateTime date = DateTime.ParseExact(datetime, "yyyyMM", System.Globalization.CultureInfo.CurrentCulture); //本月天数 int days = Date 阅读全文
posted @ 2020-06-09 14:12 噜啦啦0001 阅读(145) 评论(0) 推荐(0) 编辑
摘要: public ReturnModel GetStudent(string json) { ParamsModel model = JsonConvert.DeserializeObject<ParamsModel>(json); //连接对象 using (SqlConnection conn = 阅读全文
posted @ 2020-02-18 07:48 噜啦啦0001 阅读(212) 评论(0) 推荐(2) 编辑
摘要: API 控制器1 主要用于增删改查已经反填数据查询 using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Net; using Syst 阅读全文
posted @ 2020-02-17 21:20 噜啦啦0001 阅读(1135) 评论(0) 推荐(1) 编辑
摘要: @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <link href="~/layui/css/lay 阅读全文
posted @ 2020-02-17 14:16 噜啦啦0001 阅读(2262) 评论(0) 推荐(0) 编辑
摘要: @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <link href="~/layui/css/l 阅读全文
posted @ 2020-02-17 14:15 噜啦啦0001 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 修改App_Start文件夹中的WebApiConfig文件里的Register方法 public static void Register(HttpConfiguration config) { // Web API 配置和服务 GlobalConfiguration.Configuration. 阅读全文
posted @ 2020-02-15 12:24 噜啦啦0001 阅读(1284) 评论(0) 推荐(0) 编辑
摘要: //控制器using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.IO;//上传文件的数据流 namespace U 阅读全文
posted @ 2020-02-13 16:01 噜啦啦0001 阅读(167) 评论(0) 推荐(0) 编辑
摘要: select UId,UName,stuff((select ','+RName from USER_SHOW where a.UId = UId for xml path('')),1,1,'') as RName from USER_SHOW as a group by UId,UName 阅读全文
posted @ 2020-01-12 10:59 噜啦啦0001 阅读(84) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Dapper; using System.Data.SqlClient; 阅读全文
posted @ 2020-01-11 20:59 噜啦啦0001 阅读(109) 评论(0) 推荐(0) 编辑