|
@@ -27,7 +27,7 @@ class DonatesController extends BaseController
|
|
|
{
|
|
{
|
|
|
parent::__construct();
|
|
parent::__construct();
|
|
|
|
|
|
|
|
- $this->service = new DonateService();
|
|
|
|
|
|
|
+ $this->service = new DonateService()
|
|
|
$this->mecryService = new MecryService();
|
|
$this->mecryService = new MecryService();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -37,7 +37,7 @@ class DonatesController extends BaseController
|
|
|
*/
|
|
*/
|
|
|
public function index(){
|
|
public function index(){
|
|
|
$params = request()->all();
|
|
$params = request()->all();
|
|
|
- $params['user_id']=> $this->userId;
|
|
|
|
|
|
|
+ $params['user_id'] = $this->userId;
|
|
|
return $this->service->getDataList($params);
|
|
return $this->service->getDataList($params);
|
|
|
}
|
|
}
|
|
|
|
|
|