|
@@ -286,14 +286,15 @@ Class Soft_cash
|
|
|
$value = Dever::input('value');
|
|
|
if ($value) {
|
|
|
$data = Dever::db('agent/soft_cash')->getList(array('mobile' => $value));
|
|
|
+
|
|
|
$table = array();
|
|
|
if ($data) {
|
|
|
$table = array();
|
|
|
$table['head'] = array('序列号', '姓名', '手机号');
|
|
|
$table['body'] = array();
|
|
|
- $main = '';
|
|
|
foreach ($data as $k => $v) {
|
|
|
- $table['body'][] = array($v['mobile'], $v['name'], $v['mobile'],$main);
|
|
|
+ $member = Dever::db('agent/member')->find($v['mid']);
|
|
|
+ $table['body'][] = array($k+1, $member['name'], $v['mobile']);
|
|
|
}
|
|
|
|
|
|
$result[] = array
|