| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.system.dto.PlatformConfigDTO; |
| | | import com.doumee.dao.system.dto.QuerySystemDictDataDTO; |
| | | import com.doumee.dao.system.model.SystemDictData; |
| | | import com.doumee.dao.system.vo.SystemDictDataListVO; |
| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("获取平台配置项") |
| | | @GetMapping("/getPlatformConfig") |
| | | public ApiResponse<PlatformConfigDTO> getPlatformConfig () { |
| | | return ApiResponse.success(systemDictDataService.getPlatformConfigDTO()); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("更新平台配置项") |
| | | @PostMapping("/updPlatformConfig") |
| | | public ApiResponse updPlatformConfig (@RequestBody PlatformConfigDTO platformConfigDTO) { |
| | | systemDictDataService.updPlatformConfig(platformConfigDTO); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | } |