dyjh 6 years ago
parent
commit
a6bc934815
1 changed files with 7 additions and 1 deletions
  1. 7 1
      resources/views/admin/album/manufacturer/edit.blade.php

+ 7 - 1
resources/views/admin/album/manufacturer/edit.blade.php

xqd
@@ -440,7 +440,13 @@
                         <h5>视频列表</h5>
                     </div>
                     <div class="ibox-content">
-
+                        <form enctype="multipart/form-data" method="post" action="{{ url('/admin/Album/Agent/uploadVideo') }}">
+                            <div class="form-group">
+                                <input id="file-0b" class="file" type="file" name="video">
+                                <input name="agent_id" type="hidden" value="{{ $data['id'] or ''}}">
+                            </div>
+                            {{csrf_field()}}
+                        </form>
                         <table class="table">
                             <thead>
                             <tr>