WEB/Web.config

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0"?>
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
  <configSections>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data"/>
  </configSections>
  <appSettings>
    <add key="execlConnStr" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=Excel 8.0;"/>
    <add key="excelHead" value="~/administrator/export/excel_head.txt"/>
    <add key="excelFoot" value="~/administrator/export/excel_foot.txt"/>
    <add key="cnname" value="商城管理系统"/>
    <add key="enname" value="TianMei Building Materials Market Site Store Back Office Management System"/>
    <add key="CoNo" value="34543"/><!-- 在线网银支付商户号 -->
    <add key="BranchID" value="232"/>
	<!-- <add key="action" value="https://netpay.cmbchina.com/basehttp.dll?PrepayC2"/>原来的农业银行支付地址 -->
	<add key="action" value="https://pay3.chinabank.com.cn/PayGate"/> <!-- 提交在线网银支付的地址(post方式) -->
    <add key="MerchantKey" value="0000000000"/>
	<add key="cmdkey" value="1H6G0Z0P83D70A1E8AF60F49C143A7B95"/>  <!-- 验证的密钥,如果你网银钥匙还没有设置,请登陆网银提供商户后台进行设置,地址:https://merchant3.chinabank.com.cn/ -->
	<add key="cmbReturnUrl" value="/cmbReturn.aspx"/>  <!-- 返回结果支付处理的页面 -->
  </appSettings>
  <dataConfiguration defaultDatabase="webConnectionString"/>
  <connectionStrings>
    <!--<add name="webConnectionString" connectionString="Data Source=.;Initial Catalog=wsbshop;Integrated Security=True" providerName="System.Data.SqlClient"/>-->
    <add name="webConnectionString" connectionString="Data Source=.;Initial Catalog=wsbshop;User ID=sa;Pwd=q1w2e3r4" providerName="System.Data.SqlClient"/>
    <!--<add name="webConnectionString" connectionString="server=.;database=wsbshop;uid=sa;pwd=q1w2e3r4"/>-->
  </connectionStrings>
  <location path="manager">
    <system.web>
      <authorization>
        <deny users="?"/>
      </authorization>
		<!-- 如下这两句是关闭 程序的 validateRequest验证 -->
		<httpRuntime requestValidationMode="2.0" />
		<pages validateRequest="false"></pages>
</system.web>
  </location>
  <system.web>

    <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
    <compilation debug="true" targetFramework="4.0"/>
    <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
    <authentication mode="Forms">
      <forms name="timjcshop" loginUrl="back-login.aspx"/>
    </authentication>
后面还有 17 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。