作者 654550265
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 <list default="true" id="03b59864-5835-4588-bfae-54004809f199" name="Default" comment="已评价无数据情况"> 4 <list default="true" id="03b59864-5835-4588-bfae-54004809f199" name="Default" comment="已评价无数据情况">
5 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> 5 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6 - <change beforePath="$PROJECT_DIR$/app/user/controller/YuyueController.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/user/controller/YuyueController.php" afterDir="false" /> 6 + <change beforePath="$PROJECT_DIR$/app/admin/controller/BookingController.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/BookingController.php" afterDir="false" />
7 </list> 7 </list>
8 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 8 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9 <option name="TRACKING_ENABLED" value="true" /> 9 <option name="TRACKING_ENABLED" value="true" />
@@ -86,11 +86,11 @@ @@ -86,11 +86,11 @@
86 </provider> 86 </provider>
87 </entry> 87 </entry>
88 </file> 88 </file>
89 - <file leaf-file-name="YuyueController.php" pinned="false" current-in-tab="true"> 89 + <file leaf-file-name="YuyueController.php" pinned="false" current-in-tab="false">
90 <entry file="file://$PROJECT_DIR$/app/user/controller/YuyueController.php"> 90 <entry file="file://$PROJECT_DIR$/app/user/controller/YuyueController.php">
91 <provider selected="true" editor-type-id="text-editor"> 91 <provider selected="true" editor-type-id="text-editor">
92 - <state relative-caret-position="615">  
93 - <caret line="402" column="36" lean-forward="true" selection-start-line="402" selection-start-column="36" selection-end-line="402" selection-end-column="36" /> 92 + <state relative-caret-position="1050">
  93 + <caret line="506" column="10" lean-forward="true" selection-start-line="506" selection-start-column="10" selection-end-line="506" selection-end-column="10" />
94 <folding> 94 <folding>
95 <element signature="e#911#990#0#PHP" /> 95 <element signature="e#911#990#0#PHP" />
96 <element signature="e#1015#1432#0#PHP" /> 96 <element signature="e#1015#1432#0#PHP" />
@@ -135,6 +135,7 @@ @@ -135,6 +135,7 @@
135 <element signature="e#13082#14019#0#PHP" /> 135 <element signature="e#13082#14019#0#PHP" />
136 <element signature="e#13390#14001#1#PHP" /> 136 <element signature="e#13390#14001#1#PHP" />
137 <element signature="e#14209#14295#0#PHP" /> 137 <element signature="e#14209#14295#0#PHP" />
  138 + <element signature="e#14347#16822#0#PHP" />
138 <element signature="e#14492#14586#0#PHP" /> 139 <element signature="e#14492#14586#0#PHP" />
139 <element signature="e#14605#14647#0#PHP" /> 140 <element signature="e#14605#14647#0#PHP" />
140 <element signature="e#14605#14697#0#PHP" /> 141 <element signature="e#14605#14697#0#PHP" />
@@ -185,11 +186,6 @@ @@ -185,11 +186,6 @@
185 <element signature="e#18797#19190#0#PHP" /> 186 <element signature="e#18797#19190#0#PHP" />
186 <element signature="e#19256#19329#0#PHP" /> 187 <element signature="e#19256#19329#0#PHP" />
187 <element signature="e#19720#21064#0#PHP" /> 188 <element signature="e#19720#21064#0#PHP" />
188 - <element signature="e#19812#19892#0#PHP" />  
189 - <element signature="e#19966#21057#0#PHP" />  
190 - <element signature="e#20131#21047#0#PHP" />  
191 - <element signature="e#20236#21033#0#PHP" />  
192 - <element signature="e#20939#21033#0#PHP" />  
193 <element signature="e#21081#21555#0#PHP" /> 189 <element signature="e#21081#21555#0#PHP" />
194 <element signature="e#21169#21547#0#PHP" /> 190 <element signature="e#21169#21547#0#PHP" />
195 <element signature="e#21253#21547#0#PHP" /> 191 <element signature="e#21253#21547#0#PHP" />
@@ -205,19 +201,19 @@ @@ -205,19 +201,19 @@
205 </provider> 201 </provider>
206 </entry> 202 </entry>
207 </file> 203 </file>
208 - <file leaf-file-name="CommentController.php" pinned="false" current-in-tab="false">  
209 - <entry file="file://$PROJECT_DIR$/app/user/controller/CommentController.php"> 204 + <file leaf-file-name="BookingController.php" pinned="false" current-in-tab="true">
  205 + <entry file="file://$PROJECT_DIR$/app/admin/controller/BookingController.php">
