shish 2 лет назад
Родитель
Сommit
bb47beae1e
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      app-pt/controllers/RenewController.php

+ 6 - 0
app-pt/controllers/RenewController.php

@@ -10,9 +10,15 @@ use Yii;
 class RenewController extends BaseController
 {
 
+    //续期列表 ssh 20240427
     public function actionList()
     {
         $where = [];
+        $get = Yii::$app->request->get();
+        $status = $get['status'] ?? -1;
+        if ($status > -1) {
+            $where['status'] = $status;
+        }
         $list = RenewClass::getRenewList($where);
         util::success($list);
     }