作者 郭盛
1 个管道 的构建 通过 耗费 9 秒

修改后台提取码以及接口视频详情

@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
10 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/view/video/add.html" afterPath="$PROJECT_DIR$/application/admin/view/video/add.html" /> 10 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/view/video/add.html" afterPath="$PROJECT_DIR$/application/admin/view/video/add.html" />
11 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/view/video/edit.html" afterPath="$PROJECT_DIR$/application/admin/view/video/edit.html" /> 11 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/view/video/edit.html" afterPath="$PROJECT_DIR$/application/admin/view/video/edit.html" />
12 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/api/controller/User.php" afterPath="$PROJECT_DIR$/application/api/controller/User.php" /> 12 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/api/controller/User.php" afterPath="$PROJECT_DIR$/application/api/controller/User.php" />
  13 + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/public/api.html" afterPath="$PROJECT_DIR$/public/api.html" />
13 </list> 14 </list>
14 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 15 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
15 <option name="TRACKING_ENABLED" value="true" /> 16 <option name="TRACKING_ENABLED" value="true" />
@@ -19,7 +20,93 @@ @@ -19,7 +20,93 @@
19 <option name="LAST_RESOLUTION" value="IGNORE" /> 20 <option name="LAST_RESOLUTION" value="IGNORE" />
20 </component> 21 </component>
21 <component name="FileEditorManager"> 22 <component name="FileEditorManager">
22 - <leaf SIDE_TABS_SIZE_LIMIT_KEY="300" /> 23 + <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
  24 + <file leaf-file-name="User.php" pinned="false" current-in-tab="true">
  25 + <entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
  26 + <provider selected="true" editor-type-id="text-editor">
  27 + <state relative-caret-position="725">
  28 + <caret line="147" column="0" lean-forward="true" selection-start-line="147" selection-start-column="0" selection-end-line="147" selection-end-column="0" />
  29 + <folding>
  30 + <element signature="e#544#1282#0#PHP" expanded="false" />
  31 + <element signature="e#1287#2950#0#PHP" expanded="false" />
  32 + <element signature="e#2956#3318#0#PHP" expanded="false" />
  33 + <element signature="e#3323#3613#0#PHP" expanded="false" />
  34 + <element signature="e#3619#3941#0#PHP" expanded="false" />
  35 + <element signature="e#3946#4233#0#PHP" expanded="false" />
  36 + <element signature="e#4240#4674#0#PHP" expanded="false" />
  37 + <element signature="e#4679#5037#0#PHP" expanded="false" />
  38 + <element signature="e#5043#5450#0#PHP" expanded="false" />
  39 + <element signature="e#5455#5798#0#PHP" expanded="false" />
  40 + <element signature="e#5804#6217#0#PHP" expanded="false" />
  41 + <element signature="e#6222#6539#0#PHP" expanded="false" />
  42 + <element signature="e#6545#7633#0#PHP" expanded="false" />
  43 + <element signature="e#7638#8356#0#PHP" expanded="false" />
  44 + <element signature="e#8362#9042#0#PHP" expanded="false" />
  45 + <element signature="e#9047#9960#0#PHP" expanded="false" />
  46 + <element signature="e#9966#10755#0#PHP" expanded="false" />
  47 + <element signature="e#10760#12109#0#PHP" expanded="false" />
  48 + <element signature="e#12115#12817#0#PHP" expanded="false" />
  49 + <element signature="e#12822#14142#0#PHP" expanded="false" />
  50 + <element signature="e#14148#14724#0#PHP" expanded="false" />
  51 + <element signature="e#14729#15341#0#PHP" expanded="false" />
  52 + <element signature="e#15347#16063#0#PHP" expanded="false" />
  53 + <element signature="e#16068#18608#0#PHP" expanded="false" />
  54 + <element signature="e#18614#19516#0#PHP" expanded="false" />
  55 + <element signature="e#19521#22326#0#PHP" expanded="false" />
  56 + <element signature="e#22332#22709#0#PHP" expanded="false" />
  57 + <element signature="e#22714#23156#0#PHP" expanded="false" />
  58 + <element signature="e#23159#23168#0#PHP" expanded="false" />
  59 + <element signature="e#23928#24433#0#PHP" expanded="false" />
  60 + <element signature="e#24438#24689#0#PHP" expanded="false" />
  61 + <element signature="e#24695#25174#0#PHP" expanded="false" />
  62 + <element signature="e#25179#25936#0#PHP" expanded="false" />
  63 + <element signature="e#25942#26423#0#PHP" expanded="false" />
  64 + <element signature="e#26428#27198#0#PHP" expanded="false" />
  65 + <element signature="e#27204#27567#0#PHP" expanded="false" />
  66 + <element signature="e#27572#27763#0#PHP" expanded="false" />
  67 + <element signature="e#27769#28127#0#PHP" expanded="false" />
  68 + <element signature="e#28132#28323#0#PHP" expanded="false" />
  69 + <element signature="e#28329#29472#0#PHP" expanded="false" />
  70 + <element signature="e#29477#32142#0#PHP" expanded="false" />
  71 + <element signature="e#32148#32646#0#PHP" expanded="false" />
  72 + <element signature="e#32651#34397#0#PHP" expanded="false" />
  73 + <element signature="e#34403#34816#0#PHP" expanded="false" />
  74 + <element signature="e#34821#35300#0#PHP" expanded="false" />
  75 + <element signature="e#35306#35840#0#PHP" expanded="false" />
  76 + <element signature="e#35845#37230#0#PHP" expanded="false" />
  77 + <element signature="e#37236#37890#0#PHP" expanded="false" />
  78 + <element signature="e#37895#39910#0#PHP" expanded="false" />
  79 + <element signature="e#39916#40676#0#PHP" expanded="false" />
  80 + <element signature="e#40681#43390#0#PHP" expanded="false" />
  81 + <element signature="e#43416#44247#0#PHP" expanded="false" />
  82 + <element signature="e#44253#44673#0#PHP" expanded="false" />
  83 + <element signature="e#44678#45161#0#PHP" expanded="false" />
  84 + <element signature="e#45167#45973#0#PHP" expanded="false" />
  85 + <element signature="e#45978#49136#0#PHP" expanded="false" />
  86 + <element signature="e#49151#50486#0#PHP" expanded="false" />
  87 + <element signature="e#50502#51536#0#PHP" expanded="false" />
  88 + <element signature="e#51542#52300#0#PHP" expanded="false" />
  89 + <element signature="e#52305#56048#0#PHP" expanded="false" />
  90 + <element signature="e#56054#56446#0#PHP" expanded="false" />
  91 + <element signature="e#56451#57403#0#PHP" expanded="false" />
  92 + <element signature="e#57427#58000#0#PHP" expanded="false" />
  93 + <element signature="e#58006#58605#0#PHP" expanded="false" />
  94 + <element signature="e#58610#59537#0#PHP" expanded="false" />
  95 + <element signature="e#59543#60257#0#PHP" expanded="false" />
  96 + <element signature="e#60263#60690#0#PHP" expanded="false" />
  97 + <element signature="e#60695#61164#0#PHP" expanded="false" />
  98 + <element signature="e#61171#62376#0#PHP" expanded="false" />
  99 + <element signature="e#62381#64084#0#PHP" expanded="false" />
  100 + <element signature="e#64090#64867#0#PHP" expanded="false" />
  101 + <element signature="e#64872#68810#0#PHP" expanded="false" />
  102 + <element signature="e#68816#69325#0#PHP" expanded="false" />
  103 + <element signature="e#69330#70002#0#PHP" expanded="false" />
  104 + </folding>
  105 + </state>
  106 + </provider>
  107 + </entry>
  108 + </file>
  109 + </leaf>
