Commit 822f5427 authored by hujun's avatar hujun

客户列表修改

parent b92e6102
......@@ -177,7 +177,7 @@ class Member extends Basic{
$type = 3;
}
$fields = 'a.id,a.user_nick,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status';
$fields = 'a.id,a.user_nick,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status,b.create_time as follow_time';
$data['list'] = $this->user->getUserAgent($pageNo, $pageSize, 'a.id DESC', $fields, $where, $type);
$data['total'] = $this->user->getUserAgentTotal($where, $type);
$return = $this->response($data['status'], $data['msg'], $data);
......
......@@ -96,6 +96,7 @@ class Users extends Model
->select();
} else {
$result = $this->field($fields)->alias('a')
->join('u_phone_follow_up b','a.id = b.user_id', 'left')
->where($params)
->order($order_)
->limit($pageSize)
......
......@@ -987,7 +987,7 @@ define (['ckfinder','ckfinderStart', 'bootstrapJs'], function () {
if(typeof data === 'object') {
if (data.code == 200) {
alert('添加成功!');
location.replace('/admin.php/index/houseList.html');
location.replace('/admin.php/index/getHouseList.html');
}else {
alert(data['msg']);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment