You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
826 B
PHTML
42 lines
826 B
PHTML
2 years ago
|
<?php
|
||
|
|
||
|
namespace App\Http\Controllers\Front;
|
||
|
|
||
|
use App\Http\Controllers\Controller;
|
||
|
use App\Libs\TraitPartner;
|
||
|
|
||
|
use Illuminate\Http\Request;
|
||
|
use Illuminate\Contracts\View\View;
|
||
|
|
||
|
class PartnerController extends Controller
|
||
|
{
|
||
|
use TraitPartner;
|
||
|
|
||
|
protected $page = [
|
||
|
'code' => 'partner',
|
||
|
'title' => '제휴업체',
|
||
|
'subTitle' => '',
|
||
|
'description' => '',
|
||
|
'link' => '/partner'
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* 제휴업체 목록
|
||
|
*
|
||
|
* @Verb : GET
|
||
|
* @Path : /cms/partner
|
||
|
* @param Request $request
|
||
|
* @return View
|
||
|
*/
|
||
|
public function index(Request $request)
|
||
|
{
|
||
|
$perPage = 0;
|
||
|
|
||
|
$data = $this->getPartnerList($request, $perPage);
|
||
|
|
||
|
$this->page['subTitle'] = $this->page['title'];
|
||
|
|
||
|
return $this->setView('partner.index', $data);
|
||
|
}
|
||
|
}
|