@@ -50,7 +50,7 @@ class BeanDetailController extends Controller
}
- //星球首页
+ //后院首页
public function starHome(Request $request)
{
$star_home = $this->beanRepository->starHome($request->all());
@@ -155,7 +155,7 @@ class BeanRepository
public function starHome($request)
$today = Carbon::now()->toDateString();
@@ -99,7 +99,7 @@ $api->version('v1', [
$api->get('excellentResidents', 'BeanDetailController@excellentResidents');
//排行榜
$api->get('rankingList', 'BeanDetailController@rankingList');
$api->get('starHome', 'BeanDetailController@starHome');
});