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

修改积分明细

@@ -2,7 +2,7 @@ @@ -2,7 +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$/api/index/controller/UserController.php" afterPath="$PROJECT_DIR$/api/index/controller/UserController.php" /> 5 + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/api/index/controller/OrderController.php" afterPath="$PROJECT_DIR$/api/index/controller/OrderController.php" />
6 </list> 6 </list>
7 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 7 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8 <option name="TRACKING_ENABLED" value="true" /> 8 <option name="TRACKING_ENABLED" value="true" />
@@ -24,77 +24,21 @@ @@ -24,77 +24,21 @@
24 </component> 24 </component>
25 <component name="FileEditorManager"> 25 <component name="FileEditorManager">
26 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> 26 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
27 - <file leaf-file-name="UserController.php" pinned="false" current-in-tab="true">  
28 - <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php"> 27 + <file leaf-file-name="OrderController.php" pinned="false" current-in-tab="true">
  28 + <entry file="file://$PROJECT_DIR$/api/index/controller/OrderController.php">
29 <provider selected="true" editor-type-id="text-editor"> 29 <provider selected="true" editor-type-id="text-editor">
30 - <state relative-caret-position="500">  
31 - <caret line="1027" column="43" lean-forward="true" selection-start-line="1027" selection-start-column="43" selection-end-line="1027" selection-end-column="43" /> 30 + <state relative-caret-position="509">
  31 + <caret line="204" column="34" lean-forward="true" selection-start-line="204" selection-start-column="34" selection-end-line="204" selection-end-column="34" />
