diff --git a/app/Controllers/CLI/Cloudflare/API/Account.php b/app/Controllers/CLI/Cloudflare/API/Account.php index 06637bc..e8fbf01 100644 --- a/app/Controllers/CLI/Cloudflare/API/Account.php +++ b/app/Controllers/CLI/Cloudflare/API/Account.php @@ -10,11 +10,11 @@ class Account extends API { if ($auth_uid) { $entitys = $this->getAccountModel()->asObject(AccountEntity::class) - ->where(['status' => 'use', 'auth_uid' => $auth_uid]) + ->where(['auth_uid' => $auth_uid]) ->findAll(); } else { $entitys = $this->getAccountModel()->asObject(AccountEntity::class) - ->where('status', 'use') + ->where(['cli' => 'use']) ->findAll(); } echo __FUNCTION__ . "에서 호출:" . $this->getAccountModel()->getLastQuery();