mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Apply cache even when the member does not exist
탈퇴한 회원을 계속 DB에서 찾는 문제 수정
This commit is contained in:
parent
4463eb8939
commit
0984b751e8
2 changed files with 10 additions and 8 deletions
|
|
@ -415,12 +415,14 @@ class memberModel extends member
|
|||
$args = new stdClass();
|
||||
$args->member_srl = $member_srl;
|
||||
$output = executeQuery('member.getMemberInfoByMemberSrl', $args);
|
||||
if(!$output->data)
|
||||
if($output->data)
|
||||
{
|
||||
return new stdClass;
|
||||
$member_info = self::arrangeMemberInfo($output->data);
|
||||
}
|
||||
else
|
||||
{
|
||||
$member_info = new stdClass;
|
||||
}
|
||||
|
||||
$member_info = self::arrangeMemberInfo($output->data);
|
||||
if($output->toBool())
|
||||
{
|
||||
Rhymix\Framework\Cache::set($cache_key, $member_info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue