package com.casic.controller; import com.casic.model.ResponseData; import com.casic.service.PressConfigService; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/casic") @AllArgsConstructor public class PressConfigController { private PressConfigService pressConfigService; @RequestMapping("/press/config") @ApiOperation("状态下发查询") public ResponseData nbPressConfig(String deviceId){ return pressConfigService.nbPressConfig( deviceId); } }