doum
昨天 bcad3fe1b888ae11d437f6558b7974cfa30cfb2e
server/dmmall_admin/src/main/java/com/doumee/api/system/SystemDictDataController.java
@@ -8,6 +8,7 @@
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;
@@ -99,4 +100,18 @@
        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("操作成功");
    }
}