|
@@ -123,7 +123,7 @@ public class RightsController {
|
|
|
rights.setCreated(new Timestamp(new Date().getTime()));
|
|
|
rights = rightsService.Insert(rights);
|
|
|
|
|
|
- HttpUtil.responseOutWithJson(request, response, rights);
|
|
|
+ HttpUtil.responseOkData(request, response, rights);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -136,7 +136,7 @@ public class RightsController {
|
|
|
}
|
|
|
rights = (Rights) Common.CopyValue(rights, rightsOld);
|
|
|
rights = rightsService.Insert(rights);
|
|
|
- HttpUtil.responseOutWithJson(request, response, rights);
|
|
|
+ HttpUtil.responseOkData(request, response, rights);
|
|
|
return;
|
|
|
}
|
|
|
|