摘要: 需求: 将时间格式转换为 yyyy-MM-dd 形式 两种方法:(1)把实体中(viewmodel)中的字段换成string类型,然后再格式化 (2)更改显示模板 (1)把实体中(viewmodel)中的字段换成string类型,然后在automapper中格式化 [Display(Name = " 阅读全文
posted @ 2018-07-16 16:31 NICETOMEETYOUSEVEN 阅读(384) 评论(0) 推荐(0) 编辑