dbms_primeidc_init...1
This commit is contained in:
parent
1ac78307ab
commit
20c0559fd9
@ -86,7 +86,7 @@ class PaymentController extends ClientController
|
||||
$this->getServiceService()->getModel()->whereNotIn("{$addDbTable}.addDB_accountStatus", ["complete"]);
|
||||
$this->getServiceService()->getModel()->orderBy("service_payment_date", "DESC");
|
||||
|
||||
$this->mode = $mode;
|
||||
$this->mode = $mode;
|
||||
//Query문 Rest여부 -> 같은조건에 Count 받고, 결과값을 받고 싶을때는 continue()
|
||||
$this->getServiceService()->getModel()->setContinue(true);
|
||||
$this->total = $this->getServiceService()->getCount();
|
||||
|
||||
@ -2,8 +2,12 @@
|
||||
|
||||
namespace lib\Http;
|
||||
|
||||
class BearerToken extends HTTP
|
||||
class BearerToken extends Http
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
public function token(): ?string
|
||||
{
|
||||
$header = $this->getHeader('Authorization');
|
||||
|
||||
@ -2,8 +2,12 @@
|
||||
|
||||
namespace lib\Http;
|
||||
|
||||
class Cookie
|
||||
class Cookie extends Http
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
public function get(string $key, $default = null): mixed
|
||||
{
|
||||
return $_COOKIE[$key] ?? $default;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace lib\Http;
|
||||
|
||||
class HTTP
|
||||
class Http
|
||||
{
|
||||
protected array $headers = [];
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace lib\Http;
|
||||
|
||||
class Request extends HTTP
|
||||
class Request extends Http
|
||||
{
|
||||
protected array $get;
|
||||
protected array $post;
|
||||
|
||||
@ -2,8 +2,13 @@
|
||||
|
||||
namespace lib\Http;
|
||||
|
||||
class Session
|
||||
class Session extends Http
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function start(): void
|
||||
{
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
|
||||
@ -19,7 +19,7 @@ namespace lib\Http;
|
||||
// print_r($validator->errors());
|
||||
// }
|
||||
|
||||
class Validator
|
||||
class Validator extends Http
|
||||
{
|
||||
protected array $data = [];
|
||||
protected array $rules = [];
|
||||
@ -36,6 +36,11 @@ class Validator
|
||||
'alpha_numeric'
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function setData(array $data): self
|
||||
{
|
||||
$this->data = $data;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user