|
@@ -125,67 +125,70 @@ class Account
|
|
|
$option_aid .= '&search_audit=' . $search_audit;
|
|
|
}
|
|
|
|
|
|
- $idcard_front = $idcard_back = '';
|
|
|
- if ($account['idcard_front']) {
|
|
|
- $idcard_front = '<a href="'.$account['idcard_front'].'" target="_blank"><img src="'.$account['idcard_front'].'" width="150" /></a>';
|
|
|
- }
|
|
|
-
|
|
|
- if ($account['idcard_back']) {
|
|
|
- $idcard_back = ' <a href="'.$account['idcard_back'].'" target="_blank"><img src="'.$account['idcard_back'].'" width="150" /></a>';
|
|
|
- }
|
|
|
- if ($account['email']) {
|
|
|
- $account['email'] .= '('.$config['is_email'][$account['is_email']].')';
|
|
|
- }
|
|
|
-
|
|
|
- $table = array();
|
|
|
- $table['head'] = array('账户状态', '审核状态', '邮箱认证', '身份证正面', '身份证反面');
|
|
|
- $table['body'] = array();
|
|
|
-
|
|
|
- $table['body'][] = array
|
|
|
- (
|
|
|
- $config['status'][$account['status']],
|
|
|
- $config['audit'][$account['audit']],
|
|
|
- $account['email'],
|
|
|
- $idcard_front,
|
|
|
- $idcard_back,
|
|
|
- );
|
|
|
-
|
|
|
- $result['审核信息'] = array
|
|
|
- (
|
|
|
- 'type' => 'table',
|
|
|
- 'content' => $table,
|
|
|
- );
|
|
|
-
|
|
|
-
|
|
|
- $cash_type = Dever::db('option/cash')->config['config_type'];
|
|
|
- $cash = Dever::db('option/cash')->select(array('aid' => $aid));
|
|
|
+ if ($member['type'] == 1) {
|
|
|
+ $idcard_front = $idcard_back = '';
|
|
|
+ if ($account['idcard_front']) {
|
|
|
+ $idcard_front = '<a href="'.$account['idcard_front'].'" target="_blank"><img src="'.$account['idcard_front'].'" width="150" /></a>';
|
|
|
+ }
|
|
|
+
|
|
|
+ if ($account['idcard_back']) {
|
|
|
+ $idcard_back = ' <a href="'.$account['idcard_back'].'" target="_blank"><img src="'.$account['idcard_back'].'" width="150" /></a>';
|
|
|
+ }
|
|
|
+ if ($account['email']) {
|
|
|
+ $account['email'] .= '('.$config['is_email'][$account['is_email']].')';
|
|
|
+ }
|
|
|
|
|
|
- if ($cash) {
|
|
|
$table = array();
|
|
|
- $table['head'] = array('账户类型', '待交付', '已交付总额', '已发放剩余', '未发放', '已兑付');
|
|
|
+ $table['head'] = array('账户状态', '审核状态', '邮箱认证', '身份证正面', '身份证反面');
|
|
|
$table['body'] = array();
|
|
|
|
|
|
- foreach ($cash as $k => $v) {
|
|
|
- $total = number_format($v['jiaofu'] + $v['fafang'] + $v['duifu'], 2, '.', '');
|
|
|
-
|
|
|
- $table['body'][] = array
|
|
|
- (
|
|
|
- $cash_type[$v['type']],
|
|
|
- $v['daijiaofu'],
|
|
|
- $total,
|
|
|
-
|
|
|
- $v['fafang'],
|
|
|
- $v['jiaofu'],
|
|
|
- $v['duifu'],
|
|
|
- );
|
|
|
- }
|
|
|
+ $table['body'][] = array
|
|
|
+ (
|
|
|
+ $config['status'][$account['status']],
|
|
|
+ $config['audit'][$account['audit']],
|
|
|
+ $account['email'],
|
|
|
+ $idcard_front,
|
|
|
+ $idcard_back,
|
|
|
+ );
|
|
|
|
|
|
- $result['账户金额'] = array
|
|
|
+ $result['审核信息'] = array
|
|
|
(
|
|
|
'type' => 'table',
|
|
|
'content' => $table,
|
|
|
);
|
|
|
+
|
|
|
+
|
|
|
+ $cash_type = Dever::db('option/cash')->config['config_type'];
|
|
|
+ $cash = Dever::db('option/cash')->select(array('aid' => $aid));
|
|
|
+
|
|
|
+ if ($cash) {
|
|
|
+ $table = array();
|
|
|
+ $table['head'] = array('账户类型', '待交付', '已交付总额', '已发放剩余', '未发放', '已兑付');
|
|
|
+ $table['body'] = array();
|
|
|
+
|
|
|
+ foreach ($cash as $k => $v) {
|
|
|
+ $total = number_format($v['jiaofu'] + $v['fafang'] + $v['duifu'], 2, '.', '');
|
|
|
+
|
|
|
+ $table['body'][] = array
|
|
|
+ (
|
|
|
+ $cash_type[$v['type']],
|
|
|
+ $v['daijiaofu'],
|
|
|
+ $total,
|
|
|
+
|
|
|
+ $v['fafang'],
|
|
|
+ $v['jiaofu'],
|
|
|
+ $v['duifu'],
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ $result['账户金额'] = array
|
|
|
+ (
|
|
|
+ 'type' => 'table',
|
|
|
+ 'content' => $table,
|
|
|
+ );
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
|
|
|
$button = array();
|
|
|
|