23 </component> 110 </component>
24 <component name="FileTemplateManagerImpl"> 111 <component name="FileTemplateManagerImpl">
25 <option name="RECENT_TEMPLATES"> 112 <option name="RECENT_TEMPLATES">
@@ -98,10 +185,10 @@ @@ -98,10 +185,10 @@
98 <option value="$PROJECT_DIR$/application/admin/view/share/edit.html" /> 185 <option value="$PROJECT_DIR$/application/admin/view/share/edit.html" />
99 <option value="$PROJECT_DIR$/application/admin/view/share/index.html" /> 186 <option value="$PROJECT_DIR$/application/admin/view/share/index.html" />
100 <option value="$PROJECT_DIR$/public/assets/js/backend/share.js" /> 187 <option value="$PROJECT_DIR$/public/assets/js/backend/share.js" />
101 - <option value="$PROJECT_DIR$/application/api/controller/User.php" />  
102 <option value="$PROJECT_DIR$/application/admin/view/video/add.html" /> 188 <option value="$PROJECT_DIR$/application/admin/view/video/add.html" />
103 - <option value="$PROJECT_DIR$/application/admin/controller/Video.php" />  
104 <option value="$PROJECT_DIR$/application/admin/view/video/edit.html" /> 189 <option value="$PROJECT_DIR$/application/admin/view/video/edit.html" />
  190 + <option value="$PROJECT_DIR$/application/admin/controller/Video.php" />
  191 + <option value="$PROJECT_DIR$/application/api/controller/User.php" />
105 </list> 192 </list>
106 </option> 193 </option>
107 </component> 194 </component>
@@ -120,8 +207,8 @@ @@ -120,8 +207,8 @@
120 </component> 207 </component>
121 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" /> 208 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
122 <component name="ProjectFrameBounds" extendedState="1"> 209 <component name="ProjectFrameBounds" extendedState="1">
123 - <option name="x" value="309" />  
124 - <option name="y" value="63" /> 210 + <option name="x" value="-61" />
  211 + <option name="y" value="101" />
125 <option name="width" value="1513" /> 212 <option name="width" value="1513" />
126 <option name="height" value="961" /> 213 <option name="height" value="961" />
127 </component> 214 </component>
@@ -147,6 +234,24 @@ @@ -147,6 +234,24 @@
147 <item name="areial" type="b2602c69:ProjectViewProjectNode" /> 234 <item name="areial" type="b2602c69:ProjectViewProjectNode" />
148 <item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" /> 235 <item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" />
149 </path> 236 </path>
  237 + <path>
  238 + <item name="areial" type="b2602c69:ProjectViewProjectNode" />
  239 + <item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" />
  240 + <item name="application" type="2a2b976b:PhpTreeStructureProvider$1" />
  241 + </path>
  242 + <path>
  243 + <item name="areial" type="b2602c69:ProjectViewProjectNode" />
  244 + <item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" />
  245 + <item name="application" type="2a2b976b:PhpTreeStructureProvider$1" />
  246 + <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
  247 + </path>
  248 + <path>
  249 + <item name="areial" type="b2602c69:ProjectViewProjectNode" />
  250 + <item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" />
  251 + <item name="application" type="2a2b976b:PhpTreeStructureProvider$1" />
  252 + <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
  253 + <item name="controller" type="2a2b976b:PhpTreeStructureProvider$1" />
  254 + </path>
150 </expand> 255 </expand>
151 <select /> 256 <select />
152 </subPane> 257 </subPane>
@@ -286,7 +391,7 @@ @@ -286,7 +391,7 @@
286 <workItem from="1583454639047" duration="19611000" /> 391 <workItem from="1583454639047" duration="19611000" />
287 <workItem from="1583481861278" duration="4890000" /> 392 <workItem from="1583481861278" duration="4890000" />
288 <workItem from="1583540220249" duration="10194000" /> 393 <workItem from="1583540220249" duration="10194000" />
289 - <workItem from="1583551237397" duration="4626000" /> 394 + <workItem from="1583551237397" duration="8465000" />
290 </task> 395 </task>
291 <task id="LOCAL-00001" summary="调试"> 396 <task id="LOCAL-00001" summary="调试">
292 <created>1574145133364</created> 397 <created>1574145133364</created>
@@ -313,7 +418,7 @@ @@ -313,7 +418,7 @@
313 <servers /> 418 <servers />
314 </component> 419 </component>
315 <component name="TimeTrackingManager"> 420 <component name="TimeTrackingManager">
316 - <option name="totallyTimeSpent" value="525490000" /> 421 + <option name="totallyTimeSpent" value="529329000" />
317 </component> 422 </component>
318 <component name="TodoView"> 423 <component name="TodoView">
319 <todo-panel id="selected-file"> 424 <todo-panel id="selected-file">
@@ -325,16 +430,17 @@ @@ -325,16 +430,17 @@
325 </todo-panel> 430 </todo-panel>
326 </component> 431 </component>
327 <component name="ToolWindowManager"> 432 <component name="ToolWindowManager">
328 - <frame x="309" y="63" width="1513" height="961" extended-state="1" /> 433 + <frame x="-61" y="101" width="1513" height="961" extended-state="1" />
  434 + <editor active="true" />
329 <layout> 435 <layout>
330 - <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.16999312" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" /> 436 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16999312" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
331 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32912987" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> 437 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32912987" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
332 <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" /> 438 <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
333 <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 439 <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
334 <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 440 <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
335 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> 441 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
336 <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 442 <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
337 - <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.47139305" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 443 + <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.47087377" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
338 <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" /> 444 <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
339 <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> 445 <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
340 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 446 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@@ -382,13 +488,6 @@ @@ -382,13 +488,6 @@
382 <watches-manager /> 488 <watches-manager />
383 </component> 489 </component>
384 <component name="editorHistoryManager"> 490 <component name="editorHistoryManager">
385 - <entry file="file://$PROJECT_DIR$/application/extra/verify.php">  
386 - <provider selected="true" editor-type-id="text-editor">  
387 - <state relative-caret-position="531">  
388 - <caret line="25" column="8" lean-forward="true" selection-start-line="25" selection-start-column="8" selection-end-line="27" selection-end-column="96" />  
389 - </state>  
390 - </provider>  
391 - </entry>  
392 <entry file="file://$PROJECT_DIR$/application/api/controller/Pay.php"> 491 <entry file="file://$PROJECT_DIR$/application/api/controller/Pay.php">
393 <provider selected="true" editor-type-id="text-editor"> 492 <provider selected="true" editor-type-id="text-editor">
394 <state relative-caret-position="458"> 493 <state relative-caret-position="458">
@@ -690,13 +789,6 @@ @@ -690,13 +789,6 @@
690 </state> 789 </state>
691 </provider> 790 </provider>
692 </entry> 791 </entry>
693 - <entry file="file://$PROJECT_DIR$/application/api/controller/User.php">  
694 - <provider selected="true" editor-type-id="text-editor">  
695 - <state relative-caret-position="225">  
696 - <caret line="273" column="54" lean-forward="true" selection-start-line="273" selection-start-column="54" selection-end-line="273" selection-end-column="54" />  
697 - </state>  
698 - </provider>  
699 - </entry>  
700 <entry file="file://$PROJECT_DIR$/application/admin/controller/Share.php"> 792 <entry file="file://$PROJECT_DIR$/application/admin/controller/Share.php">
701 <provider selected="true" editor-type-id="text-editor"> 793 <provider selected="true" editor-type-id="text-editor">
702 <state relative-caret-position="0"> 794 <state relative-caret-position="0">
@@ -713,30 +805,314 @@ @@ -713,30 +805,314 @@
713 </state> 805 </state>
714 </provider> 806 </provider>
715 </entry> 807 </entry>
716 - <entry file="file://$PROJECT_DIR$/application/admin/view/video/edit.html"> 808 + <entry file="file://$PROJECT_DIR$/application/admin/view/video/add.html">
717 <provider selected="true" editor-type-id="text-editor"> 809 <provider selected="true" editor-type-id="text-editor">
718 - <state relative-caret-position="-76">  
719 - <caret line="146" column="29" lean-forward="false" selection-start-line="146" selection-start-column="29" selection-end-line="146" selection-end-column="29" /> 810 + <state relative-caret-position="368">
  811 + <caret line="100" column="17" lean-forward="true" selection-start-line="100" selection-start-column="17" selection-end-line="100" selection-end-column="17" />
