Admin/system/!/config/Default.aspx

(开头部分) 3KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/!/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="__config_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        uap('uap-grid');

        function onActionRenderer(e) {
            return '<span class="icon-remove" style="width:16px;height:16px;display:inline-block;cursor:pointer;" title="删除" onclick="removeRow()"></span>';
        }
        function addRow() {
            grid.addRow({});
        }
        function removeRow(i) {
            var r = grid.getSelected();
            if (r) {
                uap.confirm('是否确认删除此行?', function () {
                    grid.removeRow(r);
                });
            }
        }
        function saveData() {
            grid.validate();
            if (grid.isValid() == false) {
                var error = grid.getCellErrors()[0];
                grid.beginEditCell(error.record, error.column);
                return;
            }
            var data = grid.getChanges();
            if (data.length > 0) {
                uap.confirm('是否确认提交?', function () {
                    //return uap.view(data[0]);
                    uap.action('save', { data: data }, function (s) {

                    });
                });
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="Server">
    <div class="mini-toolbar" style="text-align: left; border: none;">

        <a class="mini-button" plain="true" tooltip="保存..." iconcls="icon-save" onclick="saveData()">保存</a>
        <span class="separator"></span>
        <span style="color: red">微信公众号appid以及appSecret设置请登录微信公众号进行设置<a target="_blank" href="https://mp.weixin.qq.com/advanced/advanced?action=dev&t=advanced/dev&token=1030544678&lang=zh_CN">马上去设置</a></span>
        <span class="separator"></span>
        <span style="color: red">微信公众号商户号以及秘钥设置请登录微信商户中心进行设置<a target="_blank" href="https://pay.weixin.qq.com/index.php/core/cert/api_cert">马上去设置</a></span>
        <%--
        <br />
        <span style="color: red"><b>重要配置:请将您的已备案商城域名[例如:http://baidu.com/]配置到商户平台->产品中心->开发配置->支付配置->公众号支付 支付授权目录->添加一个JSAPI支付授权目录</b></span>
        --%>
    </div>
    <div class="mini-fit">
        <div id="uapgrid" class="mini-datagrid" style="width: 100%; height: 100%;" idfield="id" pagesize="50" showpager="true" allowcelledit="true" allowcellselect="true" editnextonenterkey="true" editnextrowcell="true">
            <div property="columns">
                <div type="indexcolumn"></div>
                <div field="appid" headeralign="center" align="center" vtype="required">
                    微信公众号APPID
				<input property="editor" class="mini-textbox" maxlength="510" emptytext="请输入信息" />
                </div>
后面还有 16 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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