更新
This commit is contained in:
parent
852f1d9599
commit
203ca1137d
@ -22,6 +22,11 @@ class InformationController extends BaseApiController
|
|||||||
if(isset($param['arr']) && count($param['arr'])>0){
|
if(isset($param['arr']) && count($param['arr'])>0){
|
||||||
$data[] =['id','in', $param['arr']];
|
$data[] =['id','in', $param['arr']];
|
||||||
}
|
}
|
||||||
|
if(isset($param['is_update'])&&$param['is_update']>0){
|
||||||
|
$data[] =['is_update','=', 1];
|
||||||
|
}else{
|
||||||
|
$data[] =['is_update','=', 0];
|
||||||
|
}
|
||||||
$res = UserInformationg::list($data,$page,$limit);
|
$res = UserInformationg::list($data,$page,$limit);
|
||||||
if ($res != true) {
|
if ($res != true) {
|
||||||
return $this->fail( BaseLogic::getError());
|
return $this->fail( BaseLogic::getError());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user