shish %!s(int64=5) %!d(string=hai) anos
pai
achega
e532dacd50
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app-ghs/controllers/ShopYeChangeController.php

+ 2 - 2
app-ghs/controllers/ShopYeChangeController.php

@@ -16,15 +16,15 @@ class ShopYeChangeController extends BaseController
     {
         $get = Yii::$app->request->get();
         $status = $get['status'] ?? 0;
-        $ptStyle = $get['ptStyle'] ?? dict::getDict('ptStyle', 'hd');
+        $ptStyle = $get['ptStyle'] ?? dict::getDict('ptStyle', 'ghs');
         $tx = $get['tx'] ?? dict::getDict('yeTx', 'canNot');
         $where = [];
+        $where['shopId'] = $this->shopId;
         if (!empty($status)) {
             $where['status'] = $status;
         }
         $where['ptStyle'] = $ptStyle;
         $where['tx'] = $tx;
-        $where['shopId'] = $this->shopId;
         $list = ShopYeChangeClass::getChangeList($where);
         util::success($list);
     }