Browse Source

执行时间

gorden 6 months ago
parent
commit
f559b06f5e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/controller/Curd.php

+ 2 - 0
app/controller/Curd.php

@@ -281,6 +281,8 @@ class Curd
             $items = call_user_func([$this, "afterQuery"], $items);
             $items = call_user_func([$this, "afterQuery"], $items);
         }
         }
         $format_function = $methods[$format] ?? 'formatNormal';
         $format_function = $methods[$format] ?? 'formatNormal';
+        dump("格式化开始:".time());
+        dump($format_function);
         return call_user_func([$this, $format_function], $items, $total);
         return call_user_func([$this, $format_function], $items, $total);
     }
     }