@@ -29,10 +29,10 @@ | |||||
</containers> | </containers> | ||||
</unity>--> | </unity>--> | ||||
<!--数据库--> | <!--数据库--> | ||||
<connectionStrings> | |||||
<!--<connectionStrings> | |||||
<add name="BaseDb" connectionString="Server=192.168.2.126;Initial Catalog=adms7ultimate2;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" /> | <add name="BaseDb" connectionString="Server=192.168.2.126;Initial Catalog=adms7ultimate2;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" /> | ||||
</connectionStrings> | |||||
</connectionStrings>--> | |||||
<!--系统设置--> | <!--系统设置--> | ||||
<appSettings> | <appSettings> | ||||
<!-- ================== 1:开发系统相关配置 ================== --> | <!-- ================== 1:开发系统相关配置 ================== --> | ||||
@@ -51,7 +51,7 @@ namespace Learun.Application.IMServer | |||||
} | } | ||||
catch (TargetInvocationException exception) | catch (TargetInvocationException exception) | ||||
{ | { | ||||
Console.WriteLine("服务开启失败. 已经有一个服务运行在{0}", SignalRURI); | |||||
Console.WriteLine("服务开启失败. 已经有一个服务运行在{0}. 异常信息:{1}", SignalRURI, exception.ToString()); | |||||
Console.ReadLine(); | Console.ReadLine(); | ||||
} | } | ||||
} | } | ||||
@@ -60,19 +60,19 @@ | |||||
<add key="MPRoleName" value="内控材料上传员" /> | <add key="MPRoleName" value="内控材料上传员" /> | ||||
<!-- ================== 6:即时通信参数 ================== --> | <!-- ================== 6:即时通信参数 ================== --> | ||||
<!-- SignalR服务接口--> | <!-- SignalR服务接口--> | ||||
<add key="IMUrl" value="http://192.168.2.126:8012/signalr" /> | |||||
<add key="IMOpen" value="false" /> | |||||
<add key="IMUrl" value="http://localhost:8012/signalr" /> | |||||
<add key="IMOpen" value="true" /> | |||||
<add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" /> | <add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" /> | ||||
<!-- ==================注意附件上传地址 修改到部署目录下的Resource要不然飞星会报错================== --> | <!-- ==================注意附件上传地址 修改到部署目录下的Resource要不然飞星会报错================== --> | ||||
<add key="AnnexesFile" value="D:\gitLocalRepositories\DigitalScholl\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource" /> | <add key="AnnexesFile" value="D:\gitLocalRepositories\DigitalScholl\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource" /> | ||||
<!-- ================== 8:流程服务地址 ================== --> | <!-- ================== 8:流程服务地址 ================== --> | ||||
<add key="workflowapi" value="http://localhost:8013" /> | <add key="workflowapi" value="http://localhost:8013" /> | ||||
<!--Redis 缓存前缀 --> | <!--Redis 缓存前缀 --> | ||||
<add key="RedisPrev" value="LRADMS" /> | <add key="RedisPrev" value="LRADMS" /> | ||||
<!--Redis 缓存前缀 --><!-- | |||||
<add key="RedisPrev" value="adms706" />--> | |||||
<!--Redis 缓存前缀 --> | |||||
<!--<add key="RedisPrev" value="adms706" />--> | |||||
<!--缓存链接配置--> | <!--缓存链接配置--> | ||||
<add key="RedisExchangeHosts" value="127.0.0.1:6379,allowadmin=true"/> | <add key="RedisExchangeHosts" value="127.0.0.1:6379,allowadmin=true"/> | ||||
@@ -61,6 +61,8 @@ | |||||
<!-- ================== 6:即时通信参数 ================== --> | <!-- ================== 6:即时通信参数 ================== --> | ||||
<!-- SignalR服务接口--> | <!-- SignalR服务接口--> | ||||
<add key="IMUrl" value="http://localhost:8012/signalr" /> | <add key="IMUrl" value="http://localhost:8012/signalr" /> | ||||
<add key="IMOpen" value="true" /> | |||||
<add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" /> | <add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" /> | ||||
<!-- ==================注意附件上传地址 修改到主网站部署目录下的Resource要不然飞星会报错================== --> | <!-- ==================注意附件上传地址 修改到主网站部署目录下的Resource要不然飞星会报错================== --> | ||||
<add key="AnnexesFile" value="D:\leiprojects\西昌单校区\Learun.Application.Web\Resource" /> | <add key="AnnexesFile" value="D:\leiprojects\西昌单校区\Learun.Application.Web\Resource" /> | ||||