| 123456789101112131415161718192021222324252627282930 |
- <?php
- namespace hd\controllers;
- use biz\shop\classes\ShopYeChangeClass;
- use common\components\dict;
- use common\components\util;
- use Yii;
- class ShopYeChangeController extends BaseController
- {
- public $guestAccess = [];
- public function actionList()
- {
- $get = Yii::$app->request->get();
- $status = $get['status'] ?? 0;
- $tx = $get['tx'] ?? dict::getDict('yeTx', 'canNot');
- $where = [];
- if (!empty($status)) {
- $where['status'] = $status;
- }
- $where['shopId'] = $this->shopId;
- $where['tx'] = $tx;
- $list = ShopYeChangeClass::getChangeList($where);
- util::success($list);
- }
- }
|