| 123456789101112131415161718192021222324252627 |
- <?php
- namespace hd\controllers;
- use bizGhs\order\classes\CheckOrderClass;
- use bizGhs\product\classes\ProductClass;
- use Yii;
- use common\components\util;
- class CheckOrderController extends BaseController
- {
- //订单列表 ssh 2021.1.14
- public function actionList()
- {
- $get = Yii::$app->request->get();
- $orderStatus = isset($get['status']) ? $get['status'] : '';
- $where = [];
- $where['shopId'] = $this->shopId;
- if (!empty($orderStatus)) {
- $where['status'] = $orderStatus;
- }
- $list = CheckOrderClass::getOrderList($where);
- util::success($list);
- }
- }
|