优化分层结构,添加常量
This commit is contained in:
@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System;
|
||||
using System.IO;
|
||||
using Yi.Framework.DTOModel.RABC.Student.MapperConfig;
|
||||
using Yi.Framework.DtoModel.RABC.Student.MapperConfig;
|
||||
using Yi.Framework.WebCore.Mapper;
|
||||
|
||||
namespace Yi.Framework.WebCore.AspNetCoreExtensions
|
||||
@@ -17,7 +17,7 @@ namespace Yi.Framework.WebCore.AspNetCoreExtensions
|
||||
{
|
||||
//这里会通过反射自动注入的,先临时这样
|
||||
|
||||
var profileList = Common.Helper.AssemblyHelper.GetClassByBaseClassesAndInterfaces("Yi.Framework.DTOModel", typeof(Profile));
|
||||
var profileList = Common.Helper.AssemblyHelper.GetClassByBaseClassesAndInterfaces("Yi.Framework.DtoModel", typeof(Profile));
|
||||
profileList.Add(typeof(AutoMapperProfile));
|
||||
services.AddAutoMapper(profileList.ToArray());
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Yi.Framework.Common.Const;
|
||||
using Yi.Framework.Common.Enum;
|
||||
using Yi.Framework.Common.Models;
|
||||
using Yi.Framework.Core.Cache;
|
||||
using Yi.Framework.DTOModel.Base.Dto;
|
||||
using Yi.Framework.DtoModel.Base.Dto;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
using Yi.Framework.WebCore.CommonExtend;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.DTOModel.Base.Vo;
|
||||
using Yi.Framework.DtoModel.Base.Vo;
|
||||
using Yi.Framework.Model.BBS.Entitys;
|
||||
using Yi.Framework.Model.RABC.Entitys;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user