调整请求方式
This commit is contained in:
@@ -4,9 +4,7 @@ import com.dpkj.common.vo.Result;
|
||||
import com.dpkj.modules.barcode.service.BarCodeService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
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.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @BelongsProject: 银医通-澜沧中医院-DLL-台式机
|
||||
@@ -28,7 +26,7 @@ public class BarCodeController {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("scanBarcode")
|
||||
@PostMapping("scanBarcode")
|
||||
public Result scanBarcode() {
|
||||
return barcodeService.scanBarcode();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user