添加网站文件
This commit is contained in:
19
vendor/yly-openapi/yly-openapi-sdk/Lib/Api/PrintMenuService.php
vendored
Normal file
19
vendor/yly-openapi/yly-openapi-sdk/Lib/Api/PrintMenuService.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Api;
|
||||
|
||||
class PrintMenuService extends RpcService{
|
||||
|
||||
/**
|
||||
* 添加应用菜单接口
|
||||
*
|
||||
* @param $machineCode string 机器码
|
||||
* @param $content string 菜单详情(json)
|
||||
* @return mixed
|
||||
*/
|
||||
public function addPrintMenu($machineCode, $content)
|
||||
{
|
||||
return $this->client->call('printmenu/addprintmenu', array('machine_code' => $machineCode, 'content' => $content));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user