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

修改报错信息

@@ -2,8 +2,7 @@ @@ -2,8 +2,7 @@
2 <project version="4"> 2 <project version="4">
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 <list default="true" id="0011664b-87e9-41bd-9f37-18792fb15777" name="Default" comment=""> 4 <list default="true" id="0011664b-87e9-41bd-9f37-18792fb15777" name="Default" comment="">
5 - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />  
6 - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/api/index/controller/UserController.php" afterPath="$PROJECT_DIR$/api/index/controller/UserController.php" /> 5 + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/api/index/controller/SubscribeController.php" afterPath="$PROJECT_DIR$/api/index/controller/SubscribeController.php" />
7 </list> 6 </list>
8 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 7 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9 <option name="TRACKING_ENABLED" value="true" /> 8 <option name="TRACKING_ENABLED" value="true" />
@@ -25,11 +24,11 @@ @@ -25,11 +24,11 @@
25 </component> 24 </component>
26 <component name="FileEditorManager"> 25 <component name="FileEditorManager">
27 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> 26 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
28 - <file leaf-file-name="UserController.php" pinned="false" current-in-tab="true"> 27 + <file leaf-file-name="UserController.php" pinned="false" current-in-tab="false">
29 <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php"> 28 <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php">
30 <provider selected="true" editor-type-id="text-editor"> 29 <provider selected="true" editor-type-id="text-editor">
31 - <state relative-caret-position="25">  
32 - <caret line="344" column="29" lean-forward="false" selection-start-line="344" selection-start-column="29" selection-end-line="344" selection-end-column="29" /> 30 + <state relative-caret-position="332">
  31 + <caret line="419" column="16" lean-forward="true" selection-start-line="419" selection-start-column="16" selection-end-line="419" selection-end-column="16" />
33 <folding> 32 <folding>
34 <element signature="e#345#694#0#PHP" expanded="false" /> 33 <element signature="e#345#694#0#PHP" expanded="false" />
35 <element signature="e#699#1464#0#PHP" expanded="false" /> 34 <element signature="e#699#1464#0#PHP" expanded="false" />
@@ -49,6 +48,7 @@ @@ -49,6 +48,7 @@
49 <element signature="e#7845#8126#0#PHP" expanded="false" /> 48 <element signature="e#7845#8126#0#PHP" expanded="false" />
50 <element signature="e#8131#8523#0#PHP" expanded="false" /> 49 <element signature="e#8131#8523#0#PHP" expanded="false" />
51 <element signature="e#8529#9078#0#PHP" expanded="false" /> 50 <element signature="e#8529#9078#0#PHP" expanded="false" />
  51 + <element signature="e#9083#10282#0#PHP" expanded="false" />
52 <element signature="e#10288#10745#0#PHP" expanded="false" /> 52 <element signature="e#10288#10745#0#PHP" expanded="false" />
53 <element signature="e#10750#12013#0#PHP" expanded="false" /> 53 <element signature="e#10750#12013#0#PHP" expanded="false" />
54 <element signature="e#12036#12388#0#PHP" expanded="false" /> 54 <element signature="e#12036#12388#0#PHP" expanded="false" />
@@ -65,6 +65,25 @@ @@ -65,6 +65,25 @@
65 </provider> 65 </provider>
66 </entry> 66 </entry>
67 </file> 67 </file>
  68 + <file leaf-file-name="SubscribeController.php" pinned="false" current-in-tab="true">
  69 + <entry file="file://$PROJECT_DIR$/api/index/controller/SubscribeController.php">
  70 + <provider selected="true" editor-type-id="text-editor">
  71 + <state relative-caret-position="357">
  72 + <caret line="170" column="34" lean-forward="true" selection-start-line="170" selection-start-column="34" selection-end-line="170" selection-end-column="34" />
  73 + <folding>
  74 + <element signature="e#305#577#0#PHP" expanded="false" />
  75 + <element signature="e#583#854#0#PHP" expanded="false" />
  76 + <element signature="e#859#1113#0#PHP" expanded="false" />
  77 + <element signature="e#1119#1594#0#PHP" expanded="false" />
  78 + <element signature="e#1599#2490#0#PHP" expanded="false" />
  79 + <element signature="e#2497#2911#0#PHP" expanded="false" />
  80 + <element signature="e#2916#3386#0#PHP" expanded="false" />
  81 + <element signature="e#3393#3889#0#PHP" expanded="false" />
  82 + </folding>
  83 + </state>
  84 + </provider>
  85 + </entry>
  86 + </file>
