添加打印发票功能
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user