作者 wangzhi

xiugai

... ... @@ -455,11 +455,13 @@ class Yuyue extends Api
$Params = $this->request->param();
$Params['start_time'] = date('Y-m-d H', strtotime($Params['start_time'])).':00';
$Params['end_time'] = date('Y-m-d H', strtotime($Params['end_time'])).':00';
$start_time = date('Y-m-d H', strtotime($Params['start_time'])).':30';
$end_time = date('Y-m-d H', strtotime($Params['end_time'])).':30';
$data = [
'user_id' => $UserID,
'base_id' => $Params['base_id'],
'start_time' => strtotime($Params['start_time']),
'end_time' => strtotime($Params['end_time']),
'start_time' => $start_time,
'end_time' => $end_time,
'con' => $Params['con'],
'createtime' => time()
];
... ... @@ -563,13 +565,14 @@ class Yuyue extends Api
$Params = $this->request->param();
$Params['start_time'] = date('Y-m-d H', strtotime($Params['start_time'])).':00';
$Params['end_time'] = date('Y-m-d H', strtotime($Params['end_time'])).':00';
$start_time = date('Y-m-d H', strtotime($Params['start_time'])).':30';
$end_time = date('Y-m-d H', strtotime($Params['end_time'])).':30';
$data = [
'user_id' => $UserID,
'base_id' => $Params['base_id'],
'start_time' => strtotime($Params['start_time']),
'end_time' => strtotime($Params['end_time']),
'start_time' => $start_time,
'end_time' => $end_time,
'con' => $Params['con'],
'kong' => $Params['kong'],
'createtime' => time()
];
/*新增开飞通知*/
... ...