Compare commits
2 Commits
20250806-0
...
20250806-0
| Author | SHA1 | Date | |
|---|---|---|---|
| 058b56a348 | |||
| 42dd168c14 |
@@ -92,7 +92,7 @@ class PrintService extends CateringBaseService
|
|||||||
*/
|
*/
|
||||||
public function cancel(): array
|
public function cancel(): array
|
||||||
{
|
{
|
||||||
$service = $this->printOrderFactory->handle($this->request->input('type'));
|
$service = $this->printOrderFactory->handle((int)$this->request->input('type'));
|
||||||
$service->printId = (int)$this->request->input('print_id');
|
$service->printId = (int)$this->request->input('print_id');
|
||||||
$service->handle();
|
$service->handle();
|
||||||
$service->printCancel();
|
$service->printCancel();
|
||||||
|
|||||||
@@ -115,8 +115,8 @@ class YlyPrintService implements PrintOrderInterface
|
|||||||
empty($this->data['order_sno']) ||
|
empty($this->data['order_sno']) ||
|
||||||
empty($this->data['username']) ||
|
empty($this->data['username']) ||
|
||||||
empty($this->data['mobile']) ||
|
empty($this->data['mobile']) ||
|
||||||
empty($this->data['date']) ||
|
empty($this->data['date'])
|
||||||
empty($this->data['heapsort'])
|
// empty($this->data['heapsort'])
|
||||||
) {
|
) {
|
||||||
$this->log->error('打印数据'.json_encode($this->data));
|
$this->log->error('打印数据'.json_encode($this->data));
|
||||||
throw new ErrException('打印数据丢失');
|
throw new ErrException('打印数据丢失');
|
||||||
|
|||||||
Reference in New Issue
Block a user