添加结算打印小票

This commit is contained in:
韩鹏辉
2024-04-03 10:56:59 +08:00
parent a2f467038b
commit 97da8f8392
6 changed files with 135 additions and 13 deletions

View File

@@ -38,11 +38,20 @@ public class CloudPrinterController {
return cloudPrinterService.printReceipt(type,orderId,ispre);
}
// public Result handoverPrint( @RequestHeader("token") String token,
// @RequestHeader("loginName") String loginName,
// @RequestHeader("clientType") String clientType,
// @RequestParam("tradeDay") String tradeDay
// ){
//
// }
/**
* 打印结算小票
* @param token
* @param loginName
* @param clientType
* @param tradeDay
* @return
*/
@GetMapping("handoverPrint")
public Result handoverPrint( @RequestHeader("token") String token,
@RequestHeader("loginName") String loginName,
@RequestHeader("clientType") String clientType,
@RequestParam("tradeDay") String tradeDay
){
return cloudPrinterService.handoverprintData(token,tradeDay,loginName);
}
}