|
@@ -81,14 +81,10 @@
|
|
|
<tr class="thead">
|
|
|
<th>通道id</th>
|
|
|
<th>通道名称</th>
|
|
|
+ <th>店铺ID</th>
|
|
|
+ <th>会员ID</th>
|
|
|
<th>通道类型</th>
|
|
|
- <th>对应店铺ID</th>
|
|
|
- <th class="align-center">排序</th>
|
|
|
<th class="align-center">通道状态</th>
|
|
|
- <th class="align-center">每单间隔秒数</th>
|
|
|
- <th class="align-center">需要子进程数量</th>
|
|
|
- <th class="align-center">每日额度</th>
|
|
|
- <th class="align-center">每日时间段</th>
|
|
|
<th>余额</th>
|
|
|
<th class="align-center">操作</th>
|
|
|
</tr>
|
|
@@ -99,9 +95,10 @@
|
|
|
<tr class="trFlex">
|
|
|
<td><?php echo $v['provider_id']; ?></td>
|
|
|
<td><?php echo $v['name']; ?> (<?php echo $v['store_name'];?>)</td>
|
|
|
- <td><?php echo $output['type_text'][$v['type']-1]; ?></td>
|
|
|
<td><?php echo $v['store_id']; ?></td>
|
|
|
- <td class="align-center"><?php echo $v['sort']; ?></td>
|
|
|
+ <td><?php echo $v['account_id']; ?></td>
|
|
|
+ <td><?php echo $output['type_text'][$v['type']-1]; ?></td>
|
|
|
+
|
|
|
<td class="align-center">
|
|
|
<?php if($v['opened'] == 1){?>
|
|
|
<span style="color: #0bb20c">
|
|
@@ -112,10 +109,6 @@
|
|
|
<?php echo $output['opened_text'][$v['opened']-1]; ?>
|
|
|
</span>
|
|
|
</td>
|
|
|
- <td class="align-center"><?php echo $v['interval_sec']?></td>
|
|
|
- <td class="align-center"><?php echo $v['process_num']?></td>
|
|
|
- <td class="align-center"><?php echo $v['every_amt']?></td>
|
|
|
- <td class="align-center"><?php echo $v['period']?></td>
|
|
|
<td>
|
|
|
<span class="balance" data_id="<?php echo $v['provider_id'] ?>" >查询余额</span>
|
|
|
</td>
|
|
@@ -191,21 +184,21 @@
|
|
|
}, function(data) {
|
|
|
data = JSON.parse(data)
|
|
|
// console.log(data);
|
|
|
- if(data.code == 200) {
|
|
|
- var balance = data.balance
|
|
|
- console.log(balance);
|
|
|
- } else if (data.code == 500) {
|
|
|
- var msg = data.msg
|
|
|
+ if(data.code === 200) {
|
|
|
+ var balance = data.balance
|
|
|
+ console.log(balance);
|
|
|
+ } else if (data.code === 500) {
|
|
|
+ var msg = data.msg
|
|
|
console.log(msg);
|
|
|
}
|
|
|
layer.open({
|
|
|
- title: '查询余额',
|
|
|
- // offset: 'auto',
|
|
|
- content: `<span class="center">${balance ? '余额:' : ''} ${balance ? balance : msg} </span>`
|
|
|
+ title: '查询余额',
|
|
|
+ // offset: 'auto',
|
|
|
+ content: `<span class="center">${balance ? '余额:' : ''} ${balance ? balance : msg} </span>`
|
|
|
|
|
|
- });
|
|
|
-
|
|
|
- })
|
|
|
+ });
|
|
|
+
|
|
|
+ })
|
|
|
})
|
|
|
|
|
|
});
|