Files
opencode b7613ba082 部署仓库初始化:epay 部署配置、补丁与插件
- docker-compose.prod.yml:挂载 epay-ui.css/js/head.php 补丁到 staging(镜像升级不丢)
- docker/nginx.conf:补丁静态资源 no-cache,改版立即生效
- patches/:
  - test.php 修复 paytype JSON 对象导致测试支付页空白
  - epay-ui.css 后台全屏/侧栏加宽/导航两列布局覆盖
  - epay-ui.js 去除页面容器宽度限制 + 侧栏当前菜单自动滚动
  - head.php 资源 ?v= 版本号强制回源
  - functions.php is_public_url 白名单等既有补丁
- plugins/ 支付插件源码
- .gitignore 排除 .env 等敏感与临时文件
2026-10-21 13:05:20 +08:00

31 lines
1.7 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
if(!defined('IN_CRONLITE'))exit();?>
<style>tbody tr>td:nth-child(1){width:180px}</style>
<div class="panel panel-primary">
<div class="panel-heading"><h3 class="panel-title">微信参数配置查询<span class="pull-right"><a class="btn btn-default btn-xs" href="javascript:window.location.reload()">刷新</a></span></h3></div>
<div class="panel-body">
<p><b>已关联的公众号AppID:</b></p>
<p><?php foreach($data['appid_config_list'] as $row){ echo $row['sub_appid'].'<br/>';}?></p>
<p><b>JSAPI支付授权目录:</b></p>
<p><?php foreach($data['jsapi_path_list'] as $row){ echo $row.'<br/>';}?></p>
</div>
</div>
<div class="panel panel-success">
<div class="panel-heading"><h3 class="panel-title">微信参数配置</span></h3></div>
<div class="panel-body">
<form action="./plugin_page.php?channel=<?php echo $channel['id']?>&func=wxconfig" method="POST" class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-3 control-label">公众号AppID</label>
<div class="col-sm-7"><input type="text" name="sub_appid" value="<?php echo $data['appid']?>" placeholder="只能填写已认证的服务号,且必须与当前主体或渠道商主体一致" class="form-control"></div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">JSAPI支付授权目录</label>
<div class="col-sm-7"><input type="text" name="jsapi_path" value="<?php echo $siteurl?>" placeholder="必须以http://或https://开头,以/结尾" class="form-control"></div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-7"><input type="submit" name="submit" value="提交" class="btn btn-primary form-control"><br>
</div>
</div>
</form>
</div>
</div>