ZhiYeJianKang_PeiXun/PeiXunWebAPI/Web - 副本.configxxx

110 lines
6.9 KiB
Plaintext
Raw Permalink Normal View History

2025-02-20 15:41:53 +08:00
<?xml version="1.0" encoding="utf-8"?>
<!--
有关如何配置 ASP.NET 应用程序的详细信息,请访问
https://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core" />
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
</sectionGroup>
<section name="Platform" type="WeiSha.Common.PlatformInfoHandler,WeiSha.Common" />
<section name="KindEditor" type="WeiSha.WebEditor.ConfigHandler,WeiSha.WebEditor" />
</configSections>
<spring>
<context>
<resource uri="config://spring/objects" />
</context>
<objects xmlns="http://www.springframework.net">
<description>适用于Sql2005数据库</description>
<object id="IManageMenu" type="Song.ServiceImpls.ManageMenuCom,Song.ServiceImpls" />
<object id="IOrganization" type="Song.ServiceImpls.OrganizationCom,Song.ServiceImpls" />
<object id="IAccounts" type="Song.ServiceImpls.AccountsCom,Song.ServiceImpls" />
<object id="IStudent" type="Song.ServiceImpls.StudentCom,Song.ServiceImpls" />
<object id="ITeacher" type="Song.ServiceImpls.TeacherCom,Song.ServiceImpls" />
<object id="IAddressList" type="Song.ServiceImpls.AddressListCom,Song.ServiceImpls" />
<object id="IDailyLog" type="Song.ServiceImpls.DailyLogCom,Song.ServiceImpls" />
<object id="ITask" type="Song.ServiceImpls.TaskCom,Song.ServiceImpls" />
<object id="IDepart" type="Song.ServiceImpls.DepartCom,Song.ServiceImpls" />
<object id="IPosition" type="Song.ServiceImpls.PositionCom,Song.ServiceImpls" />
<object id="IPayInterface" type="Song.ServiceImpls.PayInterfaceCom,Song.ServiceImpls" />
<object id="IGuide" type="Song.ServiceImpls.GuideCom,Song.ServiceImpls" />
<object id="IEmpGroup" type="Song.ServiceImpls.EmpGroupCom,Song.ServiceImpls" />
<object id="IPurview" type="Song.ServiceImpls.PurviewCom,Song.ServiceImpls" />
<object id="IProfitSharing" type="Song.ServiceImpls.ProfitSharingCom,Song.ServiceImpls" />
<object id="IEmployee" type="Song.ServiceImpls.EmployeeCom,Song.ServiceImpls" />
<object id="IMobileUser" type="Song.ServiceImpls.MobileUserCom,Song.ServiceImpls" />
<object id="ILogs" type="Song.ServiceImpls.LogsCom,Song.ServiceImpls" />
<object id="IMessage" type="Song.ServiceImpls.MessageCom,Song.ServiceImpls" />
<object id="IColumns" type="Song.ServiceImpls.ColumnsCom,Song.ServiceImpls" />
<object id="IContents" type="Song.ServiceImpls.ContentsCom,Song.ServiceImpls" />
<object id="ICourse" type="Song.ServiceImpls.CourseCom,Song.ServiceImpls" />
<object id="IOutline" type="Song.ServiceImpls.OutlineCom,Song.ServiceImpls" />
<object id="IUser" type="Song.ServiceImpls.UserCom,Song.ServiceImpls" />
<object id="IAccessory" type="Song.ServiceImpls.AccessoryCom,Song.ServiceImpls" />
<object id="IProduct" type="Song.ServiceImpls.ProductCom,Song.ServiceImpls" />
<object id="ILinks" type="Song.ServiceImpls.LinksCom,Song.ServiceImpls" />
<object id="IVote" type="Song.ServiceImpls.VoteCom,Song.ServiceImpls" />
<object id="IMessageBoard" type="Song.ServiceImpls.MessageBoardCom,Song.ServiceImpls" />
<object id="INotice" type="Song.ServiceImpls.NoticeCom,Song.ServiceImpls" />
<object id="ISystemPara" type="Song.ServiceImpls.SystemParaCom,Song.ServiceImpls" />
<object id="ISMS" type="Song.ServiceImpls.SMSCom,Song.ServiceImpls" />
<object id="ISSO" type="Song.ServiceImpls.SSOCom,Song.ServiceImpls" />
<object id="IInternalLink" type="Song.ServiceImpls.InternalLinkCom,Song.ServiceImpls" />
<object id="IStyle" type="Song.ServiceImpls.StyleCom,Song.ServiceImpls" />
<object id="ISubject" type="Song.ServiceImpls.SubjectCom,Song.ServiceImpls" />
<object id="ITeam" type="Song.ServiceImpls.TeamCom,Song.ServiceImpls" />
<object id="IKnowledge" type="Song.ServiceImpls.KnowledgeCom,Song.ServiceImpls" />
<object id="IQuestions" type="Song.ServiceImpls.QuestionsCom,Song.ServiceImpls" />
<object id="ITestPaper" type="Song.ServiceImpls.TestPaperCom,Song.ServiceImpls" />
<object id="ITemplate" type="Song.ServiceImpls.TemplateCom,Song.ServiceImpls" />
<object id="IExamination" type="Song.ServiceImpls.ExaminationCom,Song.ServiceImpls" />
<object id="ITrPlan" type="Song.ServiceImpls.TrPlanCom,Song.ServiceImpls" />
<object id="ILimitDomain" type="Song.ServiceImpls.LimitDomainCom,Song.ServiceImpls" />
<object id="IRecharge" type="Song.ServiceImpls.RechargeCom,Song.ServiceImpls" />
<object id="ILearningCard" type="Song.ServiceImpls.LearningCardCom,Song.ServiceImpls" />
<object id="ILive" type="Song.ServiceImpls.LiveCom,Song.ServiceImpls" />
</objects>
</spring>
<appSettings>
<add key="Taurus.Controllers" value="PeiXun.Controllers" />
<!--<add key="Taurus.Controllers" value="Song.Site" />-->
<add key="IsAutoCache" value="false" />
<add key="IsWriteLog" value="true" />
<add key="RouteMode" value="1" />
<add key="RedisServers" value="127.0.0.1:6379"/>
</appSettings>
<connectionStrings>
<add name="localhost"
connectionString="Data Source=.\sqlserver2019;Initial Catalog=examweisha_dezhou;User ID=sa;password=sa123456;"
providerName="WeiSha.Data.SqlServer9.SqlServer9Provider" />
<add name="Conn" connectionString="Data Source=.\sqlserver2019;Initial Catalog=examweisha_dezhou;User ID=sa;password=sa123456;"
providerName="WeiSha.Data.SqlServer9.SqlServer9Provider" />
</connectionStrings>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<!--Taurus IIS应用程序池集成模式下运行开启此配置反之注释掉此行-->
<add name="Taurus.Core" type="Taurus.Core.UrlRewrite,Taurus.Core" />
</modules>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Methods" value="OPTIONS,POST,GET,fetch" />
<!--<add name="Access-Control-Allow-Headers" value="Content-Type" />-->
<add name="Access-Control-Allow-Headers" value="x-requested-with,Content-Type" />
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
<system.web>
<compilation debug="true" targetFramework="4.6" />
<httpRuntime targetFramework="4.6" />
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
</compilers>
</system.codedom>
</configuration>