月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-11 fee67ca8a0760315047a52fc4101a8f4f80b7a7f
src/main/java/com/moon/server/controller/sys/ResOpController.java
@@ -11,26 +11,22 @@
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.sql.Timestamp;
import java.util.List;
/**
 * 资源操作
 * @author SWS
 * @date 2022-09.28
 */
@SuppressWarnings("ALL")
@Api(tags = "运维管理\\资源操作")
@RestController
@RequestMapping("/resOp")
public class ResOpController extends BaseController {
    @Autowired
    @Resource
    ResOpService resOpService;
    @Autowired
    @Resource
    TokenService tokenService;
    @SysLog()
@@ -108,7 +104,7 @@
    @SysLog()
    @ApiOperation(value = "插入一条")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "实体类", dataType = "ResOpEntity", paramType = "body", example = "")
            @ApiImplicitParam(name = "entity", value = "实体类", dataType = "com.lf.server.entity.sys.ResOpEntity", paramType = "body", example = "")
    })
    @PostMapping(value = "/insertResOp", produces = "application/json; charset=UTF-8")
    public ResponseMsg<Integer> insertResOp(@RequestBody ResOpEntity entity, HttpServletRequest req) {