소스 검색

Merge branch 'develop' of http://git.caihongxingqiu.net/rainbow/community-service into develop

zhangchangchun 5 년 전
부모
커밋
c3447476a0
2개의 변경된 파일0개의 추가작업 그리고 23개의 파일을 삭제
  1. 0 18
      app/Http/Controllers/V1/BeanDetailController.php
  2. 0 5
      routes/api.php

+ 0 - 18
app/Http/Controllers/V1/BeanDetailController.php

@@ -18,24 +18,6 @@ class BeanDetailController extends Controller
         $this->beanRepository = $beanRepository;
         $this->beanRepository = $beanRepository;
     }
     }
 
 
-    //获取指定时间彩虹豆收支明细
-    public function beanDetail(Request $request)
-    {
-        $validator = Validator::make($request->all(), [
-            'type' => ['required',Rule::in([0,1,2,3])],
-        ]);
-        if ($validator->fails()) {
-            return $this->jsonError($validator->errors()->first());
-        }
-
-        $beanDetail = $this->beanRepository->beanDetail($request->all());
-        if ($beanDetail){
-            return $this->jsonSuccess($beanDetail);
-        }else{
-            return $this->jsonSuccess();
-        }
-    }
-
     //排行榜
     //排行榜
     public function rankingList(Request $request)
     public function rankingList(Request $request)
     {
     {

+ 0 - 5
routes/api.php

@@ -67,11 +67,6 @@ $api->version('v1', [
         //收藏列表
         //收藏列表
         $api->get('postCollect', 'PostCollectController@index');
         $api->get('postCollect', 'PostCollectController@index');
 
 
-        //用户彩虹豆明细获取
-        $api->get('beanDetail', 'BeanDetailController@beanDetail');
-        //用户彩虹豆信息获取
-        $api->get('getBean', 'BeanDetailController@getBean');
-
         //优秀居民信息获取
         //优秀居民信息获取
         $api->get('excellentResidents', 'BeanDetailController@excellentResidents');
         $api->get('excellentResidents', 'BeanDetailController@excellentResidents');
         //排行榜
         //排行榜