shish 2 tahun lalu
induk
melakukan
157edfb712
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {