添加打印发票功能

This commit is contained in:
牛叉闪闪
2024-07-18 13:40:01 +08:00
parent b27b364848
commit 6bcecc2ef9
3 changed files with 73 additions and 11 deletions

View File

@@ -55,4 +55,17 @@ public class CloudPrinterController {
){
return cloudPrinterService.handoverprintData(token,id,loginName);
}
@GetMapping("printInvoice")
public Result printInvoice(@RequestHeader("token") String token,
@RequestHeader("loginName") String loginName,
@RequestHeader("clientType") String clientType,
@RequestParam("content") String content,
@RequestParam("remark") String remark,
@RequestParam("amount") String amount,
@RequestParam("shopId") String shopId
){
return cloudPrinterService.printInvoice(shopId, content, remark, amount);
}
}