xiangpei
2025-06-05 7b1da9b7db15333148fbf12a6ac3f1122238b2ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.ycl.controller.move;
 
import com.ycl.common.base.Result;
import com.ycl.mapper.SysFormMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author:xp
 * @date:2025/4/10 11:55
 */
@RequiredArgsConstructor
@Api(value = "迁移文件时处理文件数据信息", tags = "迁移文件时处理文件数据信息")
@RestController
@RequestMapping("/dev/files")
public class MoveFilesDateController {
 
    private final SysFormMapper formMapper;
 
    @PostMapping("/move")
    @ApiOperation("修改表单的上传ip、flowable中的表单数据ip")
    @PreAuthorize("@ss.hasRole('admin')")
    public Result move() {
        return Result.ok("数据修改成功");
    }
 
}