210 <provider selected="true" editor-type-id="text-editor"> 206 <provider selected="true" editor-type-id="text-editor">
211 - <state relative-caret-position="-1701" /> 207 + <state relative-caret-position="678">
  208 + <caret line="139" column="46" lean-forward="true" selection-start-line="139" selection-start-column="46" selection-end-line="139" selection-end-column="46" />
  209 + </state>
212 </provider> 210 </provider>
213 </entry> 211 </entry>
214 </file> 212 </file>
215 - <file leaf-file-name="WXBizDataCrypt.php" pinned="false" current-in-tab="false">  
216 - <entry file="file://$PROJECT_DIR$/simplewind/extend/wxapp/aes/WXBizDataCrypt.php"> 213 + <file leaf-file-name="CommentController.php" pinned="false" current-in-tab="false">
  214 + <entry file="file://$PROJECT_DIR$/app/user/controller/CommentController.php">
217 <provider selected="true" editor-type-id="text-editor"> 215 <provider selected="true" editor-type-id="text-editor">
218 - <state relative-caret-position="714">  
219 - <caret line="34" column="20" selection-start-line="34" selection-start-column="20" selection-end-line="34" selection-end-column="20" />  
220 - </state> 216 + <state relative-caret-position="-1701" />
221 </provider> 217 </provider>
222 </entry> 218 </entry>
223 </file> 219 </file>
@@ -266,6 +262,7 @@ @@ -266,6 +262,7 @@
266 <option value="$PROJECT_DIR$/app/portal/controller/ToolController.php" /> 262 <option value="$PROJECT_DIR$/app/portal/controller/ToolController.php" />
267 <option value="$PROJECT_DIR$/app/portal/controller/IndexController.php" /> 263 <option value="$PROJECT_DIR$/app/portal/controller/IndexController.php" />
268 <option value="$PROJECT_DIR$/app/user/controller/YuyueController.php" /> 264 <option value="$PROJECT_DIR$/app/user/controller/YuyueController.php" />
  265 + <option value="$PROJECT_DIR$/app/admin/controller/BookingController.php" />
269 </list> 266 </list>
270 </option> 267 </option>
271 </component> 268 </component>
@@ -325,26 +322,13 @@ @@ -325,26 +322,13 @@
325 <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" /> 322 <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" />
326 <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" /> 323 <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" />
327 <item name="app" type="462c0819:PsiDirectoryNode" /> 324 <item name="app" type="462c0819:PsiDirectoryNode" />
328 - <item name="portal" type="462c0819:PsiDirectoryNode" />  
329 - </path>  
330 - <path>  
331 - <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" />  
332 - <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" />  
333 - <item name="app" type="462c0819:PsiDirectoryNode" />  
334 - <item name="portal" type="462c0819:PsiDirectoryNode" />  
335 - <item name="controller" type="462c0819:PsiDirectoryNode" />  
336 - </path>  
337 - <path>  
338 - <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" />  
339 - <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" />  
340 - <item name="app" type="462c0819:PsiDirectoryNode" />  
341 - <item name="user" type="462c0819:PsiDirectoryNode" /> 325 + <item name="admin" type="462c0819:PsiDirectoryNode" />
342 </path> 326 </path>
343 <path> 327 <path>
344 <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" /> 328 <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" />
345 <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" /> 329 <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" />
346 <item name="app" type="462c0819:PsiDirectoryNode" /> 330 <item name="app" type="462c0819:PsiDirectoryNode" />
347 - <item name="user" type="462c0819:PsiDirectoryNode" /> 331 + <item name="admin" type="462c0819:PsiDirectoryNode" />
348 <item name="controller" type="462c0819:PsiDirectoryNode" /> 332 <item name="controller" type="462c0819:PsiDirectoryNode" />
349 </path> 333 </path>
350 <path> 334 <path>
@@ -397,7 +381,7 @@ @@ -397,7 +381,7 @@
397 <workItem from="1531653353141" duration="7654000" /> 381 <workItem from="1531653353141" duration="7654000" />
398 <workItem from="1531747533208" duration="2488000" /> 382 <workItem from="1531747533208" duration="2488000" />
399 <workItem from="1531794895610" duration="20000" /> 383 <workItem from="1531794895610" duration="20000" />
400 - <workItem from="1535458114609" duration="2307000" /> 384 + <workItem from="1535458114609" duration="4019000" />
401 </task> 385 </task>
402 <task id="LOCAL-00001" summary="修复预约后不能再预约的问题"> 386 <task id="LOCAL-00001" summary="修复预约后不能再预约的问题">
403 <created>1535458170068</created> 387 <created>1535458170068</created>
@@ -420,11 +404,39 @@ @@ -420,11 +404,39 @@
420 <option name="project" value="LOCAL" /> 404 <option name="project" value="LOCAL" />
421 <updated>1535459632689</updated> 405 <updated>1535459632689</updated>
422 </task> 406 </task>
423 - <option name="localTasksCounter" value="4" /> 407 + <task id="LOCAL-00004" summary="已评价无数据情况">
  408 + <created>1535460444090</created>
  409 + <option name="number" value="00004" />
  410 + <option name="presentableId" value="LOCAL-00004" />
  411 + <option name="project" value="LOCAL" />
  412 + <updated>1535460444090</updated>
  413 + </task>
  414 + <task id="LOCAL-00005" summary="已评价无数据情况">
  415 + <created>1535461932931</created>
  416 + <option name="number" value="00005" />
  417 + <option name="presentableId" value="LOCAL-00005" />
  418 + <option name="project" value="LOCAL" />
  419 + <updated>1535461932931</updated>
  420 + </task>
  421 + <task id="LOCAL-00006" summary="已评价无数据情况">
  422 + <created>1535462141136</created>
  423 + <option name="number" value="00006" />
  424 + <option name="presentableId" value="LOCAL-00006" />
  425 + <option name="project" value="LOCAL" />
  426 + <updated>1535462141136</updated>
  427 + </task>
  428 + <task id="LOCAL-00007" summary="已评价无数据情况">
  429 + <created>1535462428440</created>
  430 + <option name="number" value="00007" />
  431 + <option name="presentableId" value="LOCAL-00007" />
  432 + <option name="project" value="LOCAL" />
  433 + <updated>1535462428440</updated>
  434 + </task>
  435 + <option name="localTasksCounter" value="8" />
