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

修改图片后台管理逻辑

... ... @@ -5,11 +5,11 @@
</component>
<component name="ChangeListManager">
<list default="true" id="e93f11c2-a7d9-4d35-8b1c-8dd18e7f5fef" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/controller/Pic.php" afterPath="$PROJECT_DIR$/application/admin/controller/Pic.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/lang/zh-cn/pic.php" afterPath="$PROJECT_DIR$/application/admin/lang/zh-cn/pic.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/view/pic/add.html" afterPath="$PROJECT_DIR$/application/admin/view/pic/add.html" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/admin/view/pic/edit.html" afterPath="$PROJECT_DIR$/application/admin/view/pic/edit.html" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/public/assets/js/backend/pic.js" afterPath="$PROJECT_DIR$/public/assets/js/backend/pic.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/application/api/controller/User.php" afterPath="$PROJECT_DIR$/application/api/controller/User.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/public/api.html" afterPath="$PROJECT_DIR$/public/api.html" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
... ... @@ -20,22 +20,92 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="add.html" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/application/admin/view/pic/add.html">
<file leaf-file-name="User.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="87" column="14" lean-forward="true" selection-start-line="87" selection-start-column="14" selection-end-line="87" selection-end-column="14" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="edit.html" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/admin/view/pic/edit.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="95" column="35" lean-forward="true" selection-start-line="95" selection-start-column="35" selection-end-line="95" selection-end-column="35" />
<folding />
<state relative-caret-position="-183">
<caret line="364" column="25" lean-forward="true" selection-start-line="364" selection-start-column="25" selection-end-line="364" selection-end-column="25" />
<folding>
<element signature="e#535#1273#0#PHP" expanded="false" />
<element signature="e#1278#2941#0#PHP" expanded="false" />
<element signature="e#2947#3309#0#PHP" expanded="false" />
<element signature="e#3314#3604#0#PHP" expanded="false" />
<element signature="e#3610#3932#0#PHP" expanded="false" />
<element signature="e#3937#4224#0#PHP" expanded="false" />
<element signature="e#4231#4665#0#PHP" expanded="false" />
<element signature="e#4670#5028#0#PHP" expanded="false" />
<element signature="e#5034#5441#0#PHP" expanded="false" />
<element signature="e#5446#5789#0#PHP" expanded="false" />
<element signature="e#5795#6208#0#PHP" expanded="false" />
<element signature="e#6213#6530#0#PHP" expanded="false" />
<element signature="e#6536#7634#0#PHP" expanded="false" />
<element signature="e#7639#10426#0#PHP" expanded="false" />
<element signature="e#8426#8733#0#PHP" expanded="false" />
<element signature="e#8796#9078#0#PHP" expanded="false" />
<element signature="e#9142#9412#0#PHP" expanded="false" />
<element signature="e#10432#11112#0#PHP" expanded="false" />
<element signature="e#11981#12770#0#PHP" expanded="false" />
<element signature="e#12775#14124#0#PHP" expanded="false" />
<element signature="e#14130#14832#0#PHP" expanded="false" />
<element signature="e#14837#16157#0#PHP" expanded="false" />
<element signature="e#16163#16739#0#PHP" expanded="false" />
<element signature="e#16744#17356#0#PHP" expanded="false" />
<element signature="e#17362#18078#0#PHP" expanded="false" />
<element signature="e#18083#21577#0#PHP" expanded="false" />
<element signature="e#21583#22513#0#PHP" expanded="false" />
<element signature="e#22518#26568#0#PHP" expanded="false" />
<element signature="e#26574#26951#0#PHP" expanded="false" />
<element signature="e#26956#27395#0#PHP" expanded="false" />
<element signature="e#27401#28136#0#PHP" expanded="false" />
<element signature="e#28141#29813#0#PHP" expanded="false" />
<element signature="e#29819#30324#0#PHP" expanded="false" />
<element signature="e#30329#30580#0#PHP" expanded="false" />
<element signature="e#30586#31065#0#PHP" expanded="false" />
<element signature="e#31070#31827#0#PHP" expanded="false" />
<element signature="e#31833#32314#0#PHP" expanded="false" />
<element signature="e#32319#33089#0#PHP" expanded="false" />
<element signature="e#33095#33458#0#PHP" expanded="false" />
<element signature="e#33463#33654#0#PHP" expanded="false" />
<element signature="e#33660#34018#0#PHP" expanded="false" />
<element signature="e#34023#34214#0#PHP" expanded="false" />
<element signature="e#34220#35363#0#PHP" expanded="false" />
<element signature="e#35368#38033#0#PHP" expanded="false" />
<element signature="e#38039#38537#0#PHP" expanded="false" />
<element signature="e#38542#40288#0#PHP" expanded="false" />
<element signature="e#40294#40707#0#PHP" expanded="false" />
<element signature="e#40712#41191#0#PHP" expanded="false" />
<element signature="e#41197#41731#0#PHP" expanded="false" />
<element signature="e#41736#43121#0#PHP" expanded="false" />
<element signature="e#43127#43781#0#PHP" expanded="false" />
<element signature="e#43786#45801#0#PHP" expanded="false" />
<element signature="e#45807#46567#0#PHP" expanded="false" />
<element signature="e#46572#49281#0#PHP" expanded="false" />
<element signature="e#49307#50138#0#PHP" expanded="false" />
<element signature="e#50144#50564#0#PHP" expanded="false" />
<element signature="e#50569#51052#0#PHP" expanded="false" />
<element signature="e#51058#51864#0#PHP" expanded="false" />
<element signature="e#51869#55027#0#PHP" expanded="false" />
<element signature="e#53662#55021#0#PHP" expanded="false" />
<element signature="e#55042#56377#0#PHP" expanded="false" />
<element signature="e#55158#55560#0#PHP" expanded="false" />
<element signature="e#56393#57427#0#PHP" expanded="false" />
<element signature="e#57433#58191#0#PHP" expanded="false" />
<element signature="e#58196#61939#0#PHP" expanded="false" />
<element signature="e#61945#62337#0#PHP" expanded="false" />
<element signature="e#62342#63294#0#PHP" expanded="false" />
<element signature="e#63318#63891#0#PHP" expanded="false" />
<element signature="e#63897#64496#0#PHP" expanded="false" />
<element signature="e#64501#65428#0#PHP" expanded="false" />
<element signature="e#65434#66148#0#PHP" expanded="false" />
<element signature="e#66154#66581#0#PHP" expanded="false" />
<element signature="e#66586#67055#0#PHP" expanded="false" />
<element signature="e#67062#68267#0#PHP" expanded="false" />
<element signature="e#68272#69975#0#PHP" expanded="false" />
<element signature="e#69981#70758#0#PHP" expanded="false" />
<element signature="e#70763#74701#0#PHP" expanded="false" />
<element signature="e#74707#75216#0#PHP" expanded="false" />
<element signature="e#75221#75893#0#PHP" expanded="false" />
</folding>
</state>
</provider>
</entry>
... ... @@ -118,12 +188,12 @@
<option value="$PROJECT_DIR$/application/admin/view/video/add.html" />
<option value="$PROJECT_DIR$/application/api/controller/a.php" />
<option value="$PROJECT_DIR$/application/api/controller/Pay.php" />
<option value="$PROJECT_DIR$/application/api/controller/User.php" />
<option value="$PROJECT_DIR$/public/assets/js/backend/pic.js" />
<option value="$PROJECT_DIR$/application/admin/controller/Pic.php" />
<option value="$PROJECT_DIR$/application/admin/lang/zh-cn/pic.php" />
<option value="$PROJECT_DIR$/application/admin/view/pic/add.html" />
<option value="$PROJECT_DIR$/application/admin/view/pic/edit.html" />
<option value="$PROJECT_DIR$/application/admin/view/pic/add.html" />
<option value="$PROJECT_DIR$/application/api/controller/User.php" />
</list>
</option>
</component>
... ... @@ -142,8 +212,8 @@
</component>
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
<component name="ProjectFrameBounds" extendedState="1">
<option name="x" value="168" />
<option name="y" value="77" />
<option name="x" value="141" />
<option name="y" value="101" />
<option name="width" value="1652" />
<option name="height" value="917" />
</component>
... ... @@ -197,6 +267,19 @@
<item name="view" type="2a2b976b:PhpTreeStructureProvider$1" />
<item name="pic" type="2a2b976b:PhpTreeStructureProvider$1" />
</path>
<path>
<item name="areial" type="b2602c69:ProjectViewProjectNode" />
<item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" />
<item name="application" type="2a2b976b:PhpTreeStructureProvider$1" />
<item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
</path>
<path>
<item name="areial" type="b2602c69:ProjectViewProjectNode" />
<item name="areial" type="2a2b976b:PhpTreeStructureProvider$1" />
<item name="application" type="2a2b976b:PhpTreeStructureProvider$1" />
<item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />
<item name="controller" type="2a2b976b:PhpTreeStructureProvider$1" />
</path>
</expand>
<select />
</subPane>
... ... @@ -340,7 +423,7 @@
<workItem from="1583799928944" duration="18981000" />
<workItem from="1583826020973" duration="10927000" />
<workItem from="1583848752159" duration="3638000" />
<workItem from="1583886688361" duration="13699000" />
<workItem from="1583886688361" duration="14571000" />
</task>
<task id="LOCAL-00001" summary="调试">
<created>1574145133364</created>
... ... @@ -367,7 +450,7 @@
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="610838000" />
<option name="totallyTimeSpent" value="611710000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
... ... @@ -379,7 +462,7 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="168" y="77" width="1652" height="917" extended-state="1" />
<frame x="141" y="101" width="1652" height="917" extended-state="1" />
<editor active="true" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.16520101" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
... ... @@ -759,94 +842,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="544">
<caret line="285" column="0" lean-forward="false" selection-start-line="285" selection-start-column="0" selection-end-line="285" selection-end-column="0" />
<folding>
<element signature="e#535#1273#0#PHP" expanded="false" />
<element signature="e#1278#2941#0#PHP" expanded="false" />
<element signature="e#2947#3309#0#PHP" expanded="false" />
<element signature="e#3314#3604#0#PHP" expanded="false" />
<element signature="e#3610#3932#0#PHP" expanded="false" />
<element signature="e#3937#4224#0#PHP" expanded="false" />
<element signature="e#4231#4665#0#PHP" expanded="false" />
<element signature="e#4670#5028#0#PHP" expanded="false" />
<element signature="e#5034#5441#0#PHP" expanded="false" />
<element signature="e#5446#5789#0#PHP" expanded="false" />
<element signature="e#5795#6208#0#PHP" expanded="false" />
<element signature="e#6213#6530#0#PHP" expanded="false" />
<element signature="e#6536#7634#0#PHP" expanded="false" />
<element signature="e#8426#8733#0#PHP" expanded="false" />
<element signature="e#8796#9078#0#PHP" expanded="false" />
<element signature="e#9142#9412#0#PHP" expanded="false" />
<element signature="e#10432#11112#0#PHP" expanded="false" />
<element signature="e#11117#11975#0#PHP" expanded="false" />
<element signature="e#11981#12770#0#PHP" expanded="false" />
<element signature="e#12775#14124#0#PHP" expanded="false" />
<element signature="e#14130#14832#0#PHP" expanded="false" />
<element signature="e#14837#16157#0#PHP" expanded="false" />
<element signature="e#16163#16739#0#PHP" expanded="false" />
<element signature="e#16744#17356#0#PHP" expanded="false" />
<element signature="e#17362#18078#0#PHP" expanded="false" />
<element signature="e#18083#21715#0#PHP" expanded="false" />
<element signature="e#21721#22651#0#PHP" expanded="false" />
<element signature="e#22656#26706#0#PHP" expanded="false" />
<element signature="e#26712#27089#0#PHP" expanded="false" />
<element signature="e#27094#27533#0#PHP" expanded="false" />
<element signature="e#27539#28274#0#PHP" expanded="false" />
<element signature="e#28279#29951#0#PHP" expanded="false" />
<element signature="e#29957#30462#0#PHP" expanded="false" />
<element signature="e#30467#30718#0#PHP" expanded="false" />
<element signature="e#30724#31203#0#PHP" expanded="false" />
<element signature="e#31208#31965#0#PHP" expanded="false" />
<element signature="e#31971#32452#0#PHP" expanded="false" />
<element signature="e#32457#33227#0#PHP" expanded="false" />
<element signature="e#33233#33596#0#PHP" expanded="false" />
<element signature="e#33601#33792#0#PHP" expanded="false" />
<element signature="e#33798#34156#0#PHP" expanded="false" />
<element signature="e#34161#34352#0#PHP" expanded="false" />
<element signature="e#34358#35501#0#PHP" expanded="false" />
<element signature="e#35506#38171#0#PHP" expanded="false" />
<element signature="e#38177#38675#0#PHP" expanded="false" />
<element signature="e#38680#40426#0#PHP" expanded="false" />
<element signature="e#40432#40845#0#PHP" expanded="false" />
<element signature="e#40850#41329#0#PHP" expanded="false" />
<element signature="e#41335#41869#0#PHP" expanded="false" />
<element signature="e#41874#43259#0#PHP" expanded="false" />
<element signature="e#43265#43919#0#PHP" expanded="false" />
<element signature="e#43924#45939#0#PHP" expanded="false" />
<element signature="e#45945#46705#0#PHP" expanded="false" />
<element signature="e#46710#49419#0#PHP" expanded="false" />
<element signature="e#49445#50276#0#PHP" expanded="false" />
<element signature="e#50282#50702#0#PHP" expanded="false" />
<element signature="e#50707#51190#0#PHP" expanded="false" />
<element signature="e#51196#52002#0#PHP" expanded="false" />
<element signature="e#52007#55165#0#PHP" expanded="false" />
<element signature="e#53800#55159#0#PHP" expanded="false" />
<element signature="e#55180#56515#0#PHP" expanded="false" />
<element signature="e#55296#55698#0#PHP" expanded="false" />
<element signature="e#56531#57565#0#PHP" expanded="false" />
<element signature="e#57571#58329#0#PHP" expanded="false" />
<element signature="e#58334#62077#0#PHP" expanded="false" />
<element signature="e#62083#62475#0#PHP" expanded="false" />
<element signature="e#62480#63432#0#PHP" expanded="false" />
<element signature="e#63456#64029#0#PHP" expanded="false" />
<element signature="e#64035#64634#0#PHP" expanded="false" />
<element signature="e#64639#65566#0#PHP" expanded="false" />
<element signature="e#65572#66286#0#PHP" expanded="false" />
<element signature="e#66292#66719#0#PHP" expanded="false" />
<element signature="e#66724#67193#0#PHP" expanded="false" />
<element signature="e#67200#68405#0#PHP" expanded="false" />
<element signature="e#68410#70113#0#PHP" expanded="false" />
<element signature="e#70119#70896#0#PHP" expanded="false" />
<element signature="e#70901#74839#0#PHP" expanded="false" />
<element signature="e#74845#75354#0#PHP" expanded="false" />
<element signature="e#75359#76031#0#PHP" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/assets/js/backend/pic.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="525">
... ... @@ -905,21 +900,109 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/admin/view/pic/add.html">
<entry file="file://$PROJECT_DIR$/application/admin/view/pic/edit.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="87" column="14" lean-forward="true" selection-start-line="87" selection-start-column="14" selection-end-line="87" selection-end-column="14" />
<state relative-caret-position="255">
<caret line="89" column="4" lean-forward="false" selection-start-line="89" selection-start-column="8" selection-end-line="94" selection-end-column="14" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/admin/view/pic/edit.html">
<entry file="file://$PROJECT_DIR$/application/admin/view/pic/add.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="95" column="35" lean-forward="true" selection-start-line="95" selection-start-column="35" selection-end-line="95" selection-end-column="35" />
<state relative-caret-position="250">
<caret line="88" column="10" lean-forward="true" selection-start-line="88" selection-start-column="10" selection-end-line="88" selection-end-column="10" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/api/controller/User.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-183">
<caret line="364" column="25" lean-forward="true" selection-start-line="364" selection-start-column="25" selection-end-line="364" selection-end-column="25" />
<folding>
<element signature="e#535#1273#0#PHP" expanded="false" />
<element signature="e#1278#2941#0#PHP" expanded="false" />
<element signature="e#2947#3309#0#PHP" expanded="false" />
<element signature="e#3314#3604#0#PHP" expanded="false" />
<element signature="e#3610#3932#0#PHP" expanded="false" />
<element signature="e#3937#4224#0#PHP" expanded="false" />
<element signature="e#4231#4665#0#PHP" expanded="false" />
<element signature="e#4670#5028#0#PHP" expanded="false" />
<element signature="e#5034#5441#0#PHP" expanded="false" />
<element signature="e#5446#5789#0#PHP" expanded="false" />
<element signature="e#5795#6208#0#PHP" expanded="false" />
<element signature="e#6213#6530#0#PHP" expanded="false" />
<element signature="e#6536#7634#0#PHP" expanded="false" />
<element signature="e#7639#10426#0#PHP" expanded="false" />
<element signature="e#8426#8733#0#PHP" expanded="false" />
<element signature="e#8796#9078#0#PHP" expanded="false" />
<element signature="e#9142#9412#0#PHP" expanded="false" />
<element signature="e#10432#11112#0#PHP" expanded="false" />
<element signature="e#11981#12770#0#PHP" expanded="false" />
<element signature="e#12775#14124#0#PHP" expanded="false" />
<element signature="e#14130#14832#0#PHP" expanded="false" />
<element signature="e#14837#16157#0#PHP" expanded="false" />
<element signature="e#16163#16739#0#PHP" expanded="false" />
<element signature="e#16744#17356#0#PHP" expanded="false" />
<element signature="e#17362#18078#0#PHP" expanded="false" />
<element signature="e#18083#21577#0#PHP" expanded="false" />
<element signature="e#21583#22513#0#PHP" expanded="false" />
<element signature="e#22518#26568#0#PHP" expanded="false" />
<element signature="e#26574#26951#0#PHP" expanded="false" />
<element signature="e#26956#27395#0#PHP" expanded="false" />
<element signature="e#27401#28136#0#PHP" expanded="false" />
<element signature="e#28141#29813#0#PHP" expanded="false" />
<element signature="e#29819#30324#0#PHP" expanded="false" />
<element signature="e#30329#30580#0#PHP" expanded="false" />
<element signature="e#30586#31065#0#PHP" expanded="false" />
<element signature="e#31070#31827#0#PHP" expanded="false" />
<element signature="e#31833#32314#0#PHP" expanded="false" />
<element signature="e#32319#33089#0#PHP" expanded="false" />
<element signature="e#33095#33458#0#PHP" expanded="false" />
<element signature="e#33463#33654#0#PHP" expanded="false" />
<element signature="e#33660#34018#0#PHP" expanded="false" />
<element signature="e#34023#34214#0#PHP" expanded="false" />
<element signature="e#34220#35363#0#PHP" expanded="false" />
<element signature="e#35368#38033#0#PHP" expanded="false" />
<element signature="e#38039#38537#0#PHP" expanded="false" />
<element signature="e#38542#40288#0#PHP" expanded="false" />
<element signature="e#40294#40707#0#PHP" expanded="false" />
<element signature="e#40712#41191#0#PHP" expanded="false" />
<element signature="e#41197#41731#0#PHP" expanded="false" />
<element signature="e#41736#43121#0#PHP" expanded="false" />
<element signature="e#43127#43781#0#PHP" expanded="false" />
<element signature="e#43786#45801#0#PHP" expanded="false" />
<element signature="e#45807#46567#0#PHP" expanded="false" />
<element signature="e#46572#49281#0#PHP" expanded="false" />
<element signature="e#49307#50138#0#PHP" expanded="false" />
<element signature="e#50144#50564#0#PHP" expanded="false" />
<element signature="e#50569#51052#0#PHP" expanded="false" />
<element signature="e#51058#51864#0#PHP" expanded="false" />
<element signature="e#51869#55027#0#PHP" expanded="false" />
<element signature="e#53662#55021#0#PHP" expanded="false" />
<element signature="e#55042#56377#0#PHP" expanded="false" />
<element signature="e#55158#55560#0#PHP" expanded="false" />
<element signature="e#56393#57427#0#PHP" expanded="false" />
<element signature="e#57433#58191#0#PHP" expanded="false" />
<element signature="e#58196#61939#0#PHP" expanded="false" />
<element signature="e#61945#62337#0#PHP" expanded="false" />
<element signature="e#62342#63294#0#PHP" expanded="false" />
<element signature="e#63318#63891#0#PHP" expanded="false" />
<element signature="e#63897#64496#0#PHP" expanded="false" />
<element signature="e#64501#65428#0#PHP" expanded="false" />
<element signature="e#65434#66148#0#PHP" expanded="false" />
<element signature="e#66154#66581#0#PHP" expanded="false" />
<element signature="e#66586#67055#0#PHP" expanded="false" />
<element signature="e#67062#68267#0#PHP" expanded="false" />
<element signature="e#68272#69975#0#PHP" expanded="false" />
<element signature="e#69981#70758#0#PHP" expanded="false" />
<element signature="e#70763#74701#0#PHP" expanded="false" />
<element signature="e#74707#75216#0#PHP" expanded="false" />
<element signature="e#75221#75893#0#PHP" expanded="false" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
... ...
... ... @@ -87,12 +87,12 @@
{:build_radios('row[price]', ['800'=>__('800'), '1500'=>__('1200'),'3000'=>__('3000')])}
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
<div class="col-xs-12 col-sm-8">
<textarea id="c-content" data-rule="required" class="form-control editor" rows="5" name="row[content]" cols="50"></textarea>
</div>
</div>
<!--<div class="form-group">-->
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>-->
<!--<div class="col-xs-12 col-sm-8">-->
<!--<textarea id="c-content" data-rule="required" class="form-control editor" rows="5" name="row[content]" cols="50"></textarea>-->
<!--</div>-->
<!--</div>-->
<!--<div class="form-group">-->
<!--<label class="control-label col-xs-12 col-sm-2">{:__('图片介绍')}:</label>-->
<!--<div class="col-xs-12 col-sm-8">-->
... ...
... ... @@ -87,12 +87,12 @@
{:build_radios('row[price]', ['800'=>__('800'), '1500'=>__('1500'),'3000'=>__('3000元')],$row['price'])}
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
<div class="col-xs-12 col-sm-8">
<textarea id="c-content" data-rule="required" class="form-control editor" name="row[content]" placeholder="请输入图片介绍">{$row.content}</textarea>
</div>
</div>
<!--<div class="form-group">-->
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>-->
<!--<div class="col-xs-12 col-sm-8">-->
<!--<textarea id="c-content" data-rule="required" class="form-control editor" name="row[content]" placeholder="请输入图片介绍">{$row.content}</textarea>-->
<!--</div>-->
<!--</div>-->
<!--<div class="form-group">-->
<!--<label class="control-label col-xs-12 col-sm-2">{:__('图片介绍')}:</label>-->
<!--<div class="col-xs-12 col-sm-8">-->
... ...
... ... @@ -583,7 +583,7 @@ class User extends Api
->where('id',1)
->find();
$data = Db::name('pic')
->field('text_ids,address_ids,id,keyword,title,thumbnail,price,water_url,url,code,content,click_num')
->field('text_ids,address_ids,id,keyword,title,thumbnail,price,water_url,url,code,click_num')
->where('id',$pic_id)
->find();
$keyword = str_replace(' ',',',$data['keyword']);
... ... @@ -609,7 +609,6 @@ class User extends Api
$data['water_url'] = $rule.$data['water_url'];
$data['vip_price'] = $data['price'] * 0.75;
$data['thumbnail'] = $rule.$data['thumbnail'];
$data['content'] = strip_tags($data['content']);
$data['is_vip'] = 0;
$this->success('SUCCESS',$data);
}elseif($res['is_vip'] == 1){
... ... @@ -618,7 +617,7 @@ class User extends Api
$this->error(['code'=>2,'msg'=>'缺少必要参数']);
}
$data = Db::name('pic')
->field('text_ids,address_ids,keyword,id,title,thumbnail,price,water_url,url,code,content,click_num')
->field('text_ids,address_ids,keyword,id,title,thumbnail,price,water_url,url,code,click_num')
->where('id',$pic_id)
->find();
$keyword = str_replace(' ',',',$data['keyword']);
... ... @@ -648,7 +647,6 @@ class User extends Api
$data['water_url'] = $rule.$data['water_url'];
$data['vip_price'] = $data['price'] * 0.75;
$data['thumbnail'] = $rule.$data['thumbnail'];
$data['content'] = strip_tags($data['content']);
$this->success('SUCCESS',$data);
}
}
... ...
... ... @@ -7530,7 +7530,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2020-03-11 12:15:22 </div>
Generated on 2020-03-11 14:18:12 </div>
<div class="col-md-6" align="right">
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
</div>
... ...