|
@@ -262,7 +262,7 @@ class Service
|
|
|
return [false,'操作频繁, 请在 ' . $ttl . '秒后重试'];
|
|
|
}
|
|
|
|
|
|
- //前端传来的时间段转换为时间戳
|
|
|
+ //前端传来的时间段 转换为时间戳
|
|
|
//精确到秒
|
|
|
function changeDateToTimeStampAboutRange($time_range){
|
|
|
if(empty($time_range[0]) || empty($time_range[1])) return [];
|
|
@@ -286,7 +286,7 @@ class Service
|
|
|
return $return;
|
|
|
}
|
|
|
|
|
|
- //前端传来的时间段转换为时间戳
|
|
|
+ //前端传来的时间段 转换为时间戳
|
|
|
//精确到日
|
|
|
function changeDateToNewDate($time_range){
|
|
|
if(empty($time_range[0]) || empty($time_range[1])) return [];
|
|
@@ -310,7 +310,7 @@ class Service
|
|
|
return $return;
|
|
|
}
|
|
|
|
|
|
- //前端传来的时间转为时间戳
|
|
|
+ //前端传来的时间 转为时间戳
|
|
|
//精确到分
|
|
|
function changeDateToDate($time){
|
|
|
if(empty($time)) return '';
|