| | |
| | | @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); |
| | | |
| | |
| | | }) |
| | | @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); |
| | | |
| | |
| | | @ApiImplicitParam(name = "DepEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.DepEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDep", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDep( DepEntity depEntity) { |
| | | public ResponseMsg<Integer> insertDep(@RequestBody DepEntity depEntity) { |
| | | try { |
| | | int count = depService.insertDep(depEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDep", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDep(DepEntity depEntity) { |
| | | public ResponseMsg<Integer> updateDep(@RequestBody DepEntity depEntity) { |
| | | try { |
| | | int count = depService.updateDep(depEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "dictEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.DictEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDict", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDict(DictEntity dictEntity) { |
| | | public ResponseMsg<Integer> insertDict(@RequestBody DictEntity dictEntity) { |
| | | try { |
| | | int count = dictService.insertDict(dictEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDict", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDict(DictEntity dictEntity) { |
| | | public ResponseMsg<Integer> updateDict(@RequestBody DictEntity dictEntity) { |
| | | try { |
| | | int count = dictService.updateDict(dictEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "DirEntity", value = "目录实体类", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDir", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDir(DirEntity dirEntity) { |
| | | public ResponseMsg<Integer> insertDir(@RequestBody DirEntity dirEntity) { |
| | | try { |
| | | int count = dirService.insertDir(dirEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDir", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDir(DirEntity dirEntity) { |
| | | public ResponseMsg<Integer> updateDir(@RequestBody DirEntity dirEntity) { |
| | | try { |
| | | int count = dirService.updateDir(dirEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "loginEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.LoginEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertLogin", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertLogin(LoginEntity loginEntity) { |
| | | public ResponseMsg<Integer> insertLogin(@RequestBody LoginEntity loginEntity) { |
| | | try { |
| | | int count = loginService.insertLogin(loginEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateLogin", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateLogin(LoginEntity loginEntity) { |
| | | public ResponseMsg<Integer> updateLogin(@RequestBody LoginEntity loginEntity) { |
| | | try { |
| | | int count = loginService.updateLogin(loginEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "MenusEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.MenusEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertMenu", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertMenu(MenusEntity menusEntity) { |
| | | public ResponseMsg<Integer> insertMenu(@RequestBody MenusEntity menusEntity) { |
| | | try { |
| | | int count = menuService.insertMenu(menusEntity); |
| | | return success(count); |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateMenu", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateMenu(MenusEntity menusEntity) { |
| | | public ResponseMsg<Integer> updateMenu(@RequestBody MenusEntity menusEntity) { |
| | | try { |
| | | int count = menuService.updateMenu(menusEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "operateEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.OperateEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertOperate", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertOperate(OperateEntity operateEntity) { |
| | | public ResponseMsg<Integer> insertOperate(@RequestBody OperateEntity operateEntity) { |
| | | try { |
| | | int count = operateService.insertOperate(operateEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateOperate", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateOperate(OperateEntity operateEntity) { |
| | | public ResponseMsg<Integer> updateOperate(@RequestBody OperateEntity operateEntity) { |
| | | try { |
| | | int count = operateService.updateOperate(operateEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "resEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.ResEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertRes", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertRes(ResEntity resEntity) { |
| | | public ResponseMsg<Integer> insertRes(@RequestBody ResEntity resEntity) { |
| | | try { |
| | | int count = resService.insertRes(resEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateRes", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateRes(ResEntity resEntity) { |
| | | public ResponseMsg<Integer> updateRes(@RequestBody ResEntity resEntity) { |
| | | try { |
| | | int count = resService.updateRes(resEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "resOpEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.ResOpEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertResOp", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertResOp(ResOpEntity resOpEntity) { |
| | | public ResponseMsg<Integer> insertResOp(@RequestBody ResOpEntity resOpEntity) { |
| | | try { |
| | | int count = resOpService.insertResOp(resOpEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateResOp", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateResOp(ResOpEntity resOpEntity) { |
| | | public ResponseMsg<Integer> updateResOp(@RequestBody ResOpEntity resOpEntity) { |
| | | try { |
| | | int count = resOpService.updateResOp(resOpEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "roleEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.RoleEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertRole", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertRole(RoleEntity roleEntity) { |
| | | public ResponseMsg<Integer> insertRole(@RequestBody RoleEntity roleEntity) { |
| | | try { |
| | | int count = roleService.insertRole(roleEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateRole", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateRole(RoleEntity roleEntity) { |
| | | public ResponseMsg<Integer> updateRole(@RequestBody RoleEntity roleEntity) { |
| | | try { |
| | | int count = roleService.updateRole(roleEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateStyle", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateStyle(StyleEntity styleEntity) { |
| | | public ResponseMsg<Integer> updateStyle(@RequestBody StyleEntity styleEntity) { |
| | | try { |
| | | int count = styleService.updateStyle(styleEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "tokenEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.TokenEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertToken", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertToken(TokenEntity tokenEntity) { |
| | | public ResponseMsg<Integer> insertToken(@RequestBody TokenEntity tokenEntity) { |
| | | try { |
| | | int count = tokenService.insertToken(tokenEntity); |
| | | return success(count); |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateToken", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateToken(TokenEntity tokenEntity) { |
| | | public ResponseMsg<Integer> updateToken(@RequestBody TokenEntity tokenEntity) { |
| | | try { |
| | | int count = tokenService.updateToken(tokenEntity); |
| | | return success(count); |
| | |
| | | @ApiImplicitParam(name = "userEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.UserEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertUser", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertUser(UsersEntity usersEntity) { |
| | | public ResponseMsg<Integer> insertUser(@RequestBody UsersEntity usersEntity) { |
| | | try { |
| | | int count = userService.insertUser(usersEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateUsers", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateUsers(UsersEntity usersEntity) { |
| | | public ResponseMsg<Integer> updateUsers(@RequestBody UsersEntity usersEntity) { |
| | | try { |
| | | int count = userService.updateUsers(usersEntity); |
| | | |
| | |
| | | @ApiImplicitParam(name = "versionEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.VersionEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertVersion", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertVersion(VersionEntity versionEntity) { |
| | | public ResponseMsg<Integer> insertVersion(@RequestBody VersionEntity versionEntity) { |
| | | try { |
| | | int count = versionService.insertVersion(versionEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateVersion", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateVersion(VersionEntity versionEntity) { |
| | | public ResponseMsg<Integer> updateVersion(@RequestBody VersionEntity versionEntity) { |
| | | try { |
| | | int count = versionService.updateVersion(versionEntity); |
| | | |