| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace App\Services\Interfaces;
- use Illuminate\Support\Str;
- interface DeliveryInterface
- {
- /*
- * 'type' => 'CAINIAO', // 需要前台过沟通的组件
- * 'task_id' => Str::uuid() // 组件打印任务id
- * 'is_process' => false, // is_process 是否已通过自定义模板处理
- * 'data' => $item['userdefine1'], // 组件所需要的数据
- * 'component_type' => 'TB', // 富勒下发的接口
- * 'owner_code' => h // 货主
- * 'logistic_code' => // 承运商
- * 'logistic_number' => // 快递单号
- * 'delivery' => $this->getDelivery($item),
- * 'base64' => // 快递面单的base64编码
- */
- function getDeliveryInfo($oracleDocOrderDeliveryInfos);
- function getDelivery($item);
- /**
- * 获取打印图片的base64编码
- * @param $item
- * @return mixed
- */
- function getBase64($item);
- }
|