IM12345_Api demo - 代码源于 商丘市12345项目

App.config 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <startup>
  4. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  5. </startup>
  6. <appSettings>
  7. <!--本机外网IP-->
  8. <add key="ip" value="Any"/>
  9. <!--本机外网端口-->
  10. <add key="port" value="2022"/>
  11. <!--客户端连接最大数-->
  12. <add key="maxnumber" value="1000"/>
  13. <!--每页数量-->
  14. <add key="pagenumer" value="10"/>
  15. <!--游客简称-->
  16. <add key="anyname" value="游客"/>
  17. <!--首次连接欢迎词-->
  18. <add key="welcome" value="欢迎你!"/>
  19. <!--客服不在线-->
  20. <add key="busy" value="客服不在线,请稍后咨询!"/>
  21. <!--客户ip是黑名单-->
  22. <add key="black" value="当前状态异常,请电话联系!"/>
  23. <!--智能机器人回复 - 客服不在线时-->
  24. <add key="busy_robotreply" value="对不起,我已经很努力了,未能找到。请试试其他信息吧"/>
  25. <!--提示欢迎词(默认)-->
  26. <add key="welcome" value="你好,见到你很开心"/>
  27. <!--提示欢迎词时间间隔(秒)-->
  28. <add key="welcome_maxtime" value="60"/>
  29. <!--IP获取地址url 没有用-->
  30. <!--<add key="ipurl" value="http://ip.taobao.com/service/getIpInfo2.php"/>-->
  31. </appSettings>
  32. <connectionStrings>
  33. <add name="ConnectionString" connectionString="Data Source=192.168.8.3;User ID=sa;pwd=800100;Initial Catalog=IM12345;"/>
  34. </connectionStrings>
  35. <runtime>
  36. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  37. <dependentAssembly>
  38. <assemblyIdentity name="SuperSocket.SocketBase" publicKeyToken="6c80000676988ebb" culture="neutral"/>
  39. <bindingRedirect oldVersion="0.0.0.0-1.6.0.4" newVersion="1.6.0.4"/>
  40. </dependentAssembly>
  41. <dependentAssembly>
  42. <assemblyIdentity name="SuperSocket.Common" publicKeyToken="6c80000676988ebb" culture="neutral"/>
  43. <bindingRedirect oldVersion="0.0.0.0-1.6.0.4" newVersion="1.6.0.4"/>
  44. </dependentAssembly>
  45. <dependentAssembly>
  46. <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral"/>
  47. <bindingRedirect oldVersion="0.0.0.0-1.2.13.0" newVersion="1.2.13.0"/>
  48. </dependentAssembly>
  49. </assemblyBinding>
  50. </runtime>
  51. </configuration>