代码提交

This commit is contained in:
liang.chao 2025-09-18 15:36:02 +08:00
parent 7ad60c3b16
commit 1fc659e214
1 changed files with 2 additions and 5 deletions

View File

@ -11,10 +11,7 @@ import com.bonus.web.service.ArchivedSettingService;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
@ -60,7 +57,7 @@ public class ArchivedSettingController extends BaseController {
@PostMapping("edit")
@SysLog(title = "修改归档配置", module = "数据/档案移交->归档配置", businessType = OperaType.UPDATE, details = "修改归档配置", logType = 1)
@RequiresPermissions("archived:setting:edit")
public AjaxResult updateArchivedSetting(List<ArchivedSettingDto> dto) {
public AjaxResult updateArchivedSetting(@RequestBody List<ArchivedSettingDto> dto) {
try {
return AjaxResult.success(service.updateArchivedSetting(dto));
} catch (Exception e) {