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.
34 lines
495 B
34 lines
495 B
<?php
|
|
|
|
|
|
namespace App\Admin\Extensions;
|
|
|
|
|
|
use Dcat\Admin\Grid\RowAction;
|
|
use Illuminate\Http\Request;
|
|
|
|
class OrderPrint extends RowAction
|
|
{
|
|
protected $title;
|
|
public function __construct($title=null)
|
|
{
|
|
parent::__construct($title);
|
|
|
|
}
|
|
|
|
public function handle(Request $request)
|
|
{
|
|
$id = $this->getKey();
|
|
dd($id);
|
|
}
|
|
|
|
/**
|
|
* 设置要POST到接口的数据
|
|
*
|
|
* @return array
|
|
*/
|
|
public function parameters()
|
|
{
|
|
|
|
}
|
|
}
|