...
|
...
|
@@ -168,9 +168,9 @@ class AdminCommonController extends AdminBaseController |
|
|
//计算运行天数
|
|
|
public function runTime($time){
|
|
|
$currentTime = time();
|
|
|
$cnt=$currentTime-$time;
|
|
|
$cnt = $currentTime-strtotime(date('Y-m-d',$time));
|
|
|
$days = floor($cnt/(3600*24))+1;//算出天数
|
|
|
return $days+1;
|
|
|
return $days;
|
|
|
}
|
|
|
|
|
|
//按照条件查询次数
|
...
|
...
|
|