cfmgr init...100

This commit is contained in:
최준흠 2023-10-16 14:22:33 +09:00
parent 00c1a24990
commit 0caa7e5647

View File

@ -10,11 +10,11 @@ class Account extends API
{ {
if ($auth_uid) { if ($auth_uid) {
$entitys = $this->getAccountModel()->asObject(AccountEntity::class) $entitys = $this->getAccountModel()->asObject(AccountEntity::class)
->where(['status' => 'use', 'auth_uid' => $auth_uid]) ->where(['auth_uid' => $auth_uid])
->findAll(); ->findAll();
} else { } else {
$entitys = $this->getAccountModel()->asObject(AccountEntity::class) $entitys = $this->getAccountModel()->asObject(AccountEntity::class)
->where('status', 'use') ->where(['cli' => 'use'])
->findAll(); ->findAll();
} }
echo __FUNCTION__ . "에서 호출:" . $this->getAccountModel()->getLastQuery(); echo __FUNCTION__ . "에서 호출:" . $this->getAccountModel()->getLastQuery();