两个字段获得查询:
public function aasasa(){ $telTab = M("b_teluser"); $map['_query'] = 'id=8&leaderid=8&_logic=or'; $telDate = $telTab->where($map)->select(); $this->ajaxReturn(array('status'=>1,'info'=>$telDate)); }
两个字段获得查询:
public function aasasa(){ $telTab = M("b_teluser"); $map['_query'] = 'id=8&leaderid=8&_logic=or'; $telDate = $telTab->where($map)->select(); $this->ajaxReturn(array('status'=>1,'info'=>$telDate)); }
转载于:https://my.oschina.net/u/3600061/blog/1523344