管道基础大数据平台系统开发-【后端】-Server
1
Surpriseplus
2022-09-29 194306e483bc627609ad2c15a648f783738680fc
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);