| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | return R.ok(xpSystemSettingService.lambdaQuery().last("limit 1").one()); |
| | | } |
| | | |
| | | @ApiOperation(value = "保存系统配置、热修复", tags = {"管理后台-系统"}) |
| | | @GetMapping("/api/v1/systemSetting/save") |
| | | public R<?> saveSystemSetting(@RequestBody XpSystemSetting xpSystemSetting){ |
| | | xpSystemSettingService.saveSystemSetting(xpSystemSetting); |
| | | return R.ok(); |
| | | } |
| | | } |