32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace lib\Controllers\Client;
|
|
|
|
use lib\Helpers\ServiceHelper;
|
|
|
|
class MemoController extends ClientController
|
|
{
|
|
public function __construct(array $params = [])
|
|
{
|
|
parent::__construct($params);
|
|
$this->setPath('memo');
|
|
$this->helper = new ServiceHelper();
|
|
} //
|
|
//사용자용메모장 , customer_memo.php
|
|
//CLI 접속방법 : php index.php site/client/memo/update_form/client_code/코드번호
|
|
//WEB 접속방법 : http://localhost/site/client/memo/update_form/client_code/코드번호
|
|
public function update_form()
|
|
{
|
|
//기본적으로 필요한 client_code, mkid, service_code를 설정합니다.
|
|
list($client_code, $member_code, $service_code) = $this->setDefaultRequestData();
|
|
return $this->render(__FUNCTION__);
|
|
}
|
|
|
|
public function update()
|
|
{
|
|
//기본적으로 필요한 client_code, mkid, service_code를 설정합니다.
|
|
list($client_code, $member_code, $service_code) = $this->setDefaultRequestData();
|
|
return $this->render(__FUNCTION__);
|
|
}
|
|
} //Class
|