将审核权限的:audit改为:confirm
This commit is contained in:
@@ -138,7 +138,7 @@ public class AppCfgController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"auditAppPolicyCfg"})
|
||||
@RequiresPermissions(value={"app:policy:audit"})
|
||||
@RequiresPermissions(value={"app:policy:confirm"})
|
||||
public String auditAppPolicyCfg(Integer isAudit,Integer isValid,String ids,Integer functionId, RedirectAttributes redirectAttributes) {
|
||||
AppPolicyCfg entity = new AppPolicyCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
@@ -248,7 +248,7 @@ public class AppCfgController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"auditAppIpCfg"})
|
||||
@RequiresPermissions(value={"app:ip:audit"})
|
||||
@RequiresPermissions(value={"app:ip:confirm"})
|
||||
public String auditAppIpCfg(Integer isAudit,Integer isValid,String ids,Integer functionId, RedirectAttributes redirectAttributes) {
|
||||
AppIpCfg entity = new AppIpCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
@@ -358,7 +358,7 @@ public class AppCfgController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"auditAppHttpCfg"})
|
||||
// @RequiresPermissions(value={"app:http:audit"})
|
||||
// @RequiresPermissions(value={"app:http:confirm"})
|
||||
public String auditAppHttpCfg(Integer isAudit,Integer isValid,String ids,Integer functionId, RedirectAttributes redirectAttributes) {
|
||||
AppHttpCfg entity = new AppHttpCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
@@ -467,7 +467,7 @@ public class AppCfgController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"auditAppDomainCfg"})
|
||||
// @RequiresPermissions(value={"app:domain:audit"})
|
||||
// @RequiresPermissions(value={"app:domain:confirm"})
|
||||
public String auditAppDomainCfg(Integer isAudit,Integer isValid,String ids,Integer functionId, RedirectAttributes redirectAttributes) {
|
||||
AppDomainCfg entity = new AppDomainCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
@@ -576,7 +576,7 @@ public class AppCfgController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = {"auditAppByteCfg"})
|
||||
// @RequiresPermissions(value={"app:byte:audit"})
|
||||
// @RequiresPermissions(value={"app:byte:confirm"})
|
||||
public String auditAppByteCfg(Integer isAudit,Integer isValid,String ids,Integer functionId, RedirectAttributes redirectAttributes) {
|
||||
AppByteCfg entity = new AppByteCfg();
|
||||
String[] idArray = ids.split(",");
|
||||
|
||||
Reference in New Issue
Block a user