|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<configuration>
|
|
|
<configSections>
|
|
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
|
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
|
|
</configSections>
|
|
|
<system.web>
|
|
|
<compilation debug="true" targetFramework="4.0" />
|
|
|
<customErrors mode="Off" />
|
|
|
<httpRuntime requestValidationMode="2.0" />
|
|
|
</system.web>
|
|
|
<connectionStrings>
|
|
|
<add name="ConStr" connectionString="Data Source=47.104.73.97,1433;Initial Catalog=MYSHIPPING;Persist Security Info=True;User ID=sa;Password=Ds140101" providerName="System.Data.SqlClient" />
|
|
|
<add name="ConStrDS" connectionString="Data Source=47.104.73.97,1433;Initial Catalog=DsPingTai;Persist Security Info=True;User ID=sa;Password=Ds140101" providerName="System.Data.SqlClient" />
|
|
|
<add name="MYSHIPPINGTESTEntities" connectionString="metadata=res://*/Web.wx.Views.YZ.Model1.csdl|res://*/Web.wx.Views.YZ.Model1.ssdl|res://*/Web.wx.Views.YZ.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=47.104.73.97;initial catalog=DsPingTaiTest;persist security info=True;user id=sa;password=Ds140101;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /></connectionStrings>
|
|
|
<appSettings>
|
|
|
<!--微信相关的配置信息-->
|
|
|
<!--微信相关>微信oauth2授权接口地址-->
|
|
|
<add key="wxdomain" value="https://open.weixin.qq.com/connect/oauth2/authorize" />
|
|
|
<!--微信相关>微信获取accesstoken接口地址-->
|
|
|
<add key="tokendomain" value="https://api.weixin.qq.com/sns/oauth2/access_token" />
|
|
|
<!--微信相关>secret(应用密钥AppSecret)-->
|
|
|
<add key="secret" value="b5cfca4430b369561eee486556df67df" />
|
|
|
<!--微信相关>appid-->
|
|
|
<add key="appid" value="wx029d5994ace18575" />
|
|
|
<!--微信相关>redirect_uri(回调地址)-->
|
|
|
<add key="redirect_uri" value="http://www.myshipping.net/Web/wx/Views/Login/Redirect.aspx" />
|
|
|
<!--微信相关>response_type(返回类型)-->
|
|
|
<add key="response_type" value="code" />
|
|
|
<!--微信相关>scope(应用授权作用域)-->
|
|
|
<add key="scope" value="snsapi_base" />
|
|
|
<!--微信相关>state(重定向后的验证参数)-->
|
|
|
<add key="state" value="dstest" />
|
|
|
<!--微信相关>#wechat_redirect(直接在微信打开链接)-->
|
|
|
<add key="wechat_redirect" value="#wechat_redirect" />
|
|
|
<!--微信相关>#域名(直接在微信打开链接)-->
|
|
|
<add key="Domain" value="http://www.myshipping.net" />
|
|
|
<!--微信相关>模板消息->流程待审批提醒ID-->
|
|
|
<add key="TMFFSPID" value="tNqYubteybRf5PrMVG128kax5nO6xLfmi6QVw_x3Hbg" />
|
|
|
<!--微信相关>调试工具->是否启用DBLog 0:不启用 1:启用-->
|
|
|
<add key="AllowDBLog" value="1" />
|
|
|
</appSettings>
|
|
|
<entityFramework>
|
|
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
|
|
<parameters>
|
|
|
<parameter value="v13.0" />
|
|
|
</parameters>
|
|
|
</defaultConnectionFactory>
|
|
|
</entityFramework>
|
|
|
</configuration> |