package org.jeecg.modules.dnc.controller; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.fasterxml.jackson.core.JsonProcessingException; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; /** * @author Lyh * @Description: DNC首页接口 * @date 2024/3/13 14:27 */ @Slf4j @Api(tags = "DNC首页接口") @RestController @RequestMapping("/dnc/home") //todo dnc首页相关接口待定 public class DncHomeController { /** * 三维工艺工艺规程信息列表 * @return */ @ApiOperation(value = "三维工艺工艺规程信息列表", notes = "三维工艺工艺规程信息列表") @GetMapping(value = "/syncProcessSpecificationInfo") public Result syncProcessSpecificationInfo() { return Result.ok(); } /** * 三维工艺工艺规程信息领取挂靠产品结构树 * @param id * @return */ @ApiOperation(value = "三维工艺工艺规程信息领取挂靠产品结构树", notes = "三维工艺工艺规程信息领取挂靠产品结构树") @GetMapping(value = "/receiveTree") public Result syncProcessSpecificationInfoTree(@RequestParam(name = "id") String id) throws JsonProcessingException { return Result.ok(); } }