...
|
...
|
@@ -94,7 +94,7 @@ class CardController extends RestBaseController |
|
|
->where($where)
|
|
|
->field('c.id,c.name,c.position,c.tel,c.home_tel,c.email,c.company,u.avatar,IF(c.user_id='.$this->userId.',c.user_id,0) top')
|
|
|
->order('top desc,c.create_time desc')
|
|
|
->paginate($per_page);
|
|
|
->select(false);
|
|
|
} else {
|
|
|
$result = Db::name('card')
|
|
|
->alias('c')
|
...
|
...
|
|