424 <servers /> 436 <servers />
425 </component> 437 </component>
426 <component name="TimeTrackingManager"> 438 <component name="TimeTrackingManager">
427 - <option name="totallyTimeSpent" value="18843000" /> 439 + <option name="totallyTimeSpent" value="20555000" />
428 </component> 440 </component>
429 <component name="ToolWindowManager"> 441 <component name="ToolWindowManager">
430 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> 442 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
@@ -462,10 +474,10 @@ @@ -462,10 +474,10 @@
462 <MESSAGE value="修复预约后不能再预约的问题" /> 474 <MESSAGE value="修复预约后不能再预约的问题" />
463 <MESSAGE value="修复教练的时间段可以重复预约" /> 475 <MESSAGE value="修复教练的时间段可以重复预约" />
464 <MESSAGE value="已经成功报名的用户,不能再次报名 放在确认订单页面" /> 476 <MESSAGE value="已经成功报名的用户,不能再次报名 放在确认订单页面" />
465 - <option name="LAST_COMMIT_MESSAGE" value="已经成功报名的用户,不能再次报名 放在确认订单页面" /> 477 + <MESSAGE value="已评价无数据情况" />
  478 + <option name="LAST_COMMIT_MESSAGE" value="已评价无数据情况" />
466 </component> 479 </component>
467 <component name="editorHistoryManager"> 480 <component name="editorHistoryManager">
468 - <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/3.html" />  
469 <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/2.html" /> 481 <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/2.html" />
470 <entry file="file://$PROJECT_DIR$/public/static/js/noty/noty.js"> 482 <entry file="file://$PROJECT_DIR$/public/static/js/noty/noty.js">
471 <provider selected="true" editor-type-id="text-editor"> 483 <provider selected="true" editor-type-id="text-editor">
@@ -726,8 +738,8 @@ @@ -726,8 +738,8 @@
726 </entry> 738 </entry>
727 <entry file="file://$PROJECT_DIR$/app/user/controller/YuyueController.php"> 739 <entry file="file://$PROJECT_DIR$/app/user/controller/YuyueController.php">
728 <provider selected="true" editor-type-id="text-editor"> 740 <provider selected="true" editor-type-id="text-editor">
729 - <state relative-caret-position="615">  
730 - <caret line="402" column="36" lean-forward="true" selection-start-line="402" selection-start-column="36" selection-end-line="402" selection-end-column="36" /> 741 + <state relative-caret-position="1050">
  742 + <caret line="506" column="10" lean-forward="true" selection-start-line="506" selection-start-column="10" selection-end-line="506" selection-end-column="10" />
