DengTao hace 8 años
padre
commit
1d9c435bed
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1 4
      www/protected/commands/GetPetWorkCommand.php

+ 1 - 4
www/protected/commands/GetPetWorkCommand.php

@@ -35,7 +35,6 @@ class GetPetWorkCommand extends CConsoleCommand
                         } else {
                             $dealPet = new DealPet();
                         }
-
                         $dealPet->_id = new MongoId($tmp['id']);
                         $dealPet->is_one_pay = 0;
                         $dealPet->name = $tmp['name'];
@@ -43,10 +42,8 @@ class GetPetWorkCommand extends CConsoleCommand
                         $dealPet->price = $tmp['price'];
                         foreach ($tmp['pics'] as $key => $v) {
                             $dealPet->pics[$key] = $v;
-                            var_dump($key);
                         }
-                        var_dump($dealPet->pics);
-                        exit;
+
                         $dealPet->root_parent = new MongoId($tmp['root_praent']);
                         $dealPet->kennel = new MongoId($tmp['kennel']);
                         $dealPet->pet_type = new MongoId($tmp['pet_type']);