修复页面加载不出的问题

This commit is contained in:
陈淳
2022-10-13 14:04:48 +08:00
parent edde5f8a88
commit ea4ddb68f3
17 changed files with 122 additions and 52 deletions

View File

@@ -4,6 +4,8 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.DTOModel;
using Yi.Framework.Model.Models;
namespace Yi.Framework.WebCore.Mapper
{
@@ -12,7 +14,8 @@ namespace Yi.Framework.WebCore.Mapper
// 添加你的实体映射关系.
public AutoMapperProfile()
{
//CreateMap<DBPoundSheet, PoundSheetViewModel>();
CreateMap<ArticleEntity, ArticleVo > ();
CreateMap<UserEntity, UserVo>();
}
}