作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -50,8 +50,8 @@ class AdminCostController extends AdminBaseController{ @@ -50,8 +50,8 @@ class AdminCostController extends AdminBaseController{
50 'update_time' => time() 50 'update_time' => time()
51 ]; 51 ];
52 $interval=[ 52 $interval=[
53 - 'start_time' => strtotime($param['start_time']),  
54 - 'end_time' => strtotime($param['end_time']), 53 + 'start_time' => $param['start_time'],
  54 + 'end_time' => $param['end_time'],
55 'price' => $param['price'], 55 'price' => $param['price'],
56 'update_time' => time() 56 'update_time' => time()
57 ]; 57 ];
@@ -115,7 +115,6 @@ class OrderController extends HomeBaseController{ @@ -115,7 +115,6 @@ class OrderController extends HomeBaseController{
115 dump(date('Y-m-d H:i:s',$start_time)); 115 dump(date('Y-m-d H:i:s',$start_time));
116 dump(date('Y-m-d H:i:s',$end_time)); 116 dump(date('Y-m-d H:i:s',$end_time));
117 117
118 - echo time();  
119 //不跨天处理方法 118 //不跨天处理方法
120 119
121 120