68 </leaf> 87 </leaf>
69 </component> 88 </component>
70 <component name="FileTemplateManagerImpl"> 89 <component name="FileTemplateManagerImpl">
@@ -121,7 +140,6 @@ @@ -121,7 +140,6 @@
121 <option value="$PROJECT_DIR$/api/wxapp/controller/PublicController.php" /> 140 <option value="$PROJECT_DIR$/api/wxapp/controller/PublicController.php" />
122 <option value="$PROJECT_DIR$/api/index/controller/HomeController.php" /> 141 <option value="$PROJECT_DIR$/api/index/controller/HomeController.php" />
123 <option value="$PROJECT_DIR$/simplewind/cmf/controller/RestBaseController.php" /> 142 <option value="$PROJECT_DIR$/simplewind/cmf/controller/RestBaseController.php" />
124 - <option value="$PROJECT_DIR$/api/index/controller/SubscribeController.php" />  
125 <option value="$PROJECT_DIR$/app/user/controller/AdminIndexController.php" /> 143 <option value="$PROJECT_DIR$/app/user/controller/AdminIndexController.php" />
126 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/user/admin_index/index.html" /> 144 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/user/admin_index/index.html" />
127 <option value="$PROJECT_DIR$/app/admin/controller/UserController.php" /> 145 <option value="$PROJECT_DIR$/app/admin/controller/UserController.php" />
@@ -136,6 +154,7 @@ @@ -136,6 +154,7 @@
136 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/subhome/index.html" /> 154 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/subhome/index.html" />
137 <option value="$PROJECT_DIR$/public/themes/simpleboot3/index/index.html" /> 155 <option value="$PROJECT_DIR$/public/themes/simpleboot3/index/index.html" />
138 <option value="$PROJECT_DIR$/api/index/controller/UserController.php" /> 156 <option value="$PROJECT_DIR$/api/index/controller/UserController.php" />
  157 + <option value="$PROJECT_DIR$/api/index/controller/SubscribeController.php" />
139 </list> 158 </list>
140 </option> 159 </option>
141 </component> 160 </component>
@@ -154,7 +173,7 @@ @@ -154,7 +173,7 @@
154 </component> 173 </component>
155 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" /> 174 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
156 <component name="ProjectFrameBounds"> 175 <component name="ProjectFrameBounds">
157 - <option name="x" value="452" /> 176 + <option name="x" value="316" />
158 <option name="y" value="57" /> 177 <option name="y" value="57" />
159 <option name="width" value="1582" /> 178 <option name="width" value="1582" />
160 <option name="height" value="969" /> 179 <option name="height" value="969" />
@@ -174,8 +193,6 @@ @@ -174,8 +193,6 @@
174 <foldersAlwaysOnTop value="true" /> 193 <foldersAlwaysOnTop value="true" />
175 </navigator> 194 </navigator>
176 <panes> 195 <panes>
177 - <pane id="Scope" />  
178 - <pane id="Scratches" />  
179 <pane id="ProjectPane"> 196 <pane id="ProjectPane">
180 <subPane> 197 <subPane>
181 <expand> 198 <expand>
@@ -186,19 +203,19 @@ @@ -186,19 +203,19 @@
186 <path> 203 <path>
187 <item name="scrap" type="b2602c69:ProjectViewProjectNode" /> 204 <item name="scrap" type="b2602c69:ProjectViewProjectNode" />
188 <item name="scrap" type="2a2b976b:PhpTreeStructureProvider$1" /> 205 <item name="scrap" type="2a2b976b:PhpTreeStructureProvider$1" />
189 - <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" /> 206 + <item name="app" type="2a2b976b:PhpTreeStructureProvider$1" />
190 </path> 207 </path>
191 <path> 208 <path>
192 <item name="scrap" type="b2602c69:ProjectViewProjectNode" /> 209 <item name="scrap" type="b2602c69:ProjectViewProjectNode" />
193 <item name="scrap" type="2a2b976b:PhpTreeStructureProvider$1" /> 210 <item name="scrap" type="2a2b976b:PhpTreeStructureProvider$1" />
194 - <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />  
195 - <item name="index" type="2a2b976b:PhpTreeStructureProvider$1" /> 211 + <item name="app" type="2a2b976b:PhpTreeStructureProvider$1" />
  212 + <item name="admin" type="2a2b976b:PhpTreeStructureProvider$1" />
