public String delete(Model model) throws Exception {
if(!isLogin()) {
return returnErrorMsg(model, groupPathProp.getProperty("LOGIN_ERROR"));
}
Data param = getParam();
User user= getUser();
param.add(0, "userIdx", user.getId());
if(text.isNull(param.getString(0,"groupId"))) {
param = null;
return returnErrorMsg(model, groupPathProp.getProperty("NO_GROUP_ID"));
}
if(text.isNull(param.getString(0,"pathId"))) {
param = null;
return returnErrorMsg(model, groupPathProp.getProperty("NO_PATH_ID"));
}
groupPathService.delete(param);