ExpressPrintService.php 661 B

123456789101112131415161718192021
  1. <?php
  2. namespace App\Api;
  3. class ExpressPrintService extends RpcService{
  4. /**
  5. * 面单打印接口
  6. * 不支持机型: k4-wh, k4-wa, m1 (k4系列机型不建议使用不干胶热敏纸)
  7. *
  8. * @param $machineCode string 机器码
  9. * @param $content array 面单数据
  10. * @param $originId string 商户系统内部订单号,要求32个字符内,只能是数字、大小写字母
  11. * @return mixed
  12. */
  13. public function index($machineCode, $content, $originId)
  14. {
  15. return $this->client->call('expressprint/index', array('machine_code' => $machineCode, 'content' => $content, 'origin_id' => $originId));
  16. }
  17. }