This commit is contained in:
彭桃 2023-01-30 09:23:59 +08:00
parent 8b2f84f484
commit 42073160d1

View File

@ -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]);
}
/**详情