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

去除token

@@ -3,7 +3,6 @@ @@ -3,7 +3,6 @@
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" /> 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/HomeController.php" afterPath="$PROJECT_DIR$/api/index/controller/HomeController.php" />  
7 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" afterPath="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" /> 6 <change type="MODIFICATION" beforePath="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" afterPath="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" />
8 </list> 7 </list>
9 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 8 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -26,11 +25,11 @@ @@ -26,11 +25,11 @@
26 </component> 25 </component>
27 <component name="FileEditorManager"> 26 <component name="FileEditorManager">
28 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> 27 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
29 - <file leaf-file-name="ShopgoodsController.php" pinned="false" current-in-tab="false"> 28 + <file leaf-file-name="ShopgoodsController.php" pinned="false" current-in-tab="true">
30 <entry file="file://$PROJECT_DIR$/api/index/controller/ShopgoodsController.php"> 29 <entry file="file://$PROJECT_DIR$/api/index/controller/ShopgoodsController.php">
31 <provider selected="true" editor-type-id="text-editor"> 30 <provider selected="true" editor-type-id="text-editor">
32 - <state relative-caret-position="155">  
33 - <caret line="184" column="7" lean-forward="true" selection-start-line="184" selection-start-column="7" selection-end-line="184" selection-end-column="7" /> 31 + <state relative-caret-position="406">
  32 + <caret line="185" column="29" lean-forward="false" selection-start-line="185" selection-start-column="29" selection-end-line="185" selection-end-column="29" />
34 <folding> 33 <folding>
35 <element signature="e#411#604#0#PHP" expanded="false" /> 34 <element signature="e#411#604#0#PHP" expanded="false" />
36 <element signature="e#609#825#0#PHP" expanded="false" /> 35 <element signature="e#609#825#0#PHP" expanded="false" />
@@ -43,37 +42,19 @@ @@ -43,37 +42,19 @@
43 <element signature="e#3572#4018#0#PHP" expanded="false" /> 42 <element signature="e#3572#4018#0#PHP" expanded="false" />
44 <element signature="e#4023#4547#0#PHP" expanded="false" /> 43 <element signature="e#4023#4547#0#PHP" expanded="false" />
45 <element signature="e#4553#5143#0#PHP" expanded="false" /> 44 <element signature="e#4553#5143#0#PHP" expanded="false" />
46 - <element signature="e#5148#6194#0#PHP" expanded="false" />  
47 - <element signature="e#6200#6518#0#PHP" expanded="false" />  
48 - <element signature="e#6523#6899#0#PHP" expanded="false" />  
49 - <element signature="e#6905#7260#0#PHP" expanded="false" />  
50 - <element signature="e#7265#7674#0#PHP" expanded="false" />  
51 - <element signature="e#7680#8065#0#PHP" expanded="false" />  
52 - <element signature="e#8070#8741#0#PHP" expanded="false" />  
53 - <element signature="e#8747#9193#0#PHP" expanded="false" />  
54 - <element signature="e#9198#10049#0#PHP" expanded="false" />  
55 - <element signature="e#10055#10325#0#PHP" expanded="false" />  
56 - <element signature="e#10330#10806#0#PHP" expanded="false" />  
57 - <element signature="e#10812#11442#0#PHP" expanded="false" />  
58 - <element signature="e#11447#13312#0#PHP" expanded="false" />  
59 - </folding>  
60 - </state>  
61 - </provider>  
62 - </entry>  
63 - </file>  
64 - <file leaf-file-name="HomeController.php" pinned="false" current-in-tab="true">  
65 - <entry file="file://$PROJECT_DIR$/api/index/controller/HomeController.php">  
66 - <provider selected="true" editor-type-id="text-editor">  
67 - <state relative-caret-position="130">  
68 - <caret line="102" column="6" lean-forward="false" selection-start-line="102" selection-start-column="6" selection-end-line="102" selection-end-column="6" />  
69 - <folding>  
70 - <element signature="e#3070#3598#0#PHP" expanded="false" />  
71 - <element signature="e#3603#4599#0#PHP" expanded="false" />  
72 - <element signature="e#4605#4918#0#PHP" expanded="false" />  
73 - <element signature="e#4923#5298#0#PHP" expanded="false" />  
74 - <element signature="e#5304#5656#0#PHP" expanded="false" />  
75 - <element signature="e#9195#9745#0#PHP" expanded="false" />  
76 - <element signature="e#9750#11543#0#PHP" expanded="false" /> 45 + <element signature="e#5148#6155#0#PHP" expanded="false" />
  46 + <element signature="e#6161#6479#0#PHP" expanded="false" />
  47 + <element signature="e#6484#6860#0#PHP" expanded="false" />
  48 + <element signature="e#6866#7221#0#PHP" expanded="false" />
  49 + <element signature="e#7226#7635#0#PHP" expanded="false" />
  50 + <element signature="e#7641#8026#0#PHP" expanded="false" />
  51 + <element signature="e#8031#8702#0#PHP" expanded="false" />
  52 + <element signature="e#8708#9154#0#PHP" expanded="false" />
  53 + <element signature="e#9159#10010#0#PHP" expanded="false" />
  54 + <element signature="e#10016#10286#0#PHP" expanded="false" />
  55 + <element signature="e#10291#10767#0#PHP" expanded="false" />
  56 + <element signature="e#10773#11403#0#PHP" expanded="false" />
  57 + <element signature="e#11408#13273#0#PHP" expanded="false" />