720 <folding /> 812 <folding />
721 </state> 813 </state>
722 </provider> 814 </provider>
723 </entry> 815 </entry>
724 - <entry file="file://$PROJECT_DIR$/application/admin/view/video/add.html"> 816 + <entry file="file://$PROJECT_DIR$/application/admin/view/video/edit.html">
725 <provider selected="true" editor-type-id="text-editor"> 817 <provider selected="true" editor-type-id="text-editor">
726 - <state relative-caret-position="693">  
727 - <caret line="167" column="10" lean-forward="true" selection-start-line="167" selection-start-column="10" selection-end-line="167" selection-end-column="10" /> 818 + <state relative-caret-position="300">
  819 + <caret line="94" column="10" lean-forward="false" selection-start-line="94" selection-start-column="10" selection-end-line="94" selection-end-column="10" />
728 <folding /> 820 <folding />
729 </state> 821 </state>
730 </provider> 822 </provider>
731 </entry> 823 </entry>
  824 + <entry file="file://$PROJECT_DIR$/application/admin/controller/Order.php">
  825 + <provider selected="true" editor-type-id="text-editor">
  826 + <state relative-caret-position="575">
  827 + <caret line="81" column="9" lean-forward="true" selection-start-line="81" selection-start-column="9" selection-end-line="81" selection-end-column="9" />
  828 + <folding>
  829 + <marker date="1576229091614" expanded="true" signature="3712:11493" ph="..." />
  830 + <marker date="1576229091614" expanded="true" signature="3730:3865" ph="..." />
  831 + <marker date="1576229091614" expanded="false" signature="3750:3816" ph="..." />
  832 + <marker date="1576229091614" expanded="false" signature="3889:3936" ph="..." />
  833 + <marker date="1576229091614" expanded="true" signature="3937:3975" ph="..." />
  834 + <marker date="1576229091614" expanded="false" signature="3999:4026" ph="..." />
  835 + <marker date="1576229091614" expanded="true" signature="4027:4182" ph="..." />
  836 + <marker date="1576229091614" expanded="false" signature="4206:4222" ph="..." />
  837 + <marker date="1576229091614" expanded="true" signature="4223:5270" ph="..." />
  838 + <marker date="1576229091614" expanded="false" signature="4249:4293" ph="..." />
  839 + <marker date="1576229091614" expanded="true" signature="4294:4372" ph="..." />
  840 + <marker date="1576229091614" expanded="false" signature="4324:4336" ph="..." />
  841 + <marker date="1576229091614" expanded="false" signature="4396:4440" ph="..." />
  842 + <marker date="1576229091614" expanded="true" signature="4441:4519" ph="..." />
  843 + <marker date="1576229091614" expanded="false" signature="4472:4484" ph="..." />
  844 + <marker date="1576229091614" expanded="false" signature="4543:4587" ph="..." />
  845 + <marker date="1576229091614" expanded="true" signature="4588:4666" ph="..." />
  846 + <marker date="1576229091614" expanded="false" signature="4619:4631" ph="..." />
  847 + <marker date="1576229091614" expanded="false" signature="4690:4734" ph="..." />
  848 + <marker date="1576229091614" expanded="true" signature="4735:4816" ph="..." />
  849 + <marker date="1576229091614" expanded="false" signature="4766:4778" ph="..." />
  850 + <marker date="1576229091614" expanded="false" signature="4840:4884" ph="..." />
  851 + <marker date="1576229091614" expanded="true" signature="4885:4970" ph="..." />
  852 + <marker date="1576229091614" expanded="false" signature="4917:4929" ph="..." />
  853 + <marker date="1576229091614" expanded="false" signature="4994:5038" ph="..." />
  854 + <marker date="1576229091614" expanded="true" signature="5039:5121" ph="..." />
  855 + <marker date="1576229091614" expanded="false" signature="5073:5085" ph="..." />
  856 + <marker date="1576229091614" expanded="false" signature="5145:5189" ph="..." />
  857 + <marker date="1576229091614" expanded="true" signature="5190:5253" ph="..." />
  858 + <marker date="1576229091614" expanded="true" signature="5295:5759" ph="..." />
  859 + <marker date="1576229091614" expanded="false" signature="5323:5389" ph="..." />
  860 + <marker date="1576229091614" expanded="false" signature="5432:5477" ph="..." />
  861 + <marker date="1576229091614" expanded="true" signature="5478:5742" ph="..." />
  862 + <marker date="1576229091614" expanded="false" signature="5479:5485" ph=" " />
  863 + <marker date="1576229091614" expanded="false" signature="5485:5491" ph=" " />
  864 + <marker date="1576229091614" expanded="false" signature="5491:5497" ph=" " />
  865 + <marker date="1576229091614" expanded="false" signature="5497:5503" ph=" " />
  866 + <marker date="1576229091614" expanded="false" signature="5535:5544" ph="..." />
  867 + <marker date="1576229091614" expanded="false" signature="5587:5596" ph="..." />
  868 + <marker date="1576229091614" expanded="false" signature="5625:5634" ph="..." />
  869 + <marker date="1576229091614" expanded="false" signature="5659:5668" ph="..." />
  870 + <marker date="1576229091614" expanded="false" signature="5783:5801" ph="..." />
  871 + <marker date="1576229091614" expanded="true" signature="5802:6119" ph="..." />
  872 + <marker date="1576229091614" expanded="false" signature="5830:5896" ph="..." />
  873 + <marker date="1576229091614" expanded="false" signature="5935:5963" ph="..." />
  874 + <marker date="1576229091614" expanded="false" signature="5965:5971" ph=" " />
  875 + <marker date="1576229091614" expanded="false" signature="5971:5977" ph=" " />
  876 + <marker date="1576229091614" expanded="false" signature="5977:5983" ph=" " />
  877 + <marker date="1576229091614" expanded="false" signature="5983:5989" ph=" " />
  878 + <marker date="1576229091614" expanded="false" signature="6042:6051" ph="..." />
  879 + <marker date="1576229091614" expanded="false" signature="6143:6161" ph="..." />
  880 + <marker date="1576229091614" expanded="true" signature="6162:6568" ph="..." />
  881 + <marker date="1576229091614" expanded="false" signature="6190:6256" ph="..." />
  882 + <marker date="1576229091614" expanded="false" signature="6297:6342" ph="..." />
  883 + <marker date="1576229091614" expanded="true" signature="6343:6551" ph="..." />
  884 + <marker date="1576229091614" expanded="false" signature="6344:6350" ph=" " />
  885 + <marker date="1576229091614" expanded="false" signature="6350:6356" ph=" " />
  886 + <marker date="1576229091614" expanded="false" signature="6356:6362" ph=" " />
  887 + <marker date="1576229091614" expanded="false" signature="6362:6368" ph=" " />
  888 + <marker date="1576229091614" expanded="false" signature="6392:6398" ph=" " />
  889 + <marker date="1576229091614" expanded="false" signature="6401:6407" ph=" " />
  890 + <marker date="1576229091614" expanded="false" signature="6409:6415" ph=" " />
  891 + <marker date="1576229091614" expanded="false" signature="6466:6475" ph="..." />
  892 + <marker date="1576229091614" expanded="false" signature="6505:6514" ph="..." />
  893 + <marker date="1576229091614" expanded="false" signature="6592:6639" ph="..." />
  894 + <marker date="1576229091614" expanded="false" signature="6641:6647" ph=" " />
  895 + <marker date="1576229091614" expanded="false" signature="6647:6653" ph=" " />
  896 + <marker date="1576229091614" expanded="false" signature="6653:6659" ph=" " />
  897 + <marker date="1576229091614" expanded="false" signature="6659:6665" ph=" " />
  898 + <marker date="1576229091614" expanded="false" signature="6720:6729" ph="..." />
  899 + <marker date="1576229091614" expanded="false" signature="6848:6895" ph="..." />
  900 + <marker date="1576229091614" expanded="false" signature="6897:6903" ph=" " />
  901 + <marker date="1576229091614" expanded="false" signature="6903:6909" ph=" " />
  902 + <marker date="1576229091614" expanded="false" signature="6909:6915" ph=" " />
  903 + <marker date="1576229091614" expanded="false" signature="6915:6921" ph=" " />
  904 + <marker date="1576229091614" expanded="false" signature="6975:6984" ph="..." />
  905 + <marker date="1576229091614" expanded="false" signature="7058:7074" ph="..." />
  906 + <marker date="1576229091614" expanded="false" signature="7126:7173" ph="..." />
  907 + <marker date="1576229091614" expanded="false" signature="7175:7181" ph=" " />
  908 + <marker date="1576229091614" expanded="false" signature="7181:7187" ph=" " />
  909 + <marker date="1576229091614" expanded="false" signature="7187:7193" ph=" " />
  910 + <marker date="1576229091614" expanded="false" signature="7193:7199" ph=" " />
  911 + <marker date="1576229091614" expanded="false" signature="7226:7252" ph="..." />
  912 + <marker date="1576229091614" expanded="false" signature="7330:7348" ph="..." />
  913 + <marker date="1576229091614" expanded="true" signature="7349:7947" ph="..." />
  914 + <marker date="1576229091614" expanded="false" signature="7377:7443" ph="..." />
  915 + <marker date="1576229091614" expanded="false" signature="7482:7529" ph="..." />
  916 + <marker date="1576229091614" expanded="false" signature="7531:7537" ph=" " />
  917 + <marker date="1576229091614" expanded="false" signature="7537:7543" ph=" " />
  918 + <marker date="1576229091614" expanded="false" signature="7543:7549" ph=" " />
  919 + <marker date="1576229091614" expanded="false" signature="7549:7555" ph=" " />
  920 + <marker date="1576229091614" expanded="false" signature="7640:7687" ph="..." />
  921 + <marker date="1576229091614" expanded="false" signature="7689:7695" ph=" " />
  922 + <marker date="1576229091614" expanded="false" signature="7695:7701" ph=" " />
  923 + <marker date="1576229091614" expanded="false" signature="7701:7707" ph=" " />
  924 + <marker date="1576229091614" expanded="false" signature="7707:7713" ph=" " />
  925 + <marker date="1576229091614" expanded="false" signature="7814:7861" ph="..." />
  926 + <marker date="1576229091614" expanded="false" signature="7863:7869" ph=" " />
  927 + <marker date="1576229091614" expanded="false" signature="7869:7875" ph=" " />
  928 + <marker date="1576229091614" expanded="false" signature="7875:7881" ph=" " />
  929 + <marker date="1576229091614" expanded="false" signature="7881:7887" ph=" " />
  930 + <marker date="1576229091614" expanded="false" signature="7971:7989" ph="..." />
  931 + <marker date="1576229091614" expanded="true" signature="7990:9635" ph="..." />
  932 + <marker date="1576229091614" expanded="false" signature="8018:8084" ph="..." />
  933 + <marker date="1576229091614" expanded="false" signature="8123:8170" ph="..." />
  934 + <marker date="1576229091614" expanded="false" signature="8172:8178" ph=" " />
  935 + <marker date="1576229091614" expanded="false" signature="8178:8184" ph=" " />
  936 + <marker date="1576229091614" expanded="false" signature="8184:8190" ph=" " />
  937 + <marker date="1576229091614" expanded="false" signature="8190:8196" ph=" " />
  938 + <marker date="1576229091614" expanded="false" signature="8320:8367" ph="..." />
  939 + <marker date="1576229091614" expanded="false" signature="8369:8375" ph=" " />
  940 + <marker date="1576229091614" expanded="false" signature="8375:8381" ph=" " />
  941 + <marker date="1576229091614" expanded="false" signature="8381:8387" ph=" " />
  942 + <marker date="1576229091614" expanded="false" signature="8387:8393" ph=" " />
  943 + <marker date="1576229091614" expanded="false" signature="8545:8592" ph="..." />
  944 + <marker date="1576229091614" expanded="false" signature="8594:8600" ph=" " />
  945 + <marker date="1576229091614" expanded="false" signature="8600:8606" ph=" " />
  946 + <marker date="1576229091614" expanded="false" signature="8606:8612" ph=" " />
  947 + <marker date="1576229091614" expanded="false" signature="8612:8618" ph=" " />
  948 + <marker date="1576229091614" expanded="false" signature="8737:8784" ph="..." />
  949 + <marker date="1576229091614" expanded="false" signature="8786:8792" ph=" " />
  950 + <marker date="1576229091614" expanded="false" signature="8792:8798" ph=" " />
  951 + <marker date="1576229091614" expanded="false" signature="8798:8804" ph=" " />
  952 + <marker date="1576229091614" expanded="false" signature="8804:8810" ph=" " />
  953 + <marker date="1576229091614" expanded="false" signature="8894:8941" ph="..." />
  954 + <marker date="1576229091614" expanded="false" signature="8943:8949" ph=" " />
  955 + <marker date="1576229091614" expanded="false" signature="8949:8955" ph=" " />
  956 + <marker date="1576229091614" expanded="false" signature="8955:8961" ph=" " />
  957 + <marker date="1576229091614" expanded="false" signature="8961:8967" ph=" " />
  958 + <marker date="1576229091614" expanded="false" signature="9027:9074" ph="..." />
  959 + <marker date="1576229091614" expanded="false" signature="9076:9082" ph=" " />
  960 + <marker date="1576229091614" expanded="false" signature="9082:9088" ph=" " />
  961 + <marker date="1576229091614" expanded="false" signature="9088:9094" ph=" " />
  962 + <marker date="1576229091614" expanded="false" signature="9094:9100" ph=" " />
  963 + <marker date="1576229091614" expanded="false" signature="9284:9331" ph="..." />
  964 + <marker date="1576229091614" expanded="false" signature="9333:9339" ph=" " />
  965 + <marker date="1576229091614" expanded="false" signature="9339:9345" ph=" " />
  966 + <marker date="1576229091614" expanded="false" signature="9345:9351" ph=" " />
  967 + <marker date="1576229091614" expanded="false" signature="9351:9357" ph=" " />
  968 + <marker date="1576229091614" expanded="false" signature="9485:9532" ph="..." />
  969 + <marker date="1576229091614" expanded="false" signature="9534:9540" ph=" " />
  970 + <marker date="1576229091614" expanded="false" signature="9540:9546" ph=" " />
  971 + <marker date="1576229091614" expanded="false" signature="9546:9552" ph=" " />
  972 + <marker date="1576229091614" expanded="false" signature="9552:9558" ph=" " />
  973 + <marker date="1576229091614" expanded="false" signature="9659:9677" ph="..." />
  974 + <marker date="1576229091614" expanded="true" signature="9678:10178" ph="..." />
  975 + <marker date="1576229091614" expanded="false" signature="9706:9772" ph="..." />
  976 + <marker date="1576229091614" expanded="false" signature="9813:9860" ph="..." />
  977 + <marker date="1576229091614" expanded="false" signature="9862:9868" ph=" " />
  978 + <marker date="1576229091614" expanded="false" signature="9868:9874" ph=" " />
  979 + <marker date="1576229091614" expanded="false" signature="9874:9880" ph=" " />
  980 + <marker date="1576229091614" expanded="false" signature="9880:9886" ph=" " />
  981 + <marker date="1576229091614" expanded="false" signature="9998:10045" ph="..." />
  982 + <marker date="1576229091614" expanded="false" signature="10047:10053" ph=" " />
  983 + <marker date="1576229091614" expanded="false" signature="10053:10059" ph=" " />
  984 + <marker date="1576229091614" expanded="false" signature="10059:10065" ph=" " />
  985 + <marker date="1576229091614" expanded="false" signature="10065:10071" ph=" " />
  986 + <marker date="1576229091614" expanded="false" signature="10202:10220" ph="..." />
  987 + <marker date="1576229091614" expanded="true" signature="10221:11221" ph="..." />
  988 + <marker date="1576229091614" expanded="false" signature="10249:10315" ph="..." />
  989 + <marker date="1576229091614" expanded="false" signature="10354:10401" ph="..." />
  990 + <marker date="1576229091614" expanded="false" signature="10403:10409" ph=" " />
  991 + <marker date="1576229091614" expanded="false" signature="10409:10415" ph=" " />
  992 + <marker date="1576229091614" expanded="false" signature="10415:10421" ph=" " />
  993 + <marker date="1576229091614" expanded="false" signature="10421:10427" ph=" " />
  994 + <marker date="1576229091614" expanded="false" signature="10493:10540" ph="..." />
  995 + <marker date="1576229091614" expanded="false" signature="10542:10548" ph=" " />
  996 + <marker date="1576229091614" expanded="false" signature="10548:10554" ph=" " />
  997 + <marker date="1576229091614" expanded="false" signature="10554:10560" ph=" " />
  998 + <marker date="1576229091614" expanded="false" signature="10560:10566" ph=" " />
  999 + <marker date="1576229091614" expanded="false" signature="10623:10670" ph="..." />
  1000 + <marker date="1576229091614" expanded="false" signature="10672:10678" ph=" " />
  1001 + <marker date="1576229091614" expanded="false" signature="10678:10684" ph=" " />
  1002 + <marker date="1576229091614" expanded="false" signature="10684:10690" ph=" " />
  1003 + <marker date="1576229091614" expanded="false" signature="10690:10696" ph=" " />
  1004 + <marker date="1576229091614" expanded="false" signature="10774:10821" ph="..." />
  1005 + <marker date="1576229091614" expanded="false" signature="10823:10829" ph=" " />
  1006 + <marker date="1576229091614" expanded="false" signature="10829:10835" ph=" " />
  1007 + <marker date="1576229091614" expanded="false" signature="10835:10841" ph=" " />
  1008 + <marker date="1576229091614" expanded="false" signature="10841:10847" ph=" " />
  1009 + <marker date="1576229091614" expanded="false" signature="10940:10987" ph="..." />
  1010 + <marker date="1576229091614" expanded="false" signature="10989:10995" ph=" " />
  1011 + <marker date="1576229091614" expanded="false" signature="10995:11001" ph=" " />
  1012 + <marker date="1576229091614" expanded="false" signature="11001:11007" ph=" " />
  1013 + <marker date="1576229091614" expanded="false" signature="11007:11013" ph=" " />
  1014 + <marker date="1576229091614" expanded="false" signature="11087:11134" ph="..." />
  1015 + <marker date="1576229091614" expanded="false" signature="11136:11142" ph=" " />
  1016 + <marker date="1576229091614" expanded="false" signature="11142:11148" ph=" " />
  1017 + <marker date="1576229091614" expanded="false" signature="11148:11154" ph=" " />
  1018 + <marker date="1576229091614" expanded="false" signature="11154:11160" ph=" " />
  1019 + <marker date="1576229091614" expanded="false" signature="11245:11325" ph="..." />
  1020 + <marker date="1576229091614" expanded="false" signature="11386:11466" ph="..." />
  1021 + </folding>
  1022 + </state>
  1023 + </provider>
  1024 + </entry>
