From 7ffa4b762f3afe1e1d12adb4c40f80a4f33663d7 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Tue, 5 Nov 2019 19:44:38 +0800 Subject: [PATCH] test1 --- frontend/controllers/SystemController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/controllers/SystemController.php b/frontend/controllers/SystemController.php index 97a6ec6..b02b57f 100644 --- a/frontend/controllers/SystemController.php +++ b/frontend/controllers/SystemController.php @@ -212,4 +212,11 @@ class SystemController extends \yii\web\Controller return $result; } } + + public function actionTest() { + $items = OrderT::find() + ->where('status_id=10') + ->all(); + echo count($items); + } }