fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user