732 <entry file="file://$PROJECT_DIR$/application/admin/controller/Video.php"> 1025 <entry file="file://$PROJECT_DIR$/application/admin/controller/Video.php">
733 <provider selected="true" editor-type-id="text-editor"> 1026 <provider selected="true" editor-type-id="text-editor">
734 - <state relative-caret-position="533">  
735 - <caret line="160" column="37" lean-forward="false" selection-start-line="160" selection-start-column="37" selection-end-line="160" selection-end-column="37" /> 1027 + <state relative-caret-position="363">
  1028 + <caret line="184" column="12" lean-forward="false" selection-start-line="184" selection-start-column="12" selection-end-line="184" selection-end-column="12" />
736 <folding> 1029 <folding>
737 <element signature="e#700#2169#0#PHP" expanded="false" /> 1030 <element signature="e#700#2169#0#PHP" expanded="false" />
738 - <element signature="e#2201#5403#0#PHP" expanded="false" />  
739 - <element signature="e#5435#8735#0#PHP" expanded="false" /> 1031 + <element signature="e#2201#5830#0#PHP" expanded="false" />
  1032 + <element signature="e#9580#9824#0#PHP" expanded="false" />
  1033 + </folding>
  1034 + </state>
  1035 + </provider>
  1036 + </entry>
  1037 + <entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
  1038 + <provider selected="true" editor-type-id="text-editor">
  1039 + <state relative-caret-position="725">
  1040 + <caret line="147" column="0" lean-forward="true" selection-start-line="147" selection-start-column="0" selection-end-line="147" selection-end-column="0" />
  1041 + <folding>
  1042 + <element signature="e#544#1282#0#PHP" expanded="false" />
  1043 + <element signature="e#1287#2950#0#PHP" expanded="false" />
  1044 + <element signature="e#2956#3318#0#PHP" expanded="false" />
  1045 + <element signature="e#3323#3613#0#PHP" expanded="false" />
  1046 + <element signature="e#3619#3941#0#PHP" expanded="false" />
  1047 + <element signature="e#3946#4233#0#PHP" expanded="false" />
  1048 + <element signature="e#4240#4674#0#PHP" expanded="false" />
  1049 + <element signature="e#4679#5037#0#PHP" expanded="false" />
  1050 + <element signature="e#5043#5450#0#PHP" expanded="false" />
  1051 + <element signature="e#5455#5798#0#PHP" expanded="false" />
  1052 + <element signature="e#5804#6217#0#PHP" expanded="false" />
  1053 + <element signature="e#6222#6539#0#PHP" expanded="false" />
  1054 + <element signature="e#6545#7633#0#PHP" expanded="false" />
  1055 + <element signature="e#7638#8356#0#PHP" expanded="false" />
  1056 + <element signature="e#8362#9042#0#PHP" expanded="false" />
  1057 + <element signature="e#9047#9960#0#PHP" expanded="false" />
  1058 + <element signature="e#9966#10755#0#PHP" expanded="false" />
  1059 + <element signature="e#10760#12109#0#PHP" expanded="false" />
  1060 + <element signature="e#12115#12817#0#PHP" expanded="false" />
  1061 + <element signature="e#12822#14142#0#PHP" expanded="false" />
  1062 + <element signature="e#14148#14724#0#PHP" expanded="false" />
  1063 + <element signature="e#14729#15341#0#PHP" expanded="false" />
  1064 + <element signature="e#15347#16063#0#PHP" expanded="false" />
  1065 + <element signature="e#16068#18608#0#PHP" expanded="false" />
  1066 + <element signature="e#18614#19516#0#PHP" expanded="false" />
  1067 + <element signature="e#19521#22326#0#PHP" expanded="false" />
  1068 + <element signature="e#22332#22709#0#PHP" expanded="false" />
  1069 + <element signature="e#22714#23156#0#PHP" expanded="false" />
  1070 + <element signature="e#23159#23168#0#PHP" expanded="false" />
  1071 + <element signature="e#23928#24433#0#PHP" expanded="false" />
  1072 + <element signature="e#24438#24689#0#PHP" expanded="false" />
  1073 + <element signature="e#24695#25174#0#PHP" expanded="false" />
  1074 + <element signature="e#25179#25936#0#PHP" expanded="false" />
  1075 + <element signature="e#25942#26423#0#PHP" expanded="false" />
  1076 + <element signature="e#26428#27198#0#PHP" expanded="false" />
  1077 + <element signature="e#27204#27567#0#PHP" expanded="false" />
  1078 + <element signature="e#27572#27763#0#PHP" expanded="false" />
  1079 + <element signature="e#27769#28127#0#PHP" expanded="false" />
  1080 + <element signature="e#28132#28323#0#PHP" expanded="false" />
  1081 + <element signature="e#28329#29472#0#PHP" expanded="false" />
  1082 + <element signature="e#29477#32142#0#PHP" expanded="false" />
  1083 + <element signature="e#32148#32646#0#PHP" expanded="false" />
  1084 + <element signature="e#32651#34397#0#PHP" expanded="false" />
  1085 + <element signature="e#34403#34816#0#PHP" expanded="false" />
  1086 + <element signature="e#34821#35300#0#PHP" expanded="false" />
  1087 + <element signature="e#35306#35840#0#PHP" expanded="false" />
  1088 + <element signature="e#35845#37230#0#PHP" expanded="false" />
  1089 + <element signature="e#37236#37890#0#PHP" expanded="false" />
  1090 + <element signature="e#37895#39910#0#PHP" expanded="false" />
  1091 + <element signature="e#39916#40676#0#PHP" expanded="false" />
  1092 + <element signature="e#40681#43390#0#PHP" expanded="false" />
  1093 + <element signature="e#43416#44247#0#PHP" expanded="false" />
  1094 + <element signature="e#44253#44673#0#PHP" expanded="false" />
  1095 + <element signature="e#44678#45161#0#PHP" expanded="false" />
  1096 + <element signature="e#45167#45973#0#PHP" expanded="false" />
  1097 + <element signature="e#45978#49136#0#PHP" expanded="false" />
  1098 + <element signature="e#49151#50486#0#PHP" expanded="false" />
  1099 + <element signature="e#50502#51536#0#PHP" expanded="false" />
  1100 + <element signature="e#51542#52300#0#PHP" expanded="false" />
  1101 + <element signature="e#52305#56048#0#PHP" expanded="false" />
  1102 + <element signature="e#56054#56446#0#PHP" expanded="false" />
  1103 + <element signature="e#56451#57403#0#PHP" expanded="false" />
  1104 + <element signature="e#57427#58000#0#PHP" expanded="false" />
  1105 + <element signature="e#58006#58605#0#PHP" expanded="false" />
  1106 + <element signature="e#58610#59537#0#PHP" expanded="false" />
  1107 + <element signature="e#59543#60257#0#PHP" expanded="false" />
  1108 + <element signature="e#60263#60690#0#PHP" expanded="false" />
  1109 + <element signature="e#60695#61164#0#PHP" expanded="false" />
  1110 + <element signature="e#61171#62376#0#PHP" expanded="false" />
  1111 + <element signature="e#62381#64084#0#PHP" expanded="false" />
  1112 + <element signature="e#64090#64867#0#PHP" expanded="false" />
  1113 + <element signature="e#64872#68810#0#PHP" expanded="false" />
  1114 + <element signature="e#68816#69325#0#PHP" expanded="false" />
  1115 + <element signature="e#69330#70002#0#PHP" expanded="false" />
