Commit 8239835e authored by zhuwei's avatar zhuwei

all_user 修复跟进vipbug

parent 0cb06733
...@@ -171,6 +171,9 @@ class UPhoneFollowPp extends BaseModel ...@@ -171,6 +171,9 @@ class UPhoneFollowPp extends BaseModel
{ {
$UPhoneFollowPp_res = db('u_phone_follow_up') $UPhoneFollowPp_res = db('u_phone_follow_up')
//->where('user_id',$user_id) //->where('user_id',$user_id)
->field('a.*,b.vip')
->alias('a')
->join('u_users b','a.user_id = b.id', 'left')
->where('content', 'like', "%$searchdate%") ->where('content', 'like', "%$searchdate%")
->order('create_time', 'desc') ->order('create_time', 'desc')
->limit($pagesize) ->limit($pagesize)
......
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