管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-09-29 0dd12f147e948e36505a1a4b76d12e36ff4ea74a
src/main/java/com/lf/server/controller/data/AuthController.java
@@ -92,7 +92,7 @@
            @ApiImplicitParam(name = "authEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.AuthEntity", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertAuth", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> insertAuth(AuthEntity authEntity) {
    public ResponseMsg<Integer> insertAuth(@RequestBody AuthEntity authEntity) {
        try {
            int count = authService.insertAuth(authEntity);
@@ -155,7 +155,7 @@
    })
    @ResponseBody
    @PostMapping(value = "/updateAuth", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> updateAuth(AuthEntity authEntity) {
    public ResponseMsg<Integer> updateAuth(@RequestBody AuthEntity authEntity) {
        try {
            int count = authService.updateAuth(authEntity);
@@ -191,6 +191,4 @@
            return fail(ex.getMessage(), null);
        }
    }
}