77 </folding> 58 </folding>
78 </state> 59 </state>
79 </provider> 60 </provider>
@@ -148,8 +129,8 @@ @@ -148,8 +129,8 @@
148 <option value="$PROJECT_DIR$/api/index/controller/OrderController.php" /> 129 <option value="$PROJECT_DIR$/api/index/controller/OrderController.php" />
149 <option value="$PROJECT_DIR$/api/index/controller/UserController.php" /> 130 <option value="$PROJECT_DIR$/api/index/controller/UserController.php" />
150 <option value="$PROJECT_DIR$/api/index/controller/SubscribeController.php" /> 131 <option value="$PROJECT_DIR$/api/index/controller/SubscribeController.php" />
151 - <option value="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" />  
152 <option value="$PROJECT_DIR$/api/index/controller/HomeController.php" /> 132 <option value="$PROJECT_DIR$/api/index/controller/HomeController.php" />
  133 + <option value="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" />
153 </list> 134 </list>
154 </option> 135 </option>
155 </component> 136 </component>
@@ -188,8 +169,6 @@ @@ -188,8 +169,6 @@
188 <foldersAlwaysOnTop value="true" /> 169 <foldersAlwaysOnTop value="true" />
189 </navigator> 170 </navigator>
190 <panes> 171 <panes>
191 - <pane id="Scratches" />  
192 - <pane id="Scope" />  
193 <pane id="ProjectPane"> 172 <pane id="ProjectPane">
194 <subPane> 173 <subPane>
195 <expand> 174 <expand>
@@ -245,6 +224,8 @@ @@ -245,6 +224,8 @@
245 <select /> 224 <select />
246 </subPane> 225 </subPane>
247 </pane> 226 </pane>
  227 + <pane id="Scope" />
  228 + <pane id="Scratches" />
248 </panes> 229 </panes>
249 </component> 230 </component>
250 <component name="PropertiesComponent"> 231 <component name="PropertiesComponent">
@@ -370,27 +351,28 @@ @@ -370,27 +351,28 @@
370 <workItem from="1576910540399" duration="190000" /> 351 <workItem from="1576910540399" duration="190000" />
371 <workItem from="1576910858540" duration="1077000" /> 352 <workItem from="1576910858540" duration="1077000" />
372 <workItem from="1576913187617" duration="921000" /> 353 <workItem from="1576913187617" duration="921000" />
373 - <workItem from="1577063593250" duration="62000" /> 354 + <workItem from="1577063593250" duration="115000" />
  355 + <workItem from="1577063832311" duration="26000" />
