|
|
@ -36,9 +36,9 @@ class MiniProgramAuditStatus extends RowAction |
|
|
return "<a {$this->formatHtmlAttributes()}>{$this->title}</a>"; |
|
|
return "<a {$this->formatHtmlAttributes()}>{$this->title}</a>"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function handle() |
|
|
|
|
|
|
|
|
public function handle(Request $request) |
|
|
{ |
|
|
{ |
|
|
return $this->action == 1 ? $this->auditStatus() : $this->undoAudit(); |
|
|
|
|
|
|
|
|
return $request->action == 1 ? $this->auditStatus() : $this->undoAudit(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private function auditStatus() |
|
|
private function auditStatus() |
|
|
|