26 lines
834 B
PHP
26 lines
834 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Http\Controllers\Api\V1\Access;
|
||
|
|
|
||
|
|
use App\Constant\Constant;
|
||
|
|
use App\Http\Controllers\BaseController;
|
||
|
|
|
||
|
|
class CommonController extends BaseController
|
||
|
|
{
|
||
|
|
public function index()
|
||
|
|
{
|
||
|
|
$this->setStatusCode(Constant::CODE_200);
|
||
|
|
|
||
|
|
return $this->respond([
|
||
|
|
'data' => [
|
||
|
|
'sangh_types' => config('common-variables.sangh_types'),
|
||
|
|
'derasar_type' => config('common-variables.derasar_type'),
|
||
|
|
'mulnayak_bhagwan' => config('common-variables.mulnayak_bhagwan'),
|
||
|
|
'number_of_members' => config('common-variables.number_of_members'),
|
||
|
|
'number_of_students' => config('common-variables.number_of_students'),
|
||
|
|
'number_of_books' => config('common-variables.number_of_books'),
|
||
|
|
]
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
}
|