374 </task> 356 </task>
375 <servers /> 357 <servers />
376 </component> 358 </component>
377 <component name="TimeTrackingManager"> 359 <component name="TimeTrackingManager">
378 - <option name="totallyTimeSpent" value="582040000" /> 360 + <option name="totallyTimeSpent" value="582119000" />
379 </component> 361 </component>
380 <component name="ToolWindowManager"> 362 <component name="ToolWindowManager">
381 <frame x="283" y="56" width="1618" height="1092" extended-state="1" /> 363 <frame x="283" y="56" width="1618" height="1092" extended-state="1" />
382 <editor active="true" /> 364 <editor active="true" />
383 <layout> 365 <layout>
384 - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2169448" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 366 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2195122" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
385 <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" /> 367 <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" />
386 <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" /> 368 <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" />
387 <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" /> 369 <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" />
388 - <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="7" side_tool="false" content_ui="tabs" />  
389 <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="2" side_tool="false" content_ui="tabs" /> 370 <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="2" side_tool="false" content_ui="tabs" />
  371 + <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="7" side_tool="false" content_ui="tabs" />
390 <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="1" side_tool="false" content_ui="tabs" /> 372 <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="1" side_tool="false" content_ui="tabs" />
391 <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25086308" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 373 <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25086308" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
392 - <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="2" side_tool="true" content_ui="tabs" />  
393 <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="3" side_tool="false" content_ui="tabs" /> 374 <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="3" side_tool="false" content_ui="tabs" />
  375 + <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="2" side_tool="true" content_ui="tabs" />
394 <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="4" side_tool="false" content_ui="tabs" /> 376 <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="4" side_tool="false" content_ui="tabs" />
395 <window_info id="Message" 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="0" side_tool="false" content_ui="tabs" /> 377 <window_info id="Message" 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="0" side_tool="false" content_ui="tabs" />
396 <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 378 <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
@@ -881,10 +863,26 @@ @@ -881,10 +863,26 @@
881 </state> 863 </state>
882 </provider> 864 </provider>
883 </entry> 865 </entry>
  866 + <entry file="file://$PROJECT_DIR$/api/index/controller/HomeController.php">
  867 + <provider selected="true" editor-type-id="text-editor">
  868 + <state relative-caret-position="655">
  869 + <caret line="102" column="6" lean-forward="false" selection-start-line="102" selection-start-column="6" selection-end-line="102" selection-end-column="6" />
  870 + <folding>
  871 + <element signature="e#3070#3598#0#PHP" expanded="false" />
  872 + <element signature="e#3603#4599#0#PHP" expanded="false" />
  873 + <element signature="e#4605#4918#0#PHP" expanded="false" />
  874 + <element signature="e#4923#5298#0#PHP" expanded="false" />
  875 + <element signature="e#5304#5656#0#PHP" expanded="false" />
  876 + <element signature="e#9195#9745#0#PHP" expanded="false" />
  877 + <element signature="e#9750#11543#0#PHP" expanded="false" />
  878 + </folding>
  879 + </state>
  880 + </provider>
  881 + </entry>
884 <entry file="file://$PROJECT_DIR$/api/index/controller/ShopgoodsController.php"> 882 <entry file="file://$PROJECT_DIR$/api/index/controller/ShopgoodsController.php">
885 <provider selected="true" editor-type-id="text-editor"> 883 <provider selected="true" editor-type-id="text-editor">
886 - <state relative-caret-position="155">  
887 - <caret line="184" column="7" lean-forward="true" selection-start-line="184" selection-start-column="7" selection-end-line="184" selection-end-column="7" /> 884 + <state relative-caret-position="406">
  885 + <caret line="185" column="29" lean-forward="false" selection-start-line="185" selection-start-column="29" selection-end-line="185" selection-end-column="29" />
