| 1234567891011121314151617181920212223242526272829303132 |
- <?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;
- $where = [];
- if (!empty($status)) {
- $where['status'] = $status;
- }
- $where['mainId'] = $this->mainId;
- $tx = $get['tx'] ?? 0;
- if (!empty($tx)) {
- $where['tx'] = $tx;
- }
- $list = ShopYeChangeClass::getChangeList($where);
- util::success($list);
- }
- }
|