shish 2 лет назад
Родитель
Сommit
157edfb712
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/TestController.php

+ 1 - 1
app-ghs/controllers/TestController.php

@@ -45,7 +45,7 @@ class TestController extends BaseController
         $ghsShopId = $ghs->shopId ?? 0;
         $shop = ShopClass::getById($ghsShopId, true);
         $mainId = $shop->mainId ?? 0;
-        $orderList = OrderClass::getAllByCondition(['customId' => $customId, 'debtPrice>' => 0], null, '*', null);
+        $orderList = OrderClass::getAllByCondition(['customId' => $customId, 'debtPrice>' => 0], null, 'id,actPrice,payTime', null);
         $arr = [];
         if (!empty($orderList)) {
             foreach ($orderList as $order) {