196 </path> 213 </path>
197 <path> 214 <path>
198 <item name="scrap" type="b2602c69:ProjectViewProjectNode" /> 215 <item name="scrap" type="b2602c69:ProjectViewProjectNode" />
199 <item name="scrap" type="2a2b976b:PhpTreeStructureProvider$1" /> 216 <item name="scrap" type="2a2b976b:PhpTreeStructureProvider$1" />
200 - <item name="api" type="2a2b976b:PhpTreeStructureProvider$1" />  
201 - <item name="index" type="2a2b976b:PhpTreeStructureProvider$1" /> 217 + <item name="app" type="2a2b976b:PhpTreeStructureProvider$1" />
  218 + <item name="admin" type="2a2b976b:PhpTreeStructureProvider$1" />
202 <item name="controller" type="2a2b976b:PhpTreeStructureProvider$1" /> 219 <item name="controller" type="2a2b976b:PhpTreeStructureProvider$1" />
203 </path> 220 </path>
204 <path> 221 <path>
@@ -240,6 +257,8 @@ @@ -240,6 +257,8 @@
240 <select /> 257 <select />
241 </subPane> 258 </subPane>
242 </pane> 259 </pane>
  260 + <pane id="Scope" />
  261 + <pane id="Scratches" />
243 </panes> 262 </panes>
244 </component> 263 </component>
245 <component name="PropertiesComponent"> 264 <component name="PropertiesComponent">
@@ -331,18 +350,18 @@ @@ -331,18 +350,18 @@
331 <workItem from="1574986868818" duration="22318000" /> 350 <workItem from="1574986868818" duration="22318000" />
332 <workItem from="1575016153150" duration="3315000" /> 351 <workItem from="1575016153150" duration="3315000" />
333 <workItem from="1575246616478" duration="21722000" /> 352 <workItem from="1575246616478" duration="21722000" />
334 - <workItem from="1575278769037" duration="12000" /> 353 + <workItem from="1575278769037" duration="233000" />
335 </task> 354 </task>
336 <servers /> 355 <servers />
337 </component> 356 </component>
338 <component name="TimeTrackingManager"> 357 <component name="TimeTrackingManager">
339 - <option name="totallyTimeSpent" value="403075000" /> 358 + <option name="totallyTimeSpent" value="403296000" />
340 </component> 359 </component>
341 <component name="ToolWindowManager"> 360 <component name="ToolWindowManager">
342 - <frame x="452" y="57" width="1582" height="969" extended-state="0" /> 361 + <frame x="316" y="57" width="1582" height="969" extended-state="0" />
343 <editor active="true" /> 362 <editor active="true" />
344 <layout> 363 <layout>
345 - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.19250986" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 364 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19250986" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
346 <window_info id="TODO" 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="6" side_tool="false" content_ui="tabs" /> 365 <window_info id="TODO" 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="6" side_tool="false" content_ui="tabs" />
347 <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.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> 366 <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.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
348 <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32982457" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 367 <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32982457" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@@ -393,13 +412,6 @@ @@ -393,13 +412,6 @@
393 <watches-manager /> 412 <watches-manager />
394 </component> 413 </component>
395 <component name="editorHistoryManager"> 414 <component name="editorHistoryManager">
396 - <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/pic/index.html">  
397 - <provider selected="true" editor-type-id="text-editor">  
398 - <state relative-caret-position="450">  
399 - <caret line="42" column="24" lean-forward="false" selection-start-line="42" selection-start-column="24" selection-end-line="42" selection-end-column="24" />  
400 - </state>  
401 - </provider>  
402 - </entry>  
403 <entry file="file://$PROJECT_DIR$/app/admin/controller/PicController.php"> 415 <entry file="file://$PROJECT_DIR$/app/admin/controller/PicController.php">
404 <provider selected="true" editor-type-id="text-editor"> 416 <provider selected="true" editor-type-id="text-editor">
405 <state relative-caret-position="107"> 417 <state relative-caret-position="107">
@@ -586,6 +598,7 @@ @@ -586,6 +598,7 @@
586 <provider selected="true" editor-type-id="text-editor"> 598 <provider selected="true" editor-type-id="text-editor">
587 <state relative-caret-position="0"> 599 <state relative-caret-position="0">
588 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> 600 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  601 + <folding />
589 </state> 602 </state>
590 </provider> 603 </provider>
591 </entry> 604 </entry>
@@ -614,6 +627,16 @@ @@ -614,6 +627,16 @@
614 <provider selected="true" editor-type-id="text-editor"> 627 <provider selected="true" editor-type-id="text-editor">
615 <state relative-caret-position="180"> 628 <state relative-caret-position="180">
616 <caret line="17" column="27" lean-forward="false" selection-start-line="17" selection-start-column="27" selection-end-line="17" selection-end-column="27" /> 629 <caret line="17" column="27" lean-forward="false" selection-start-line="17" selection-start-column="27" selection-end-line="17" selection-end-column="27" />
  630 + <folding>
  631 + <element signature="e#264#877#0#PHP" expanded="false" />
  632 + <element signature="e#891#1678#0#PHP" expanded="false" />
  633 + <element signature="e#1692#2973#0#PHP" expanded="false" />
  634 + <element signature="e#2987#3712#0#PHP" expanded="false" />
  635 + <element signature="e#3731#4694#0#PHP" expanded="false" />
  636 + <element signature="e#4711#5355#0#PHP" expanded="false" />
  637 + <element signature="e#5372#6399#0#PHP" expanded="false" />
  638 + <element signature="e#6416#7236#0#PHP" expanded="false" />
  639 + </folding>
