|
@@ -24,6 +24,7 @@ class BatchEditEpisodeForm extends Form implements LazyRenderable
|
|
Episode::where('id' , $id)->update([
|
|
Episode::where('id' , $id)->update([
|
|
'is_opend' => $input['is_opend'],
|
|
'is_opend' => $input['is_opend'],
|
|
'is_vip_watch' => $input['is_vip_watch'],
|
|
'is_vip_watch' => $input['is_vip_watch'],
|
|
|
|
+ 'platform' => $input['platform'],
|
|
]);
|
|
]);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -40,6 +41,9 @@ class BatchEditEpisodeForm extends Form implements LazyRenderable
|
|
->options(config('global.bool_status'))
|
|
->options(config('global.bool_status'))
|
|
->default(1);
|
|
->default(1);
|
|
|
|
|
|
|
|
+ $this->checkbox('platform')
|
|
|
|
+ ->options(config('global.platform'));
|
|
|
|
+
|
|
$this->hidden('id')->attribute('id','batch-id');
|
|
$this->hidden('id')->attribute('id','batch-id');
|
|
}
|
|
}
|
|
|
|
|