//��������
if(loginUser!=null && isUserInBlackList(site, loginUser)){
msgs.add("photo", new ActionMessage("error.user_in_blacklist"));
break;
}
PhotoOutlineBean photo = PhotoDAO.getPhotoOutlineByID(reply.getParentId());
if (photo == null || photo.getSite().getId() != reply.getSid()) {
msgs.add("reply", new ActionMessage("error.param"));
break;
}
if(photo.getLock()==1) {
msgs.add("reply", new ActionMessage("error.photo.locked"));
break;
}
// ��������������
rbean.setUser(loginUser);