617 </state> 640 </state>
618 </provider> 641 </provider>
619 </entry> 642 </entry>
@@ -666,13 +689,6 @@ @@ -666,13 +689,6 @@
666 </state> 689 </state>
667 </provider> 690 </provider>
668 </entry> 691 </entry>
669 - <entry file="file://$PROJECT_DIR$/api/index/controller/SubscribeController.php">  
670 - <provider selected="true" editor-type-id="text-editor">  
671 - <state relative-caret-position="538">  
672 - <caret line="170" column="43" lean-forward="true" selection-start-line="170" selection-start-column="43" selection-end-line="170" selection-end-column="43" />  
673 - </state>  
674 - </provider>  
675 - </entry>  
676 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/subscribe/index.html"> 692 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/subscribe/index.html">
677 <provider selected="true" editor-type-id="text-editor"> 693 <provider selected="true" editor-type-id="text-editor">
678 <state relative-caret-position="150"> 694 <state relative-caret-position="150">
@@ -698,6 +714,7 @@ @@ -698,6 +714,7 @@
698 <provider selected="true" editor-type-id="text-editor"> 714 <provider selected="true" editor-type-id="text-editor">
699 <state relative-caret-position="0"> 715 <state relative-caret-position="0">
700 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> 716 <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  717 + <folding />
701 </state> 718 </state>
702 </provider> 719 </provider>
703 </entry> 720 </entry>
@@ -733,14 +750,15 @@ @@ -733,14 +750,15 @@
733 <provider selected="true" editor-type-id="text-editor"> 750 <provider selected="true" editor-type-id="text-editor">
734 <state relative-caret-position="375"> 751 <state relative-caret-position="375">
735 <caret line="23" column="33" lean-forward="true" selection-start-line="23" selection-start-column="33" selection-end-line="23" selection-end-column="33" /> 752 <caret line="23" column="33" lean-forward="true" selection-start-line="23" selection-start-column="33" selection-end-line="23" selection-end-column="33" />
  753 + <folding />
736 </state> 754 </state>
737 </provider> 755 </provider>
738 </entry> 756 </entry>
739 <entry file="file://$PROJECT_DIR$/public/themes/simpleboot3/index/index.html" /> 757 <entry file="file://$PROJECT_DIR$/public/themes/simpleboot3/index/index.html" />
740 <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php"> 758 <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php">
741 <provider selected="true" editor-type-id="text-editor"> 759 <provider selected="true" editor-type-id="text-editor">
742 - <state relative-caret-position="25">  
743 - <caret line="344" column="29" lean-forward="false" selection-start-line="344" selection-start-column="29" selection-end-line="344" selection-end-column="29" /> 760 + <state relative-caret-position="332">
  761 + <caret line="419" column="16" lean-forward="true" selection-start-line="419" selection-start-column="16" selection-end-line="419" selection-end-column="16" />
