|
@@ -32,7 +32,7 @@ class IntegralProjectApi {
|
|
|
return ["total" => $count, "rows" => $list];
|
|
|
}
|
|
|
|
|
|
- public static function getAll() {
|
|
|
+ public static function getAll($where = []) {
|
|
|
$where[] = ["delete", "=", 0];
|
|
|
$list = IntegralProject::where($where)->order("updateTime desc,createTime desc")->select()->toArray();
|
|
|
return $list;
|