Integrity constraint violation: 1052 Column 'status' in where clause is ambiguous
public function roleManage($search,$tpage,$num) { //查询一个角色所对应的多个用户,联表查询 $result=Db::name(‘role‘) ->field(‘r.rid,r.rolename,u.username‘) ->alias(‘r‘) ->join(‘user u‘,‘u.rid=r.rid‘,‘‘) ->where($search)