731 <folding> 743 <folding>
732 <element signature="e#911#990#0#PHP" /> 744 <element signature="e#911#990#0#PHP" />
733 <element signature="e#1015#1432#0#PHP" /> 745 <element signature="e#1015#1432#0#PHP" />
@@ -772,6 +784,7 @@ @@ -772,6 +784,7 @@
772 <element signature="e#13082#14019#0#PHP" /> 784 <element signature="e#13082#14019#0#PHP" />
773 <element signature="e#13390#14001#1#PHP" /> 785 <element signature="e#13390#14001#1#PHP" />
774 <element signature="e#14209#14295#0#PHP" /> 786 <element signature="e#14209#14295#0#PHP" />
  787 + <element signature="e#14347#16822#0#PHP" />
775 <element signature="e#14492#14586#0#PHP" /> 788 <element signature="e#14492#14586#0#PHP" />
776 <element signature="e#14605#14647#0#PHP" /> 789 <element signature="e#14605#14647#0#PHP" />
777 <element signature="e#14605#14697#0#PHP" /> 790 <element signature="e#14605#14697#0#PHP" />
@@ -822,11 +835,6 @@ @@ -822,11 +835,6 @@
822 <element signature="e#18797#19190#0#PHP" /> 835 <element signature="e#18797#19190#0#PHP" />
823 <element signature="e#19256#19329#0#PHP" /> 836 <element signature="e#19256#19329#0#PHP" />
824 <element signature="e#19720#21064#0#PHP" /> 837 <element signature="e#19720#21064#0#PHP" />
825 - <element signature="e#19812#19892#0#PHP" />  
826 - <element signature="e#19966#21057#0#PHP" />  
827 - <element signature="e#20131#21047#0#PHP" />  
828 - <element signature="e#20236#21033#0#PHP" />  
829 - <element signature="e#20939#21033#0#PHP" />  
830 <element signature="e#21081#21555#0#PHP" /> 838 <element signature="e#21081#21555#0#PHP" />
831 <element signature="e#21169#21547#0#PHP" /> 839 <element signature="e#21169#21547#0#PHP" />
832 <element signature="e#21253#21547#0#PHP" /> 840 <element signature="e#21253#21547#0#PHP" />
@@ -841,5 +849,12 @@ @@ -841,5 +849,12 @@
841 </state> 849 </state>
842 </provider> 850 </provider>
843 </entry> 851 </entry>
  852 + <entry file="file://$PROJECT_DIR$/app/admin/controller/BookingController.php">
  853 + <provider selected="true" editor-type-id="text-editor">
  854 + <state relative-caret-position="678">
  855 + <caret line="139" column="46" lean-forward="true" selection-start-line="139" selection-start-column="46" selection-end-line="139" selection-end-column="46" />
  856 + </state>
  857 + </provider>
  858 + </entry>
844 </component> 859 </component>
845 </project> 860 </project>
@@ -128,16 +128,16 @@ class BookingController extends AdminBaseController @@ -128,16 +128,16 @@ class BookingController extends AdminBaseController
128 } 128 }
129 129
130 $arr1 = []; 130 $arr1 = [];
131 - for($i = 0;$i<count($res);$i++){  
132 - $begin = $res[$i]["yuyue_begin"];  
133 - $end = $res[$i]["yuyue_end"]; 131 + for($i = 0;$i<count($res1);$i++){
  132 + $begin = $res1[$i]["yuyue_begin"];
  133 + $end = $res1[$i]["yuyue_end"];
134 for($j= $begin;$j<$end;$j++){ 134 for($j= $begin;$j<$end;$j++){
135 $arr1[]=$j; 135 $arr1[]=$j;
136 } 136 }
137 } 137 }
138 $ok_arr1 = []; 138 $ok_arr1 = [];
139 - for($q = 0;$q< count($all_arr);$q++){  
140 - if(in_array($all_arr[$q],$arr)){ 139 + for($q = 0;$q< count($all_arr1);$q++){
  140 + if(in_array($all_arr1[$q],$arr1)){
141 $ok_arr1[] = "no"; 141 $ok_arr1[] = "no";
142 }else{ 142 }else{
143 $ok_arr1[] = "yes"; 143 $ok_arr1[] = "yes";