|
@@ -17,6 +17,7 @@ use think\Db; |
|
@@ -17,6 +17,7 @@ use think\Db; |
17
|
|
17
|
|
18
|
class ToolController extends HomeBaseController
|
18
|
class ToolController extends HomeBaseController
|
19
|
{
|
19
|
{
|
|
|
20
|
+
|
20
|
public function isMixTime($begintime1,$endtime1,$begintime2,$endtime2)
|
21
|
public function isMixTime($begintime1,$endtime1,$begintime2,$endtime2)
|
21
|
{
|
22
|
{
|
22
|
$status = $begintime2 - $begintime1;
|
23
|
$status = $begintime2 - $begintime1;
|
|
@@ -32,6 +33,7 @@ class ToolController extends HomeBaseController |
|
@@ -32,6 +33,7 @@ class ToolController extends HomeBaseController |
32
|
if($status2>=0){
|
33
|
if($status2>=0){
|
33
|
return false;
|
34
|
return false;
|
34
|
}else{
|
35
|
}else{
|
|
|
36
|
+
|
35
|
return true;
|
37
|
return true;
|
36
|
}
|
38
|
}
|
37
|
}
|
39
|
}
|