init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
18
ThinkPHP/Library/Vendor/Yly/Api/PrintService.php
vendored
可执行文件
18
ThinkPHP/Library/Vendor/Yly/Api/PrintService.php
vendored
可执行文件
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
|
||||
class PrintService extends RpcService{
|
||||
|
||||
/**
|
||||
* 打印接口
|
||||
*
|
||||
* @param $machineCode string 机器码
|
||||
* @param $content string 打印内容
|
||||
* @param $originId string 商户系统内部订单号,要求32个字符内,只能是数字、大小写字母
|
||||
* @return mixed
|
||||
*/
|
||||
public function index($machineCode, $content, $originId)
|
||||
{
|
||||
return $this->client->call('print/index', array('machine_code' => $machineCode, 'content' => $content, 'origin_id' => $originId));
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户