diff --git a/app/model/Model.php b/app/model/Model.php index aec17d5..6f9f60d 100644 --- a/app/model/Model.php +++ b/app/model/Model.php @@ -101,7 +101,7 @@ class Model extends BaseModel return dataReturn($this->sucCode,$this->getMsg,$res); } - public function getAllCustomArrayData($where,$order='sort asc,id desc',$field="*",$with=[],$offset=0): array + public function getAllCustomArrayData($where,$order='id desc',$field="*",$with=[],$offset=0): array { $key = md5($this->className . json_encode([$where,$order,$field,$with]));