shish 1 tahun lalu
induk
melakukan
f31edede75
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      console/controllers/LsCustomController.php

+ 2 - 0
console/controllers/LsCustomController.php

@@ -44,6 +44,8 @@ class LsCustomController extends Controller
                     $query->where(['shopId' => $shopId]);
                     $query->orderBy('addTime ASC');
                     foreach ($query->batch(50) as $customList) {
+                        print_r($customList);
+                        die;
                         foreach ($customList as $custom) {
                             $customId = $custom['id'] ?? 0;
                             $debtAmount = $custom['debtAmount'] ?? 0;