管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-11-17 4297b92c36302bc97efb0a03690a63dcb6ec44b1
src/main/java/com/lf/server/controller/sys/UserController.java
@@ -197,13 +197,12 @@
            @ApiImplicitParam(name = "entity", value = "实体类", dataType = "com.lf.server.entity.data.UserEntity", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertUser", produces = "application/json; charset=UTF-8")
    @SuppressWarnings("AlibabaRemoveCommentedCode")
    public ResponseMsg<Integer> insertUser(@RequestBody UserEntity entity, HttpServletRequest req) {
        try {
            /*String str = userService.validateNewPwd(entity);
            String str = userService.validateNewPwd(entity);
            if (str != null) {
                return fail(str, -1);
            }*/
            }
            UserEntity ue = tokenService.getCurrentUser(req);
            if (ue != null) {