安徽博创起重服务端程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
619 B

<?php
namespace App\Api;
class ExpressPrintService extends RpcService{
/**
*面单打印接口
*不支持机型: k4-wh, k4-wa, m1 (k4系列机型不建议使用不干胶热敏纸)
*
* @param $machineCode
* @param $content
* @param $originId
* @param int $sandbox
* @return mixed
* @throws \Exception
*/
public function index($machineCode, $content, $originId, $sandbox = 0)
{
return $this->client->call('expressprint/index', array('machine_code' => $machineCode, 'content' => $content, 'origin_id' => $originId, 'sandbox' => $sandbox));
}
}