sjId; $respond = SupplierService::getSupplierList($where); util::success($respond); } //待结款供货商列表 shish 2021.1.26 public function actionDebtList() { $get = Yii::$app->request->get(); $where = ['merchantId' => $this->sjId]; $status = $get['status'] ?? 0; if (!empty($status)) { $where['status'] = $status; } $list = SupplierService::getDebtList($where); util::success($list); } }