fix:优化打印机逻辑
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user