DengTao 8 年之前
父节点
当前提交
22d0e1cce4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      www/protected/commands/GetKennelDetailWorkCommand.php

+ 2 - 1
www/protected/commands/GetKennelDetailWorkCommand.php

@@ -134,8 +134,9 @@ class GetKennelDetailWorkCommand extends CConsoleCommand {
                             $father_info['avatar'] = $tmp['extra']['parents'][0]['pic'];
                         if (isset($tmp['extra']['parents'][1]['pic']))
                             $mother_info['avatar'] = $tmp['extra']['parents'][1]['pic'];
-                        
+
                         $dealPet->father_info = (object)$father_info;
+                        var_dump($dealPet->father_info);exit;
                         $dealPet->mother_info = (object)$mother_info;
                         $dealPet->desc = $tmp['desc'];
                         $dealPet->vaccine_info = array();