@@ -58,7 +58,12 @@ class GetPetUserWorkCommand extends CConsoleCommand{
}
- $collection->insert($data);
+ $bool = $collection->insert($data);
+ if (!$bool) {
+ echo "false";
+ } else {
+ var_dump($data);
+ }
if ($end_time >= $start_time+60*1){