rentaiming
2024-07-19 d204e01db828bbe4dd9ad5e19d6ff13f99334478
ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/controller/ScanCodesController.java
@@ -6,10 +6,7 @@
import com.ruoyi.management.service.InventoriesSuppliesService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@@ -21,7 +18,7 @@
    @Resource
    private InventoriesSuppliesService inventoriesSuppliesService;
    @PostMapping("/scanCodes")
    @GetMapping("/scanCodes")
    @ApiOperation(value = "安卓扫描传输数据")
    public R scanCodes(@RequestBody ScanCodesDTO scanCodesDTO) {
        inventoriesSuppliesService.scanCodes(scanCodesDTO);