744 <folding> 762 <folding>
745 <element signature="e#345#694#0#PHP" expanded="false" /> 763 <element signature="e#345#694#0#PHP" expanded="false" />
746 <element signature="e#699#1464#0#PHP" expanded="false" /> 764 <element signature="e#699#1464#0#PHP" expanded="false" />
@@ -760,6 +778,7 @@ @@ -760,6 +778,7 @@
760 <element signature="e#7845#8126#0#PHP" expanded="false" /> 778 <element signature="e#7845#8126#0#PHP" expanded="false" />
761 <element signature="e#8131#8523#0#PHP" expanded="false" /> 779 <element signature="e#8131#8523#0#PHP" expanded="false" />
762 <element signature="e#8529#9078#0#PHP" expanded="false" /> 780 <element signature="e#8529#9078#0#PHP" expanded="false" />
  781 + <element signature="e#9083#10282#0#PHP" expanded="false" />
763 <element signature="e#10288#10745#0#PHP" expanded="false" /> 782 <element signature="e#10288#10745#0#PHP" expanded="false" />
764 <element signature="e#10750#12013#0#PHP" expanded="false" /> 783 <element signature="e#10750#12013#0#PHP" expanded="false" />
765 <element signature="e#12036#12388#0#PHP" expanded="false" /> 784 <element signature="e#12036#12388#0#PHP" expanded="false" />
@@ -775,5 +794,30 @@ @@ -775,5 +794,30 @@
775 </state> 794 </state>
776 </provider> 795 </provider>
777 </entry> 796 </entry>
  797 + <entry file="file://$PROJECT_DIR$/app/admin/controller/AttrController.php">
  798 + <provider selected="true" editor-type-id="text-editor">
  799 + <state relative-caret-position="200">
  800 + <caret line="51" column="12" lean-forward="false" selection-start-line="51" selection-start-column="12" selection-end-line="54" selection-end-column="15" />
  801 + <folding />
  802 + </state>
  803 + </provider>
  804 + </entry>
  805 + <entry file="file://$PROJECT_DIR$/api/index/controller/SubscribeController.php">
  806 + <provider selected="true" editor-type-id="text-editor">
  807 + <state relative-caret-position="357">
  808 + <caret line="170" column="34" lean-forward="true" selection-start-line="170" selection-start-column="34" selection-end-line="170" selection-end-column="34" />
  809 + <folding>
  810 + <element signature="e#305#577#0#PHP" expanded="false" />
  811 + <element signature="e#583#854#0#PHP" expanded="false" />
  812 + <element signature="e#859#1113#0#PHP" expanded="false" />
  813 + <element signature="e#1119#1594#0#PHP" expanded="false" />
  814 + <element signature="e#1599#2490#0#PHP" expanded="false" />
  815 + <element signature="e#2497#2911#0#PHP" expanded="false" />
  816 + <element signature="e#2916#3386#0#PHP" expanded="false" />
  817 + <element signature="e#3393#3889#0#PHP" expanded="false" />
  818 + </folding>
  819 + </state>
  820 + </provider>
  821 + </entry>
778 </component> 822 </component>
779 </project> 823 </project>
@@ -165,6 +165,13 @@ class SubscribeController extends RestBaseController @@ -165,6 +165,13 @@ class SubscribeController extends RestBaseController
165 'sub_time'=>'require', 165 'sub_time'=>'require',
166 'content'=>'require' 166 'content'=>'require'
167 ]); 167 ]);
  168 + $validate->message([
  169 + 'recycle_id'=>'上门回收地址不能为空',
  170 + 'image'=>'图片不能为空',
  171 + 'attr_id'=>'回收商品不能为空',
  172 + 'sub_time'=>'预约时间不能为空',
  173 + 'content'=>'留言备注不能为空'
  174 + ]);
168 if (!$validate->check($param)) { 175 if (!$validate->check($param)) {
169 $this->error(['code'=>40005,'msg'=>$validate->getError()]); 176 $this->error(['code'=>40005,'msg'=>$validate->getError()]);
170 } 177 }