table('sns_albumclass')->where($condition)->find(); if(!empty($info)) { return $info['ac_id']; } else { return null; } } }