|
|
@@ -1410,8 +1410,8 @@ class TPlusServerService extends Service
|
|
|
|
|
|
public function synItemRoad($data, $user){
|
|
|
if(empty($data['crt_time'][0]) || empty($data['crt_time'][1])) return [false, '同步时间不能为空'];
|
|
|
- $start_time = strtotime($data['crt_time'][0] . "-01");
|
|
|
- $end_time = strtotime(date('Y-m-t', strtotime($data['crt_time'][1] . '-01')) . ' 00:00:00');
|
|
|
+ $start_time = $data['crt_time'][0] / 1000;
|
|
|
+ $end_time = $data['crt_time'][0] / 1000;
|
|
|
list($bool, $bool_msg) = $this->isWithinMonths($start_time, $end_time);
|
|
|
if(! $bool) return [false, $bool_msg];
|
|
|
|