增加EAIPath
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="EaiSender" value="003"/>
|
<add key="EaiSender" value="003"/>
|
||||||
<add key="EaiPort" value="80"/>
|
<add key="EaiPort" value="80"/>
|
||||||
|
<add key="EaiPath" value="U8EAI/import.asp" />
|
||||||
<!--修改账套请修改这里的配置-->
|
<!--修改账套请修改这里的配置-->
|
||||||
<!--<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>-->
|
<!--<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>-->
|
||||||
<!--<add key="connStr" value="Server=192.168.0.242 ;DataBase=UFDATA_003_2019;Uid=sa;Pwd=!@#qwe123;"/>-->
|
<!--<add key="connStr" value="Server=192.168.0.242 ;DataBase=UFDATA_003_2019;Uid=sa;Pwd=!@#qwe123;"/>-->
|
||||||
|
|||||||
@@ -70,10 +70,9 @@
|
|||||||
<Reference Include="Dapper, Version=1.40.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Dapper, Version=1.40.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Dapper.1.42\lib\net35\Dapper.dll</HintPath>
|
<HintPath>..\packages\Dapper.1.42\lib\net35\Dapper.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Interop.MSXML2, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Interop.MSXML2">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>E:\U8SOFT\Interop\Interop.MSXML2.dll</HintPath>
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
<HintPath>D:\U8SOFT\Interop\Interop.MSXML2.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Interop.U8Login, Version=1.14.0.0, Culture=neutral, PublicKeyToken=79a4e7ad54eeabca, processorArchitecture=MSIL">
|
<Reference Include="Interop.U8Login, Version=1.14.0.0, Culture=neutral, PublicKeyToken=79a4e7ad54eeabca, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
@@ -83,21 +82,17 @@
|
|||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.configuration" />
|
<Reference Include="System.configuration" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="UFIDA.U8.MomServiceCommon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=79a4e7ad54eeabca, processorArchitecture=MSIL">
|
<Reference Include="UFIDA.U8.MomServiceCommon">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>E:\U8SOFT\UFMOM\U8APIFramework\UFIDA.U8.MomServiceCommon.dll</HintPath>
|
||||||
<HintPath>D:\U8SOFT\UFMOM\U8APIFramework\UFIDA.U8.MomServiceCommon.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UFIDA.U8.U8APIFramework, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="UFIDA.U8.U8APIFramework">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>E:\U8SOFT\UFMOM\U8APIFramework\UFIDA.U8.U8APIFramework.dll</HintPath>
|
||||||
<HintPath>D:\U8SOFT\UFMOM\U8APIFramework\UFIDA.U8.U8APIFramework.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UFIDA.U8.U8MOMAPIFramework, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="UFIDA.U8.U8MOMAPIFramework">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>E:\U8SOFT\UFMOM\U8APIFramework\UFIDA.U8.U8MOMAPIFramework.dll</HintPath>
|
||||||
<HintPath>D:\U8SOFT\UFMOM\U8APIFramework\UFIDA.U8.U8MOMAPIFramework.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UFSoft.U8.Framework.Login.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19a34671517e8c56, processorArchitecture=MSIL">
|
<Reference Include="UFSoft.U8.Framework.Login.UI">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>E:\U8SOFT\Framework\UFSoft.U8.Framework.Login.UI.dll</HintPath>
|
||||||
<HintPath>D:\U8SOFT\Framework\UFSoft.U8.Framework.Login.UI.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UFSoft.U8.Framework.LoginContext, Version=1.0.0.0, Culture=neutral, PublicKeyToken=90e57cffdf9d854d, processorArchitecture=MSIL">
|
<Reference Include="UFSoft.U8.Framework.LoginContext, Version=1.0.0.0, Culture=neutral, PublicKeyToken=90e57cffdf9d854d, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
@@ -107,14 +102,14 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<WCFMetadata Include="Connected Services\" />
|
<WCFMetadata Include="Connected Services\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\NX.ERP.Model\NX.ERP.Model.csproj">
|
<ProjectReference Include="..\NX.ERP.Model\NX.ERP.Model.csproj">
|
||||||
<Project>{5d012e0a-afed-474e-81a9-5820890b1b29}</Project>
|
<Project>{5d012e0a-afed-474e-81a9-5820890b1b29}</Project>
|
||||||
<Name>NX.ERP.Model</Name>
|
<Name>NX.ERP.Model</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
@@ -12,6 +12,7 @@ namespace NX.ERP.U8
|
|||||||
{
|
{
|
||||||
private static U8LoginContext _u8LoginContext;
|
private static U8LoginContext _u8LoginContext;
|
||||||
private string EaiPort = System.Configuration.ConfigurationManager.AppSettings["EaiPort"];
|
private string EaiPort = System.Configuration.ConfigurationManager.AppSettings["EaiPort"];
|
||||||
|
private string EaiPath = System.Configuration.ConfigurationManager.AppSettings["EaiPath"];
|
||||||
public static U8LoginContext Instance
|
public static U8LoginContext Instance
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -148,7 +149,10 @@ namespace NX.ERP.U8
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return $"http://{this.ClsLogin.cServer}:{EaiPort}/U8EAI/import.asp";
|
|
||||||
|
|
||||||
|
|
||||||
|
return $"http://{this.ClsLogin.cServer}:{EaiPort}/{EaiPath}";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -203,6 +207,9 @@ namespace NX.ERP.U8
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 判断是否使用UI登录
|
||||||
|
/// </summary>
|
||||||
public bool NeedUiLogin
|
public bool NeedUiLogin
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
<add key="UserId" value="wx998"/>
|
<add key="UserId" value="wx998"/>
|
||||||
<add key="Password" value="nx123456"/>
|
<add key="Password" value="nx123456"/>
|
||||||
<add key="EaiPort" value="80"/>
|
<add key="EaiPort" value="80"/>
|
||||||
|
<add key="EaiPath" value="U8EAI/import.asp" />
|
||||||
<add key="webpages:Version" value="3.0.0.0" />
|
<add key="webpages:Version" value="3.0.0.0" />
|
||||||
<add key="webpages:Enabled" value="false" />
|
<add key="webpages:Enabled" value="false" />
|
||||||
<add key="ClientValidationEnabled" value="true" />
|
<add key="ClientValidationEnabled" value="true" />
|
||||||
|
|||||||
Reference in New Issue
Block a user