ad

最近在给公司开发一个药品相关的系统,需5201;对接到之前别人开发好的一个软件,因为之前的数据库他们用的是SQLserver,不能在此数据库增加和删除任何东西,只能取其中的数据,于是启蒙就用了MySql来做另外一个数据库,但在拿FastAdmin做查询的时候却遇到需要删除一部分where条件,所以有了下面的代码。


$filter = json_decode($this->request->GET("filter"),true);
$op = json_decode($this->request->get("op"),true);

if(isset($filter['abc'])){
   unset($filter['abc'],$op['abc']);
   $this->request->get(["filter"=>json_encode($filter),'op'=>json_encode($op)]);
}



list($where, $sort, $order, $offset, $limit) = $this->buildparams();

halt($where);


qianqu
( 千趣源码网全面的综合平台 )
ad
ad
ad
ad
千趣源码