|
@@ -200,16 +200,23 @@ class Account
|
|
|
$button[0]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'edit',
|
|
|
- 'link' => Dever::url('project/database/update?project=option&table=member&where_id='.$account['mid'].'&status=1&col=name,idcard', 'manage'),
|
|
|
+ 'link' => Dever::url('project/database/update?project=option&table=member&where_id='.$mid.'&status=1&col=name,idcard', 'manage'),
|
|
|
'name' => '修改资料',
|
|
|
);
|
|
|
|
|
|
+ $button[0]['btn'][] = array
|
|
|
+ (
|
|
|
+ 'type' => 'edit',
|
|
|
+ 'link' => Dever::url('project/database/update?project=option&table=account&where_id='.$aid.'&status=1&col=email', 'manage'),
|
|
|
+ 'name' => '修改邮箱',
|
|
|
+ );
|
|
|
+
|
|
|
$url = '';
|
|
|
if ($account['audit'] == 2) {
|
|
|
$button[0]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'edit',
|
|
|
- 'link' => Dever::url('project/database/update?project=option&table=account&where_id='.$account['id'].'&status=1&col=audit,audit_desc', 'manage'),
|
|
|
+ 'link' => Dever::url('project/database/update?project=option&table=account&where_id='.$aid.'&status=1&col=audit,audit_desc', 'manage'),
|
|
|
'name' => '审核',
|
|
|
);
|
|
|
}
|
|
@@ -218,14 +225,14 @@ class Account
|
|
|
$button[0]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'action',
|
|
|
- 'link' => Dever::url('lib/account.setStatus?id=' . $account['id'] . '&value=2', 'option'),
|
|
|
+ 'link' => Dever::url('lib/account.setStatus?id=' . $aid . '&value=2', 'option'),
|
|
|
'name' => '恢复账号',
|
|
|
);
|
|
|
} elseif ($account['status'] == 2) {
|
|
|
$button[0]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'action',
|
|
|
- 'link' => Dever::url('lib/account.setStatus?id=' . $account['id'] . '&value=3', 'option'),
|
|
|
+ 'link' => Dever::url('lib/account.setStatus?id=' . $aid . '&value=3', 'option'),
|
|
|
'name' => '禁用账号',
|
|
|
);
|
|
|
}
|