32 <folding> 32 <folding>
33 - <element signature="e#366#791#0#PHP" expanded="false" />  
34 - <element signature="e#796#1608#0#PHP" expanded="false" />  
35 - <element signature="e#1614#1872#0#PHP" expanded="false" />  
36 - <element signature="e#1877#2260#0#PHP" expanded="false" />  
37 - <element signature="e#2266#2495#0#PHP" expanded="false" />  
38 - <element signature="e#2500#4135#0#PHP" expanded="false" />  
39 - <element signature="e#4141#4381#0#PHP" expanded="false" />  
40 - <element signature="e#4386#4621#0#PHP" expanded="false" />  
41 - <element signature="e#4627#4974#0#PHP" expanded="false" />  
42 - <element signature="e#4979#5425#0#PHP" expanded="false" />  
43 - <element signature="e#5431#5691#0#PHP" expanded="false" />  
44 - <element signature="e#5696#5897#0#PHP" expanded="false" />  
45 - <element signature="e#5903#6165#0#PHP" expanded="false" />  
46 - <element signature="e#6170#6375#0#PHP" expanded="false" />  
47 - <element signature="e#6381#6860#0#PHP" expanded="false" />  
48 - <element signature="e#6865#9088#0#PHP" expanded="false" />  
49 - <element signature="e#9111#9642#0#PHP" expanded="false" />  
50 - <element signature="e#9648#9928#0#PHP" expanded="false" />  
51 - <element signature="e#9933#10325#0#PHP" expanded="false" />  
52 - <element signature="e#10331#10615#0#PHP" expanded="false" />  
53 - <element signature="e#10620#11565#0#PHP" expanded="false" />  
54 - <element signature="e#11571#11859#0#PHP" expanded="false" />  
55 - <element signature="e#11864#12803#0#PHP" expanded="false" />  
56 - <element signature="e#12809#13390#0#PHP" expanded="false" />  
57 - <element signature="e#13395#14945#0#PHP" expanded="false" />  
58 - <element signature="e#14951#15407#0#PHP" expanded="false" />  
59 - <element signature="e#15412#17480#0#PHP" expanded="false" />  
60 - <element signature="e#17503#17858#0#PHP" expanded="false" />  
61 - <element signature="e#17864#18605#0#PHP" expanded="false" />  
62 - <element signature="e#18610#20063#0#PHP" expanded="false" />  
63 - <element signature="e#20069#20530#0#PHP" expanded="false" />  
64 - <element signature="e#20535#23662#0#PHP" expanded="false" />  
65 - <element signature="e#23668#24277#0#PHP" expanded="false" />  
66 - <element signature="e#24282#25567#0#PHP" expanded="false" />  
67 - <element signature="e#25573#25930#0#PHP" expanded="false" />  
68 - <element signature="e#25935#26918#0#PHP" expanded="false" />  
69 - <element signature="e#26924#27276#0#PHP" expanded="false" />  
70 - <element signature="e#27281#28390#0#PHP" expanded="false" />  
71 - <element signature="e#28396#28751#0#PHP" expanded="false" />  
72 - <element signature="e#28756#30183#0#PHP" expanded="false" />  
73 - <element signature="e#30189#30613#0#PHP" expanded="false" />  
74 - <element signature="e#30618#31229#0#PHP" expanded="false" />  
75 - <element signature="e#31235#31731#0#PHP" expanded="false" />  
76 - <element signature="e#32548#33675#0#PHP" expanded="false" />  
77 - <element signature="e#35400#35684#0#PHP" expanded="false" />  
78 - <element signature="e#35689#36325#0#PHP" expanded="false" />  
79 - <element signature="e#36346#36665#0#PHP" expanded="false" />  
80 - <element signature="e#36671#37079#0#PHP" expanded="false" />  
81 - <element signature="e#37085#37844#0#PHP" expanded="false" />  
82 - <element signature="e#37863#38727#0#PHP" expanded="false" />  
83 - <element signature="e#38753#39153#0#PHP" expanded="false" />  
84 - <element signature="e#39176#39749#0#PHP" expanded="false" />  
85 - <element signature="e#39772#40582#0#PHP" expanded="false" />  
86 - <element signature="e#40588#41187#0#PHP" expanded="false" />  
87 - <element signature="e#41192#42156#0#PHP" expanded="false" />  
88 - <element signature="e#42162#42829#0#PHP" expanded="false" />  
89 - <element signature="e#42834#43875#0#PHP" expanded="false" />  
90 - <element signature="e#43881#44544#0#PHP" expanded="false" />  
91 - <element signature="e#44549#45576#0#PHP" expanded="false" />  
92 - <element signature="e#45583#46014#0#PHP" expanded="false" />  
93 - <element signature="e#46019#46597#0#PHP" expanded="false" />  
94 - <element signature="e#46603#47032#0#PHP" expanded="false" />  
95 - <element signature="e#47037#47639#0#PHP" expanded="false" />  
96 - <element signature="e#47645#48072#0#PHP" expanded="false" />  
97 - <element signature="e#48077#48643#0#PHP" expanded="false" /> 33 + <element signature="e#336#608#0#PHP" expanded="false" />
  34 + <element signature="e#614#976#0#PHP" expanded="false" />
  35 + <element signature="e#981#2020#0#PHP" expanded="false" />
  36 + <element signature="e#2026#2263#0#PHP" expanded="false" />
  37 + <element signature="e#2268#3049#0#PHP" expanded="false" />
  38 + <element signature="e#3055#3364#0#PHP" expanded="false" />
  39 + <element signature="e#3369#5259#0#PHP" expanded="false" />
  40 + <element signature="e#5267#5746#0#PHP" expanded="false" />
  41 + <element signature="e#6355#6608#0#PHP" expanded="false" />
98 </folding> 42 </folding>
99 </state> 43 </state>
100 </provider> 44 </provider>
@@ -161,7 +105,6 @@ @@ -161,7 +105,6 @@
161 <option value="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" /> 105 <option value="$PROJECT_DIR$/api/index/controller/ShopgoodsController.php" />
162 <option value="$PROJECT_DIR$/app/admin/controller/PointController.php" /> 106 <option value="$PROJECT_DIR$/app/admin/controller/PointController.php" />
163 <option value="$PROJECT_DIR$/app/admin/controller/ShoporderController.php" /> 107 <option value="$PROJECT_DIR$/app/admin/controller/ShoporderController.php" />
164 - <option value="$PROJECT_DIR$/api/index/controller/OrderController.php" />  
165 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/project/addlist.html" /> 108 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/project/addlist.html" />
166 <option value="$PROJECT_DIR$/app/admin/controller/ProjectController.php" /> 109 <option value="$PROJECT_DIR$/app/admin/controller/ProjectController.php" />
167 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/project/detail.html" /> 110 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/project/detail.html" />
@@ -171,6 +114,7 @@ @@ -171,6 +114,7 @@
171 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/user/admin_index/jifendetail.html" /> 114 <option value="$PROJECT_DIR$/public/themes/admin_simpleboot3/user/admin_index/jifendetail.html" />
172 <option value="$PROJECT_DIR$/api/index/controller/SubscribeController.php" /> 115 <option value="$PROJECT_DIR$/api/index/controller/SubscribeController.php" />
173 <option value="$PROJECT_DIR$/api/index/controller/UserController.php" /> 116 <option value="$PROJECT_DIR$/api/index/controller/UserController.php" />
  117 + <option value="$PROJECT_DIR$/api/index/controller/OrderController.php" />
