阶段更新
This commit is contained in:
20
app/Admin/Actions/LinkVipOrderRefund.php
Normal file
20
app/Admin/Actions/LinkVipOrderRefund.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Admin\Actions;
|
||||
|
||||
use Encore\Admin\Actions\RowAction;
|
||||
|
||||
class LinkVipOrderRefund extends RowAction
|
||||
{
|
||||
|
||||
public $name = '体验官退款';
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function href(): string
|
||||
{
|
||||
return admin_url("platform/vip_orders?user[username]=".$this->row->user->username);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user