wupengfei 2 роки тому
батько
коміт
f855b24236

+ 4 - 5
.idea/workspace.xml

@@ -3,10 +3,9 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/nutrition/view/datum_url/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/datum_url/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/nutrition/view/one_datum/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/one_datum/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/nutrition/view/video_manage/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/video_manage/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/nutrition/view/video_url/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/video_url/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/nutrition/controller/VideoManage.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/controller/VideoManage.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/nutrition/view/video_manage/form.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/video_manage/form.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/nutrition/view/video_url/form.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/video_url/form.html" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -222,7 +221,7 @@
       <workItem from="1664412298142" duration="4898000" />
       <workItem from="1664498426748" duration="13957000" />
       <workItem from="1665189429149" duration="5358000" />
-      <workItem from="1665206979508" duration="609000" />
+      <workItem from="1665206979508" duration="1554000" />
     </task>
     <servers />
   </component>

+ 1 - 0
application/nutrition/controller/VideoManage.php

@@ -213,6 +213,7 @@ class VideoManage extends Controller
                     'up_type'=>input('post.up_type'),
                     'ppt'=>input('post.ppt'),
                     'label'=>input('post.label'),
+                    'user_id'=>input('post.user_id'),
                 ],'video_id',['video_id'=>$result]);
                 $up = [];
                 $up['video_url'] = $url;

+ 8 - 0
application/nutrition/view/video_manage/form.html

@@ -109,6 +109,14 @@
             </div>
 
 
+
+            <div class="layui-form-item">
+                <label class="layui-form-label ">用户ID</label>
+                <div class="layui-input-block">
+                    <input name="user_id"   value='{$vo.user_id|default=""}' placeholder="请输入用户ID介" class="layui-input">
+                </div>
+            </div>
+
             <div class="layui-form-item">
                 <label class="layui-form-label label-required">PPT</label>
                 <label class="layui-col-xs10 relative">

+ 7 - 0
application/nutrition/view/video_url/form.html

@@ -77,6 +77,13 @@
             </div>
 
             <div class="layui-form-item">
+                <label class="layui-form-label ">用户ID</label>
+                <div class="layui-input-block">
+                    <input name="user_id"   value='{$vo.user_id|default=""}' placeholder="请输入用户ID介" class="layui-input">
+                </div>
+            </div>
+
+            <div class="layui-form-item">
                 <label class="layui-form-label label-required">PPT</label>
                 <label class="layui-col-xs10 relative">
                     <label class="layui-col-xs9 think-form-group-left">