174 </list> 118 </list>
175 </option> 119 </option>
176 </component> 120 </component>
@@ -189,8 +133,8 @@ @@ -189,8 +133,8 @@
189 </component> 133 </component>
190 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" /> 134 <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
191 <component name="ProjectFrameBounds" extendedState="1"> 135 <component name="ProjectFrameBounds" extendedState="1">
192 - <option name="x" value="6" />  
193 - <option name="y" value="76" /> 136 + <option name="x" value="108" />
  137 + <option name="y" value="79" />
194 <option name="width" value="1618" /> 138 <option name="width" value="1618" />
195 <option name="height" value="1096" /> 139 <option name="height" value="1096" />
196 </component> 140 </component>
@@ -357,15 +301,15 @@ @@ -357,15 +301,15 @@
357 <workItem from="1576298110450" duration="8414000" /> 301 <workItem from="1576298110450" duration="8414000" />
358 <workItem from="1576455946584" duration="1141000" /> 302 <workItem from="1576455946584" duration="1141000" />
359 <workItem from="1576459063836" duration="389000" /> 303 <workItem from="1576459063836" duration="389000" />
360 - <workItem from="1576463908857" duration="1619000" /> 304 + <workItem from="1576463908857" duration="1749000" />
361 </task> 305 </task>
362 <servers /> 306 <servers />
363 </component> 307 </component>
364 <component name="TimeTrackingManager"> 308 <component name="TimeTrackingManager">
365 - <option name="totallyTimeSpent" value="575651000" /> 309 + <option name="totallyTimeSpent" value="575781000" />
366 </component> 310 </component>
367 <component name="ToolWindowManager"> 311 <component name="ToolWindowManager">
368 - <frame x="6" y="76" width="1618" height="1096" extended-state="1" /> 312 + <frame x="108" y="79" width="1618" height="1096" extended-state="1" />
369 <editor active="true" /> 313 <editor active="true" />
370 <layout> 314 <layout>
371 <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19640565" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 315 <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19640565" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
@@ -797,29 +741,10 @@ @@ -797,29 +741,10 @@
797 </state> 741 </state>
798 </provider> 742 </provider>
799 </entry> 743 </entry>
800 - <entry file="file://$PROJECT_DIR$/api/index/controller/OrderController.php">  
801 - <provider selected="true" editor-type-id="text-editor">  
802 - <state relative-caret-position="609">  
803 - <caret line="178" column="0" lean-forward="true" selection-start-line="178" selection-start-column="0" selection-end-line="178" selection-end-column="0" />  
804 - <folding>  
805 - <element signature="e#336#608#0#PHP" expanded="false" />  
806 - <element signature="e#614#976#0#PHP" expanded="false" />  
807 - <element signature="e#981#2020#0#PHP" expanded="false" />  
808 - <element signature="e#2026#2263#0#PHP" expanded="false" />  
809 - <element signature="e#2268#3049#0#PHP" expanded="false" />  
810 - <element signature="e#3055#3364#0#PHP" expanded="false" />  
811 - <element signature="e#3369#5259#0#PHP" expanded="false" />  
812 - <element signature="e#5267#5746#0#PHP" expanded="false" />  
813 - <element signature="e#5751#6318#0#PHP" expanded="false" />  
814 - <element signature="e#6324#6577#0#PHP" expanded="false" />  
815 - </folding>  
816 - </state>  
817 - </provider>  
818 - </entry>  
819 <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php"> 744 <entry file="file://$PROJECT_DIR$/api/index/controller/UserController.php">
820 <provider selected="true" editor-type-id="text-editor"> 745 <provider selected="true" editor-type-id="text-editor">
821 - <state relative-caret-position="500">  
822 - <caret line="1027" column="43" lean-forward="true" selection-start-line="1027" selection-start-column="43" selection-end-line="1027" selection-end-column="43" /> 746 + <state relative-caret-position="930">
  747 + <caret line="987" column="5" lean-forward="true" selection-start-line="987" selection-start-column="5" selection-end-line="987" selection-end-column="5" />
