zoukankan      html  css  js  c++  java
  • angular1.几框架新接口添加

    1、Web.config里添加

    <!--客户中心-->
    <add key="CustomerUrl" value="//customercenter.lunztech.cn/" />
    <add key="CustomerAppKey" value="cc9065db-9b87-43b9-9917-0c4b5b4fc9d3" />

    2、Foot.cshtml里添加

    var CustomerUrl = '@System.Configuration.ConfigurationManager.AppSettings["CustomerUrl"]';
    var CustomerAppKey = '@System.Configuration.ConfigurationManager.AppSettings["CustomerAppKey"]';

    @*客户中心*@
    <script src="@System.Configuration.ConfigurationManager.AppSettings["CustomerUrl"]sdk/api.js" type="text/javascript"></script>
    <script src="@System.Configuration.ConfigurationManager.AppSettings["CustomerUrl"]sdk/api.CustStore.js" type="text/javascript"></script>

    3、app.js里添加

  • 相关阅读:
    eclipse工具
    Tag
    JSP模版
    Eclipse断点调试
    JavaBean
    验证码设计
    在IE中提示404错误
    序列化与反序列化
    文件编码问题
    强类型,弱类型和推断类型
  • 原文地址:https://www.cnblogs.com/cacti/p/7675786.html
Copyright © 2011-2022 走看看