740 </folding> 1116 </folding>
741 </state> 1117 </state>
742 </provider> 1118 </provider>
@@ -84,6 +84,16 @@ class Video extends Backend @@ -84,6 +84,16 @@ class Video extends Backend
84 $params = $this->request->post("row/a"); 84 $params = $this->request->post("row/a");
85 if ($params) { 85 if ($params) {
86 $params = $this->preExcludeFields($params); 86 $params = $this->preExcludeFields($params);
  87 +
  88 + if(!empty($params['two_url'])){
  89 + $params['two_code'] = substr($params['two_url'],-4);
  90 + }
  91 + if(!empty($params['four_url'])){
  92 + $params['four_code'] = substr($params['four_url'],-4);
  93 + }
  94 + if(!empty($params['eight_url'])){
  95 + $params['eight_code'] = substr($params['eight_url'],-4);
  96 + }
87 $a = $params['one']; 97 $a = $params['one'];
88 if(!empty($params['two'])){ 98 if(!empty($params['two'])){
89 $a .= ','.$params['two']; 99 $a .= ','.$params['two'];
@@ -172,6 +182,18 @@ class Video extends Backend @@ -172,6 +182,18 @@ class Video extends Backend
172 } 182 }
173 if ($this->request->isPost()) { 183 if ($this->request->isPost()) {
174 $params = $this->request->post("row/a"); 184 $params = $this->request->post("row/a");
  185 +
  186 + //截取提取码
  187 + if(!empty($params['two_url'])){
  188 + $params['two_code'] = substr($params['two_url'],-4);
  189 + }
  190 + if(!empty($params['four_url'])){
  191 + $params['four_code'] = substr($params['four_url'],-4);
  192 + }
  193 + if(!empty($params['eight_url'])){
  194 + $params['eight_code'] = substr($params['eight_url'],-4);
  195 + }
  196 +
175 $a = $params['one']; 197 $a = $params['one'];
176 if(!empty($params['two'])){ 198 if(!empty($params['two'])){
177 $a .= ','.$params['two']; 199 $a .= ','.$params['two'];
@@ -81,36 +81,36 @@ @@ -81,36 +81,36 @@
81 <input id="c-two_url" class="form-control" name="row[two_url]" type="text" placeholder="请输入2k视频网址"> 81 <input id="c-two_url" class="form-control" name="row[two_url]" type="text" placeholder="请输入2k视频网址">
82 </div> 82 </div>
83 </div> 83 </div>
84 - <div class="form-group">  
85 - <label class="control-label col-xs-12 col-sm-2">{:__('Two_code')}:</label>  
86 - <div class="col-xs-12 col-sm-8">  
87 - <input id="c-two_code" class="form-control" name="row[two_code]" type="text" placeholder="请输入2k提取码">  
88 - </div>  
89 - </div> 84 + <!--<div class="form-group">-->
  85 + <!--<label class="control-label col-xs-12 col-sm-2">{:__('Two_code')}:</label>-->
  86 + <!--<div class="col-xs-12 col-sm-8">-->
  87 + <!--<input id="c-two_code" class="form-control" name="row[two_code]" type="text" placeholder="请输入2k提取码">-->
  88 + <!--</div>-->
  89 + <!--</div>-->
90 <div class="form-group"> 90 <div class="form-group">
91 <label class="control-label col-xs-12 col-sm-2">{:__('Four_url')}:</label> 91 <label class="control-label col-xs-12 col-sm-2">{:__('Four_url')}:</label>
92 <div class="col-xs-12 col-sm-8"> 92 <div class="col-xs-12 col-sm-8">
93 <input id="c-four_url" class="form-control" name="row[four_url]" type="text" placeholder="请输入4k视频网址"> 93 <input id="c-four_url" class="form-control" name="row[four_url]" type="text" placeholder="请输入4k视频网址">
94 </div> 94 </div>
95 </div> 95 </div>
96 - <div class="form-group">  
97 - <label class="control-label col-xs-12 col-sm-2">{:__('Four_code')}:</label>  
98 - <div class="col-xs-12 col-sm-8">  
99 - <input id="c-four_code" class="form-control" name="row[four_code]" type="text" placeholder="请输入4k提取码">  
100 - </div>  
101 - </div> 96 + <!--<div class="form-group">-->
  97 + <!--<label class="control-label col-xs-12 col-sm-2">{:__('Four_code')}:</label>-->
  98 + <!--<div class="col-xs-12 col-sm-8">-->
  99 + <!--<input id="c-four_code" class="form-control" name="row[four_code]" type="text" placeholder="请输入4k提取码">-->
  100 + <!--</div>-->
  101 + <!--</div>-->
102 <div class="form-group"> 102 <div class="form-group">
103 <label class="control-label col-xs-12 col-sm-2">{:__('Eight_url')}:</label> 103 <label class="control-label col-xs-12 col-sm-2">{:__('Eight_url')}:</label>
104 <div class="col-xs-12 col-sm-8"> 104 <div class="col-xs-12 col-sm-8">
105 <input id="c-eight_url" class="form-control" name="row[eight_url]" type="text" placeholder="请输入8k视频网址"> 105 <input id="c-eight_url" class="form-control" name="row[eight_url]" type="text" placeholder="请输入8k视频网址">
106 </div> 106 </div>
107 </div> 107 </div>
108 - <div class="form-group">  
109 - <label class="control-label col-xs-12 col-sm-2">{:__('Eight_code')}:</label>  
110 - <div class="col-xs-12 col-sm-8">  
111 - <input id="c-eight_code" class="form-control" name="row[eight_code]" type="text" placeholder="请输入8k提取码">  
112 - </div>  
113 - </div> 108 + <!--<div class="form-group">-->
  109 + <!--<label class="control-label col-xs-12 col-sm-2">{:__('Eight_code')}:</label>-->
  110 + <!--<div class="col-xs-12 col-sm-8">-->
  111 + <!--<input id="c-eight_code" class="form-control" name="row[eight_code]" type="text" placeholder="请输入8k提取码">-->
  112 + <!--</div>-->
  113 + <!--</div>-->
114 <!--<div class="form-group">--> 114 <!--<div class="form-group">-->
115 <!--<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>--> 115 <!--<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>-->
116 <!--<div class="col-xs-12 col-sm-8">--> 116 <!--<div class="col-xs-12 col-sm-8">-->
@@ -82,35 +82,17 @@ @@ -82,35 +82,17 @@
82 </div> 82 </div>
83 </div> 83 </div>
84 <div class="form-group"> 84 <div class="form-group">
85 - <label class="control-label col-xs-12 col-sm-2">{:__('Two_code')}:</label>  
86 - <div class="col-xs-12 col-sm-8">  
87 - <input id="c-two_code" class="form-control" name="row[two_code]" type="text" value="{$row.two_code|htmlentities}" placeholder="请输入2k提取码">  
88 - </div>  
89 - </div>  
90 - <div class="form-group">  
91 <label class="control-label col-xs-12 col-sm-2">{:__('Four_url')}:</label> 85 <label class="control-label col-xs-12 col-sm-2">{:__('Four_url')}:</label>
92 <div class="col-xs-12 col-sm-8"> 86 <div class="col-xs-12 col-sm-8">
93 <input id="c-four_url" class="form-control" name="row[four_url]" type="text" value="{$row.four_url|htmlentities}" placeholder="请输入4k云盘地址"> 87 <input id="c-four_url" class="form-control" name="row[four_url]" type="text" value="{$row.four_url|htmlentities}" placeholder="请输入4k云盘地址">
94 </div> 88 </div>
95 </div> 89 </div>
96 <div class="form-group"> 90 <div class="form-group">
97 - <label class="control-label col-xs-12 col-sm-2">{:__('Four_code')}:</label>  
98 - <div class="col-xs-12 col-sm-8">  
99 - <input id="c-four_code" class="form-control" name="row[four_code]" type="text" value="{$row.four_code|htmlentities}" placeholder="请输入4k提取码">  
100 - </div>  
101 - </div>  
102 - <div class="form-group">  
103 <label class="control-label col-xs-12 col-sm-2">{:__('Eight_url')}:</label> 91 <label class="control-label col-xs-12 col-sm-2">{:__('Eight_url')}:</label>
104 <div class="col-xs-12 col-sm-8"> 92 <div class="col-xs-12 col-sm-8">
105 <input id="c-eight_url" class="form-control" name="row[eight_url]" type="text" value="{$row.eight_url|htmlentities}" placeholder="请输入8k云盘地址"> 93 <input id="c-eight_url" class="form-control" name="row[eight_url]" type="text" value="{$row.eight_url|htmlentities}" placeholder="请输入8k云盘地址">
106 </div> 94 </div>
107 </div> 95 </div>
108 - <div class="form-group">  
109 - <label class="control-label col-xs-12 col-sm-2">{:__('Eight_code')}:</label>  
110 - <div class="col-xs-12 col-sm-8">  
111 - <input id="c-eight_code" class="form-control" name="row[eight_code]" type="text" value="{$row.eight_code|htmlentities}" placeholder="请输入8k提取码">  
112 - </div>  
113 - </div>  
114 <!--<div class="form-group">--> 96 <!--<div class="form-group">-->
115 <!--<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>--> 97 <!--<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>-->
116 <!--<div class="col-xs-12 col-sm-8">--> 98 <!--<div class="col-xs-12 col-sm-8">-->
@@ -615,12 +615,15 @@ class User extends Api @@ -615,12 +615,15 @@ class User extends Api
615 $this->error(['code'=>2,'msg'=>'缺少必要参数']); 615 $this->error(['code'=>2,'msg'=>'缺少必要参数']);
616 } 616 }
617 $data = Db::name('video') 617 $data = Db::name('video')
618 - ->field('share,id,click_num,title,thumbnail,video,price,four_price,eight_price,water_url,two_url,four_url,two_code,four_code,eight_code,eight_url,content') 618 + ->field('id,click_num,title,thumbnail,video,price,four_price,eight_price,water_url,two_url,four_url,two_code,four_code,eight_code,eight_url,content')
619 ->where('id',$pic_id) 619 ->where('id',$pic_id)
620 ->find(); 620 ->find();
621 if(empty($data)){ 621 if(empty($data)){
622 $this->error(['code'=>2,'msg'=>'参数错误']); 622 $this->error(['code'=>2,'msg'=>'参数错误']);
623 } 623 }
  624 + if(empty($data['eight_price'])){
  625 + $data['eight_price'] = 0;
  626 + }
624 $accredit = Db::name('accredit') 627 $accredit = Db::name('accredit')
625 ->where('id',1) 628 ->where('id',1)
626 ->find(); 629 ->find();
@@ -631,7 +634,6 @@ class User extends Api @@ -631,7 +634,6 @@ class User extends Api
631 $data['four_vipprice'] = $data['four_price']*0.75; 634 $data['four_vipprice'] = $data['four_price']*0.75;
632 $data['eight_vipprice'] = $data['eight_price']*0.75; 635 $data['eight_vipprice'] = $data['eight_price']*0.75;
633 $data['thumbnail'] = $rule.$data['thumbnail']; 636 $data['thumbnail'] = $rule.$data['thumbnail'];
634 - $data['share'] = $rule.$data['share'];  
635 $data['video'] = $rule.$data['video']; 637 $data['video'] = $rule.$data['video'];
636 $data['is_vip'] = 0; 638 $data['is_vip'] = 0;
637 $this->success('SUCCESS',$data); 639 $this->success('SUCCESS',$data);
@@ -641,7 +643,7 @@ class User extends Api @@ -641,7 +643,7 @@ class User extends Api
641 $this->error(['code'=>2,'msg'=>'缺少必要参数']); 643 $this->error(['code'=>2,'msg'=>'缺少必要参数']);
642 } 644 }
643 $data = Db::name('video') 645 $data = Db::name('video')
644 - ->field('share,id,click_num,title,thumbnail,video,price,four_price,eight_price,water_url,two_url,two_code,four_code,eight_code,four_url,eight_url,content') 646 + ->field('id,click_num,title,thumbnail,video,price,four_price,eight_price,water_url,two_url,two_code,four_code,eight_code,four_url,eight_url,content')
645 ->where('id',$pic_id) 647 ->where('id',$pic_id)
646 ->find(); 648 ->find();
647 if(empty($data)){ 649 if(empty($data)){
@@ -658,7 +660,6 @@ class User extends Api @@ -658,7 +660,6 @@ class User extends Api
658 $data['four_vipprice'] = $data['four_price']*0.75; 660 $data['four_vipprice'] = $data['four_price']*0.75;
659 $data['eight_vipprice'] = $data['eight_price']*0.75; 661 $data['eight_vipprice'] = $data['eight_price']*0.75;
660 $data['thumbnail'] = $rule.$data['thumbnail']; 662 $data['thumbnail'] = $rule.$data['thumbnail'];
661 - $data['share'] = $rule.$data['share'];  
662 $data['video'] = $rule.$data['video']; 663 $data['video'] = $rule.$data['video'];
663 $this->success('SUCCESS',$data); 664 $this->success('SUCCESS',$data);
664 } 665 }
@@ -5689,7 +5689,7 @@ @@ -5689,7 +5689,7 @@
5689 <td>type_id</td> 5689 <td>type_id</td>
5690 <td>inter</td> 5690 <td>inter</td>
5691 <td></td> 5691 <td></td>
5692 - <td>视频/图片 (视频为1 图片为2 精美大片为3</td> 5692 + <td>视频/图片(视频为1 图片为2</td>
5693 </tr> 5693 </tr>
5694 <tr> 5694 <tr>
5695 <td>keyword</td> 5695 <td>keyword</td>
@@ -5698,6 +5698,24 @@ @@ -5698,6 +5698,24 @@
5698 <td>关键字</td> 5698 <td>关键字</td>
5699 </tr> 5699 </tr>
5700 <tr> 5700 <tr>
  5701 + <td>address</td>
  5702 + <td>string</td>
  5703 + <td></td>
  5704 + <td>地名关键词数组</td>
  5705 + </tr>
  5706 + <tr>
  5707 + <td>text</td>
  5708 + <td>string</td>
  5709 + <td></td>
  5710 + <td>内容关键词数组</td>
  5711 + </tr>
  5712 + <tr>
  5713 + <td>price</td>
  5714 + <td>string</td>
  5715 + <td></td>
  5716 + <td>价格</td>
  5717 + </tr>
  5718 + <tr>
5701 <td>page</td> 5719 <td>page</td>
5702 <td>inter</td> 5720 <td>inter</td>
5703 <td></td> 5721 <td></td>
@@ -5740,13 +5758,25 @@ @@ -5740,13 +5758,25 @@
5740 <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/search" method="POST" name="form24" id="form24"> 5758 <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/search" method="POST" name="form24" id="form24">
5741 <div class="form-group"> 5759 <div class="form-group">
5742 <label class="control-label" for="type_id">type_id</label> 5760 <label class="control-label" for="type_id">type_id</label>
5743 - <input type="inter" class="form-control input-sm" id="type_id" placeholder="视频/图片 (视频为1 图片为2 精美大片为3)" name="type_id"> 5761 + <input type="inter" class="form-control input-sm" id="type_id" placeholder="视频/图片(视频为1 图片为2)" name="type_id">
5744 </div> 5762 </div>
5745 <div class="form-group"> 5763 <div class="form-group">
5746 <label class="control-label" for="keyword">keyword</label> 5764 <label class="control-label" for="keyword">keyword</label>
5747 <input type="string" class="form-control input-sm" id="keyword" required placeholder="关键字" name="keyword"> 5765 <input type="string" class="form-control input-sm" id="keyword" required placeholder="关键字" name="keyword">
5748 </div> 5766 </div>
5749 <div class="form-group"> 5767 <div class="form-group">
  5768 + <label class="control-label" for="address">address</label>
  5769 + <input type="string" class="form-control input-sm" id="address" required placeholder="地名关键词数组" name="address">
  5770 + </div>
  5771 + <div class="form-group">
  5772 + <label class="control-label" for="text">text</label>
  5773 + <input type="string" class="form-control input-sm" id="text" required placeholder="内容关键词数组" name="text">
  5774 + </div>
  5775 + <div class="form-group">
  5776 + <label class="control-label" for="price">price</label>
  5777 + <input type="string" class="form-control input-sm" id="price" required placeholder="价格" name="price">
  5778 + </div>
  5779 + <div class="form-group">
5750 <label class="control-label" for="page">page</label> 5780 <label class="control-label" for="page">page</label>
5751 <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page"> 5781 <input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page">
5752 </div> 5782 </div>
@@ -7573,7 +7603,7 @@ @@ -7573,7 +7603,7 @@
7573 7603
7574 <div class="row mt0 footer"> 7604 <div class="row mt0 footer">
7575 <div class="col-md-6" align="left"> 7605 <div class="col-md-6" align="left">
7576 - Generated on 2020-03-06 17:34:40 </div> 7606 + Generated on 2020-03-07 21:15:27 </div>
7577 <div class="col-md-6" align="right"> 7607 <div class="col-md-6" align="right">
7578 <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a> 7608 <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
7579 </div> 7609 </div>