|
@@ -67,7 +67,7 @@ public function title(){
|
|
|
if($status!==""){
|
|
|
$where[]=['status',"=",$status];
|
|
|
}
|
|
|
- $list = Db::name('cat')->where([$where])->select();
|
|
|
+ $list = Db::name('cat')->where($where)->select();
|
|
|
return app_show(0, "获取成功",$list);
|
|
|
}
|
|
|
public function create()
|