Commit 531d0d2f by huangjy

fix:隐私政策免登录

parent e0ad53b5
...@@ -3,6 +3,7 @@ package com.makeit.module.controller.children.config; ...@@ -3,6 +3,7 @@ package com.makeit.module.controller.children.config;
import com.makeit.common.response.ApiResponseEntity; import com.makeit.common.response.ApiResponseEntity;
import com.makeit.common.response.ApiResponseUtils; import com.makeit.common.response.ApiResponseUtils;
import com.makeit.dto.saas.SaasPrivacyConfigDTO; import com.makeit.dto.saas.SaasPrivacyConfigDTO;
import com.makeit.global.annotation.AuthIgnore;
import com.makeit.service.saas.SaasPrivacyConfigService; import com.makeit.service.saas.SaasPrivacyConfigService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
...@@ -29,12 +30,14 @@ public class SaasPrivacyConfigChildrenController { ...@@ -29,12 +30,14 @@ public class SaasPrivacyConfigChildrenController {
@ApiOperation(value = "获取隐私政策-关于我们", notes = "") @ApiOperation(value = "获取隐私政策-关于我们", notes = "")
@PostMapping("/view") @PostMapping("/view")
@AuthIgnore
public ApiResponseEntity<SaasPrivacyConfigDTO> view(@RequestBody SaasPrivacyConfigDTO saasPrivacyConfigDTO){ public ApiResponseEntity<SaasPrivacyConfigDTO> view(@RequestBody SaasPrivacyConfigDTO saasPrivacyConfigDTO){
return ApiResponseUtils.success(saasPrivacyConfigService.view(saasPrivacyConfigDTO.getCategory())); return ApiResponseUtils.success(saasPrivacyConfigService.view(saasPrivacyConfigDTO.getCategory()));
} }
@ApiOperation(value = "获取关于我们", notes = "") @ApiOperation(value = "获取关于我们", notes = "")
@PostMapping("/viewAbout") @PostMapping("/viewAbout")
@AuthIgnore
public ApiResponseEntity<SaasPrivacyConfigDTO> viewAbout(@RequestBody SaasPrivacyConfigDTO saasPrivacyConfigDTO){ public ApiResponseEntity<SaasPrivacyConfigDTO> viewAbout(@RequestBody SaasPrivacyConfigDTO saasPrivacyConfigDTO){
return ApiResponseUtils.success(saasPrivacyConfigService.view(saasPrivacyConfigDTO.getCategory())); return ApiResponseUtils.success(saasPrivacyConfigService.view(saasPrivacyConfigDTO.getCategory()));
} }
......
...@@ -322,7 +322,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder ...@@ -322,7 +322,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
e.setBedName(l.getName()); e.setBedName(l.getName());
}); });
ExcelUtil.export(response, "长者信息" + FileSuffixEnum.EXCEL.getSuffix(), PlatElderExportVO.class, list); ExcelUtil.export(response, "长者信息" + FileSuffixEnum.EXCEL.getSuffix(), "长者信息",PlatElderExportVO.class, list);
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment