This commit is contained in:
huahua
2023-11-09 16:29:16 +08:00
parent 576bcc958f
commit 402ccf1b5e
3 changed files with 0 additions and 4 deletions

View File

@@ -35,14 +35,12 @@ public class CopyrightController {
@Autowired
private CopyrightService copyrightService;
@PreAuthorize("hasAuthority('platform:copyright:get:info')")
@ApiOperation(value = "获取版权信息")
@RequestMapping(value = "/get/info", method = RequestMethod.GET)
public CommonResult<CopyrightInfoResponse> getInfo() {
return CommonResult.success(copyrightService.getInfo());
}
@PreAuthorize("hasAuthority('platform:copyright:update:company:info')")
@ApiOperation(value = "编辑公司版权信息")
@RequestMapping(value = "/update/company/info", method = RequestMethod.POST)
public CommonResult<Object> updateCompanyInfo(@RequestBody @Validated CopyrightUpdateInfoRequest request) {

View File

@@ -79,7 +79,6 @@ public class MerchantCategoryController {
return CommonResult.failed("删除商户分类失败");
}
@PreAuthorize("hasAuthority('platform:merchant:category:all')")
@ApiOperation(value = "获取全部商户分类列表")
@RequestMapping(value = "/all/list", method = RequestMethod.GET)
public CommonResult<List<MerchantCategory>> allList() {

View File

@@ -79,7 +79,6 @@ public class MerchantTypeController {
return CommonResult.failed("删除商户类型失败");
}
@PreAuthorize("hasAuthority('platform:merchant:type:all')")
@ApiOperation(value = "获取全部商户类型列表")
@RequestMapping(value = "/all/list", method = RequestMethod.GET)
public CommonResult<List<MerchantType>> allList() {