dbms_primeidc_init...1

This commit is contained in:
최준흠 2025-04-10 10:48:46 +09:00
parent 1ac78307ab
commit 20c0559fd9
7 changed files with 25 additions and 7 deletions

View File

@ -86,7 +86,7 @@ class PaymentController extends ClientController
$this->getServiceService()->getModel()->whereNotIn("{$addDbTable}.addDB_accountStatus", ["complete"]); $this->getServiceService()->getModel()->whereNotIn("{$addDbTable}.addDB_accountStatus", ["complete"]);
$this->getServiceService()->getModel()->orderBy("service_payment_date", "DESC"); $this->getServiceService()->getModel()->orderBy("service_payment_date", "DESC");
$this->mode = $mode; $this->mode = $mode;
//Query문 Rest여부 -> 같은조건에 Count 받고, 결과값을 받고 싶을때는 continue() //Query문 Rest여부 -> 같은조건에 Count 받고, 결과값을 받고 싶을때는 continue()
$this->getServiceService()->getModel()->setContinue(true); $this->getServiceService()->getModel()->setContinue(true);
$this->total = $this->getServiceService()->getCount(); $this->total = $this->getServiceService()->getCount();

View File

@ -2,8 +2,12 @@
namespace lib\Http; namespace lib\Http;
class BearerToken extends HTTP class BearerToken extends Http
{ {
public function __construct()
{
parent::__construct();
}
public function token(): ?string public function token(): ?string
{ {
$header = $this->getHeader('Authorization'); $header = $this->getHeader('Authorization');

View File

@ -2,8 +2,12 @@
namespace lib\Http; namespace lib\Http;
class Cookie class Cookie extends Http
{ {
public function __construct()
{
parent::__construct();
}
public function get(string $key, $default = null): mixed public function get(string $key, $default = null): mixed
{ {
return $_COOKIE[$key] ?? $default; return $_COOKIE[$key] ?? $default;

View File

@ -2,7 +2,7 @@
namespace lib\Http; namespace lib\Http;
class HTTP class Http
{ {
protected array $headers = []; protected array $headers = [];

View File

@ -2,7 +2,7 @@
namespace lib\Http; namespace lib\Http;
class Request extends HTTP class Request extends Http
{ {
protected array $get; protected array $get;
protected array $post; protected array $post;

View File

@ -2,8 +2,13 @@
namespace lib\Http; namespace lib\Http;
class Session class Session extends Http
{ {
public function __construct()
{
parent::__construct();
}
public function start(): void public function start(): void
{ {
if (session_status() === PHP_SESSION_NONE) { if (session_status() === PHP_SESSION_NONE) {

View File

@ -19,7 +19,7 @@ namespace lib\Http;
// print_r($validator->errors()); // print_r($validator->errors());
// } // }
class Validator class Validator extends Http
{ {
protected array $data = []; protected array $data = [];
protected array $rules = []; protected array $rules = [];
@ -36,6 +36,11 @@ class Validator
'alpha_numeric' 'alpha_numeric'
]; ];
public function __construct()
{
parent::__construct();
}
public function setData(array $data): self public function setData(array $data): self
{ {
$this->data = $data; $this->data = $data;