Sfoglia il codice sorgente

创新-设备子系统-设备bom,复制子项目接口

sucheng 1 anno fa
parent
commit
f9607de9fb

+ 2 - 2
cx-equipment/cx-equipment-server/src/main/java/com/rongwei/bsserver/sys/controller/EquBomController.java

@@ -8,9 +8,9 @@ import com.rongwei.rwcommon.base.R;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
 
 
 /**
@@ -21,7 +21,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
  * @author sc
  * @since 2023-11-24
  */
-@Controller
+@RestController
 @RequestMapping("/equBom")
 public class EquBomController {