diff --git a/app/common/model/Merchant.php b/app/common/model/Merchant.php index 701776f1..d3c30aac 100644 --- a/app/common/model/Merchant.php +++ b/app/common/model/Merchant.php @@ -84,7 +84,7 @@ class Merchant extends BaseModel * @return \think\Paginator * @throws \think\db\exception\DbException */ - public function getList(array $param = [], int $pageSize = 15, $sortField): \think\Paginator + public function getList(array $param = [], int $pageSize = 15, $sortField = "merchant_id"): \think\Paginator { $res = $this->with(['logoImage']) ->where($this->getFilter($param))