xiaogang 4 yıl önce
ebeveyn
işleme
08ddf52fba
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Services/NoticeService.php

+ 1 - 1
app/Services/NoticeService.php

xqd
@@ -116,7 +116,7 @@ class NoticeService
         $query = $query->toArray();
         foreach ($query['data'] as $k=>$v){
             $query['data'][$k]['atime'] = uc_time_ago(strtotime($v['atime']));
-            $query['data'][$k]['dynamic']['img_url'] = json_decode($v['dynamic']['img_url'],true);
+            $query['data'][$k]['img_url'] = json_decode($v['dynamic']['img_url'],true);
             $query['data'][$k]['age'] = !empty($v['birthday'])?birthday($v['birthday']):0;
         }
         return $query;