-
Notifications
You must be signed in to change notification settings - Fork 7
/
coinpay.html
79 lines (78 loc) · 5.33 KB
/
coinpay.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php include ADMIN_COMMON_PATH.'/header.html';?>
<div class="layui-container fly-marginTop fly-user-main">
<?php include ADMIN_COMMON_PATH.'/setting-nav.html';?>
<div class="fly-panel fly-panel-user" pad20>
<div class="layui-tab layui-tab-brief" lay-filter="email">
<ul class="layui-tab-title" id="LAY_mine">
<li class="" lay-id="info"><a href="/<?php echo ADMIN_DIR;?>/payment">支付设置</a></li>
<li class="layui-this" lay-id="info">编辑</li>
</ul>
<div class="layui-tab-content" style="padding: 20px 0;">
<div class="layui-form-pane layui-tab-item layui-show">
<blockquote class="layui-elem-quote">
<p> 注意事项: </p>
<p> 本支付接口同步支付回调地址(第一种):<?php echo $config['weburl'];?>/product/query/?zlkbmethod=auto&paymethod=<?php echo $item['alias'];?>&orderid={订单号}</p>
<p> 本支付接口同步支付回调地址(第二种):<?php echo $config['weburl'];?>/query/auto/{订单号}.html</p>
<p> 本支付接口异步支付回调地址:<?php echo $config['weburl'];?>/product/notify/?paymethod=<?php echo $item['alias'];?></p>
</blockquote>
<form class="layui-form layui-show" method="post">
<div class="layui-form-item">
<label for="t_payment" class="layui-form-label">支付渠道</label>
<div class="layui-input-inline">
<input type="text" id="t_payment" name="payment" readonly disabled lay-verify="required" autocomplete="off" value="<?php echo $item['payment'];?>" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label for="payname" class="layui-form-label">显示名称</label>
<div class="layui-input-inline">
<input type="text" id="payname" name="payname" lay-verify="required" autocomplete="off" value="<?php echo $item['payname'];?>" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label for="app_secret" class="layui-form-label">API密钥</label>
<div class="layui-input-inline">
<input type="text" id="app_secret" name="app_secret" required lay-verify="required" autocomplete="off" value="<?php echo $item['app_secret'];?>" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label for="app_secret" class="layui-form-label">共享密钥</label>
<div class="layui-input-inline">
<input type="text" id="app_secret" name="configure3" required lay-verify="required" autocomplete="off" value="<?php echo $item['configure3'];?>" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label for="configure4" class="layui-form-label">手续费</label>
<div class="layui-input-inline">
<input type="number" id="configure4" name="configure4" required lay-verify="required" autocomplete="off" value="<?php echo $item['configure4'];?>" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">默认为0.00,实际支付价格为:定价*(1+手续费),比如定价100,手续费0.05,买家实际应支付105;</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">是否激活</label>
<div class="layui-input-inline">
<input type="radio" name="active" value="1" title="激活" <?php if($item['active']=='1' ):?>checked=""<?php endif;?>>
<input type="radio" name="active" value="0" title="取消" <?php if($item['active']=='0' ):?>checked=""<?php endif;?>>
</div>
</div>
<div class="layui-form-item">
<label for="overtime" class="layui-form-label">超时设置</label>
<div class="layui-input-inline">
<input type="number" id="overtime" name="overtime" required lay-verify="required" autocomplete="off" value="<?php echo $item['overtime'];?>" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<input type="hidden" name="id" value="<?php echo $item['id'];?>">
<input type="hidden" name="method" value="edit">
<button class="layui-btn" key="set-mine" lay-filter="edit" lay-submit>确认修改</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!--引入公共底文件-->
<?php include ADMIN_COMMON_PATH.'/footer.html';?>
<script>
layui.use('adminpayment');
</script>