fix:优化打印机逻辑

This commit is contained in:
2025-03-14 16:02:00 +08:00
parent 3f0d3e5026
commit 46810f941d
7 changed files with 187 additions and 40 deletions

View File

@@ -29,8 +29,8 @@ public class MS439Controller {
}
@PostMapping("/getStatus")
public Result<String> print(){
this.ms439PrintService.getStatus();
public Result<String> print(@RequestParam(defaultValue = "A4") String papersource){
this.ms439PrintService.getStatus(papersource);
return Result.ok();
}