diff --git a/app/api/controller/MyArticle.php b/app/api/controller/MyArticle.php index 7cbedf7..93d615f 100644 --- a/app/api/controller/MyArticle.php +++ b/app/api/controller/MyArticle.php @@ -80,7 +80,12 @@ class MyArticle extends BaseController } $select[$key]['is_read'] = Db::table('fa_article_comment')->where('vote_id',$value['id'])->value('is_read'); } - return $this->apiSuccess('ok', ['list' => $select, 'count' => ['count' => $count, 'month_count' => $month_count]]); + + $name['address_name'] = Db::table('fa_szxc_information_usermsg')->where('user_id', JWT_UID)->value('address_name'); + $name['vartar'] = Db::table('fa_user')->where('id', JWT_UID)->value('avatar'); + $name['name'] = Db::table('fa_szxc_information_usermsg')->where('user_id', JWT_UID)->value('name'); + + return $this->apiSuccess('ok', ['list' => $select, 'count' => ['count' => $count, 'month_count' => $month_count],'actor'=>$name]); } /**详情