cfmgr init...100
This commit is contained in:
parent
00c1a24990
commit
0caa7e5647
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user