823 <folding> 748 <folding>
824 <element signature="e#366#791#0#PHP" expanded="false" /> 749 <element signature="e#366#791#0#PHP" expanded="false" />
825 <element signature="e#796#1608#0#PHP" expanded="false" /> 750 <element signature="e#796#1608#0#PHP" expanded="false" />
@@ -864,6 +789,7 @@ @@ -864,6 +789,7 @@
864 <element signature="e#30189#30613#0#PHP" expanded="false" /> 789 <element signature="e#30189#30613#0#PHP" expanded="false" />
865 <element signature="e#30618#31229#0#PHP" expanded="false" /> 790 <element signature="e#30618#31229#0#PHP" expanded="false" />
866 <element signature="e#31235#31731#0#PHP" expanded="false" /> 791 <element signature="e#31235#31731#0#PHP" expanded="false" />
  792 + <element signature="e#31736#35394#0#PHP" expanded="false" />
867 <element signature="e#32548#33675#0#PHP" expanded="false" /> 793 <element signature="e#32548#33675#0#PHP" expanded="false" />
868 <element signature="e#35400#35684#0#PHP" expanded="false" /> 794 <element signature="e#35400#35684#0#PHP" expanded="false" />
869 <element signature="e#35689#36325#0#PHP" expanded="false" /> 795 <element signature="e#35689#36325#0#PHP" expanded="false" />
@@ -890,5 +816,23 @@ @@ -890,5 +816,23 @@
890 </state> 816 </state>
891 </provider> 817 </provider>
892 </entry> 818 </entry>
  819 + <entry file="file://$PROJECT_DIR$/api/index/controller/OrderController.php">
  820 + <provider selected="true" editor-type-id="text-editor">
  821 + <state relative-caret-position="509">
  822 + <caret line="204" column="34" lean-forward="true" selection-start-line="204" selection-start-column="34" selection-end-line="204" selection-end-column="34" />
  823 + <folding>
  824 + <element signature="e#336#608#0#PHP" expanded="false" />
  825 + <element signature="e#614#976#0#PHP" expanded="false" />
  826 + <element signature="e#981#2020#0#PHP" expanded="false" />
  827 + <element signature="e#2026#2263#0#PHP" expanded="false" />
  828 + <element signature="e#2268#3049#0#PHP" expanded="false" />
  829 + <element signature="e#3055#3364#0#PHP" expanded="false" />
  830 + <element signature="e#3369#5259#0#PHP" expanded="false" />
  831 + <element signature="e#5267#5746#0#PHP" expanded="false" />
  832 + <element signature="e#6355#6608#0#PHP" expanded="false" />
  833 + </folding>
  834 + </state>
  835 + </provider>
  836 + </entry>
893 </component> 837 </component>
894 </project> 838 </project>
@@ -203,6 +203,7 @@ class OrderController extends RestBaseController @@ -203,6 +203,7 @@ class OrderController extends RestBaseController
203 ->where('user_id',$user_id) 203 ->where('user_id',$user_id)
204 ->field('id,user_id,type,total,create_time') 204 ->field('id,user_id,type,total,create_time')
205 ->page($page,$pageNum) 205 ->page($page,$pageNum)
  206 + ->order('id desc')
206 ->select() 207 ->select()
207 ->toArray(); 208 ->toArray();
208 foreach ($list as &$v){ 209 foreach ($list as &$v){