888 <folding> 886 <folding>
889 <element signature="e#411#604#0#PHP" expanded="false" /> 887 <element signature="e#411#604#0#PHP" expanded="false" />
890 <element signature="e#609#825#0#PHP" expanded="false" /> 888 <element signature="e#609#825#0#PHP" expanded="false" />
@@ -897,35 +895,19 @@ @@ -897,35 +895,19 @@
897 <element signature="e#3572#4018#0#PHP" expanded="false" /> 895 <element signature="e#3572#4018#0#PHP" expanded="false" />
898 <element signature="e#4023#4547#0#PHP" expanded="false" /> 896 <element signature="e#4023#4547#0#PHP" expanded="false" />
899 <element signature="e#4553#5143#0#PHP" expanded="false" /> 897 <element signature="e#4553#5143#0#PHP" expanded="false" />
900 - <element signature="e#5148#6194#0#PHP" expanded="false" />  
901 - <element signature="e#6200#6518#0#PHP" expanded="false" />  
902 - <element signature="e#6523#6899#0#PHP" expanded="false" />  
903 - <element signature="e#6905#7260#0#PHP" expanded="false" />  
904 - <element signature="e#7265#7674#0#PHP" expanded="false" />  
905 - <element signature="e#7680#8065#0#PHP" expanded="false" />  
906 - <element signature="e#8070#8741#0#PHP" expanded="false" />  
907 - <element signature="e#8747#9193#0#PHP" expanded="false" />  
908 - <element signature="e#9198#10049#0#PHP" expanded="false" />  
909 - <element signature="e#10055#10325#0#PHP" expanded="false" />  
910 - <element signature="e#10330#10806#0#PHP" expanded="false" />  
911 - <element signature="e#10812#11442#0#PHP" expanded="false" />  
912 - <element signature="e#11447#13312#0#PHP" expanded="false" />  
913 - </folding>  
914 - </state>  
915 - </provider>  
916 - </entry>  
917 - <entry file="file://$PROJECT_DIR$/api/index/controller/HomeController.php">  
918 - <provider selected="true" editor-type-id="text-editor">  
919 - <state relative-caret-position="130">  
920 - <caret line="102" column="6" lean-forward="false" selection-start-line="102" selection-start-column="6" selection-end-line="102" selection-end-column="6" />  
921 - <folding>  
922 - <element signature="e#3070#3598#0#PHP" expanded="false" />  
923 - <element signature="e#3603#4599#0#PHP" expanded="false" />  
924 - <element signature="e#4605#4918#0#PHP" expanded="false" />  
925 - <element signature="e#4923#5298#0#PHP" expanded="false" />  
926 - <element signature="e#5304#5656#0#PHP" expanded="false" />  
927 - <element signature="e#9195#9745#0#PHP" expanded="false" />  
928 - <element signature="e#9750#11543#0#PHP" expanded="false" /> 898 + <element signature="e#5148#6155#0#PHP" expanded="false" />
  899 + <element signature="e#6161#6479#0#PHP" expanded="false" />
  900 + <element signature="e#6484#6860#0#PHP" expanded="false" />
  901 + <element signature="e#6866#7221#0#PHP" expanded="false" />
  902 + <element signature="e#7226#7635#0#PHP" expanded="false" />
  903 + <element signature="e#7641#8026#0#PHP" expanded="false" />
  904 + <element signature="e#8031#8702#0#PHP" expanded="false" />
  905 + <element signature="e#8708#9154#0#PHP" expanded="false" />
  906 + <element signature="e#9159#10010#0#PHP" expanded="false" />
  907 + <element signature="e#10016#10286#0#PHP" expanded="false" />
  908 + <element signature="e#10291#10767#0#PHP" expanded="false" />
  909 + <element signature="e#10773#11403#0#PHP" expanded="false" />
  910 + <element signature="e#11408#13273#0#PHP" expanded="false" />
929 </folding> 911 </folding>
930 </state> 912 </state>
931 </provider> 913 </provider>
@@ -185,7 +185,6 @@ class ShopgoodsController extends RestBaseController @@ -185,7 +185,6 @@ class ShopgoodsController extends RestBaseController
185 */ 185 */
186 public function comment() 186 public function comment()
187 { 187 {
188 - $user_id = $this->getUserId();  
189 $goods_id = $this->request->param('shopgood_id',0,'intval'); 188 $goods_id = $this->request->param('shopgood_id',0,'intval');
190 if(empty($goods_id)){ 189 if(empty($goods_id)){
191 $this -> error(['code'=>40005,'msg'=>'缺少必要参数']); 190 $this -> error(['code'=>40005,'msg'=>'缺少必要参数']);